Add auth to log protection (#1501)

This commit is contained in:
Mitchell Syer
2025-07-06 14:01:37 -04:00
committed by GitHub
parent 6234e897a8
commit 0ef6d74514
@@ -214,7 +214,7 @@ fun applicationSetup() {
.root()
.render(ConfigRenderOptions.concise().setFormatted(true))
.replace(
Regex("(\"basicAuth(?:Username|Password)\"\\s:\\s)(?!\"\")\".*\""),
Regex("(\"(?:basicAuth|auth)(?:Username|Password)\"\\s:\\s)(?!\"\")\".*\""),
"$1\"******\"",
)
}