More log redaction

This commit is contained in:
Deluan 2023-03-21 11:16:00 -04:00
parent 183b462fed
commit 3a6d2dcd49
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,11 @@ var redacted = &Hook{
"(Secret:\")[\\w]*",
"(Spotify.*ID:\")[\\w]*",
"(PasswordEncryptionKey:[\\s]*\")[^\"]*",
"(ReverseProxyUserHeader:[\\s]*\")[^\"]*",
"(ReverseProxyWhitelist:[\\s]*\")[^\"]*",
"(MetricsPath:[\\s]*\")[^\"]*",
"(DevAutoCreateAdminPassword:[\\s]*\")[^\"]*",
"(DevAutoLoginUsername:[\\s]*\")[^\"]*",
// UI appConfig
"(subsonicToken:)[\\w]+(\\s)",