You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When failed to connect db, the db password will be exposed in the log file, it's a secure issue.
Error logs:
2019/12/03 07:37:39 failed-to-connection-to-database, dburl:postgres://xxx:xxx@autoscalerpostgres.service.cf.internal:5432/autoscaler?sslmode=verify-full&sslrootcert=/var/vcap/jobs/scalingengine/config/certs/scalingengine_db/ca.crt, err:pq: password authentication failed for user "xxx"
failed to connect to database:
Checking the code and found the below line will print the DB url with password:
When failed to connect db, the db password will be exposed in the log file, it's a secure issue.
Error logs:
Checking the code and found the below line will print the DB url with password:
app-autoscaler-release/src/changeloglockcleaner/sqldb/changelogdb.go
Line 28 in 37f28f8
The text was updated successfully, but these errors were encountered: