Skip to content

Commit

Permalink
Update db test secrets
Browse files Browse the repository at this point in the history
This commit will allow the test credentials for the postgress and mysql databases to pass prodsec scanning

Signed-off-by: tonyxrmdavidson <[email protected]>
  • Loading branch information
tonyxrmdavidson committed Jul 1, 2024
1 parent 5c9f839 commit a036779
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[allowlist]
description = "Global Allowlist"

# Ignore based on any subset of the line
regexes = [

# Ignore specific database password
'''database-password\s*:\s*"The BlurstOfTimes"''',

# Ignore specific database user
'''database-user\s*:\s*"mlmduser"'''
]
4 changes: 2 additions & 2 deletions config/samples/mysql/mysql-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ items:
name: model-registry-db
stringData:
database-name: "model_registry"
database-password: "TheBlurstOfTimes"
database-user: "mlmduser"
database-password: "TheBlurstOfTimes" # notsecret
database-user: "mlmduser" # notsecret
kind: List
metadata: {}
4 changes: 2 additions & 2 deletions config/samples/postgres/postgres-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ items:
name: model-registry-db
stringData:
database-name: "model-registry"
database-password: "TheBlurstOfTimes"
database-user: "mlmduser"
database-password: "TheBlurstOfTimes" # notsecret
database-user: "mlmduser" # notsecret
kind: List
metadata: {}

0 comments on commit a036779

Please sign in to comment.