From 306e03b08044897b8de2fe7d5441d49cc0a98376 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 25 Apr 2025 08:43:36 +0200 Subject: [PATCH] fix(config): Censor more app configs in system report Signed-off-by: Joas Schilling --- lib/private/AppConfig.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 143c31618d716..fbf921778c480 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -1469,6 +1469,9 @@ private function getSensitiveKeys(string $app): array { 'globalsiteselector' => [ '/^gss\.jwt\.key$/', ], + 'gpgmailer' => [ + '/^GpgServerKey$/', + ], 'integration_discourse' => [ '/^private_key$/', '/^public_key$/', @@ -1523,6 +1526,9 @@ private function getSensitiveKeys(string $app): array { '/^client_secret$/', '/^oauth_instance_url$/', ], + 'maps' => [ + '/^mapboxAPIKEY$/', + ], 'notify_push' => [ '/^cookie$/', ], @@ -1560,12 +1566,12 @@ private function getSensitiveKeys(string $app): array { '/^slogan$/', '/^url$/', ], - 'user_ldap' => [ - '/^(s..)?ldap_agent_password$/', - ], 'twofactor_gateway' => [ '/^.*token$/', ], + 'user_ldap' => [ + '/^(s..)?ldap_agent_password$/', + ], 'user_saml' => [ '/^idp-x509cert$/', ],