Commit 5ba6bab2 by paulroche Committed by Torkel Ödegaard

redact provider_config (#5915)

parent 5b9366a9
...@@ -190,7 +190,7 @@ func ToAbsUrl(relativeUrl string) string { ...@@ -190,7 +190,7 @@ func ToAbsUrl(relativeUrl string) string {
func shouldRedactKey(s string) bool { func shouldRedactKey(s string) bool {
uppercased := strings.ToUpper(s) uppercased := strings.ToUpper(s)
return strings.Contains(uppercased, "PASSWORD") || strings.Contains(uppercased, "SECRET") return strings.Contains(uppercased, "PASSWORD") || strings.Contains(uppercased, "SECRET") || strings.Contains(uppercased, "PROVIDER_CONFIG")
} }
func shouldRedactURLKey(s string) bool { func shouldRedactURLKey(s string) bool {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment