Skip to content

Mask passwords from connection strings in logging #1278

Open
@zabbal

Description

@zabbal

Is your feature request related to a problem? Please describe.
If smth goes wrong, library would log connection string which contains password which might result in credentials leakage through logs.

Describe the solution you'd like
Mask the password with **** while logging and make it default behavior.

Describe alternatives you've considered
Manually strip and audit logs - or use some alternative tool.

Additional context
The error message itself gives enough context for troubleshooting, leaking password doesn't help anyone but attacker looking through logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions