Skip to content

Commit

Permalink
Merge pull request #581 from sipcapture/alert-autofix-25
Browse files Browse the repository at this point in the history
Fix code scanning alert no. 25: Clear-text logging of sensitive information
  • Loading branch information
adubovikov authored Jan 7, 2025
2 parents a3e9363 + 88f06dc commit d7e8fd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2080,7 +2080,9 @@ func ShowCurrentConfigToConsole() {

heputils.Colorize(heputils.ColorRed, "\r\nLDAP:\r\n")

spew.Dump(ldapClient)
sanitizedLdapClient := ldapClient
sanitizedLdapClient.BindPassword = "REDACTED"
spew.Dump(sanitizedLdapClient)

}

Expand Down

0 comments on commit d7e8fd6

Please sign in to comment.