More log redaction

This commit is contained in:
Deluan 2023-03-21 11:16:00 -04:00 committed by Joe Stump
parent e5c5dc31ac
commit 656090d7ab
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

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)",