Skip to content

fix: redact database credentials in startup logs#1535

Open
fabidick22 wants to merge 1 commit intokagent-dev:mainfrom
fabidick22:fix/redact-database-credentials-from-logs
Open

fix: redact database credentials in startup logs#1535
fabidick22 wants to merge 1 commit intokagent-dev:mainfrom
fabidick22:fix/redact-database-credentials-from-logs

Conversation

@fabidick22
Copy link
Copy Markdown

Summary

  • The controller logs the full Config struct at startup, exposing Database.Url with plaintext credentials
  • Implement logr.Marshaler on Config to redact the password via url.Redacted() before logging

Copilot AI review requested due to automatic review settings March 24, 2026 19:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants