diff options
author | Joas Schilling <coding@schilljs.com> | 2022-03-01 20:59:27 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-03-01 21:08:16 +0100 |
commit | 1e27aed4dcf62b6c4790fb2c296520198c1cfb77 (patch) | |
tree | 80548de167c2b3e2579ef2549702a2b813aaea17 /lib | |
parent | 3026d57ccf1872b8f30ebf9ee590223caa3c0095 (diff) | |
download | nextcloud-server-1e27aed4dcf62b6c4790fb2c296520198c1cfb77.tar.gz nextcloud-server-1e27aed4dcf62b6c4790fb2c296520198c1cfb77.zip |
Censor more configs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/AppConfig.php | 17 | ||||
-rw-r--r-- | lib/private/SystemConfig.php | 7 |
2 files changed, 24 insertions, 0 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index e2d6d49a845..fc7c770fe08 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -45,17 +45,34 @@ class AppConfig implements IAppConfig { /** @var array[] */ protected $sensitiveValues = [ + 'circles' => [ + '/^local_gskey$/', + ], 'external' => [ '/^sites$/', ], + 'integration_discourse' => [ + '/^private_key$/', + '/^public_key$/', + ], + 'notify_push' => [ + '/^cookie$/', + ], 'spreed' => [ '/^bridge_bot_password/', '/^signaling_servers$/', '/^signaling_ticket_secret$/', + '/^sip_bridge_dialin_info$/', + '/^sip_bridge_shared_secret$/', '/^stun_servers$/', '/^turn_servers$/', '/^turn_server_secret$/', ], + 'support' => [ + '/^last_response$/', + '/^potential_subscription_key$/', + '/^subscription_key$/', + ], 'theming' => [ '/^imprintUrl$/', '/^privacyUrl$/', diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php index 012c959ce85..0bc6154fbc4 100644 --- a/lib/private/SystemConfig.php +++ b/lib/private/SystemConfig.php @@ -57,6 +57,13 @@ class SystemConfig { 'updater.secret' => true, 'trusted_proxies' => true, 'proxyuserpwd' => true, + 'sentry.dsn' => true, + 'sentry.public-dsn' => true, + 'zammad.download.secret' => true, + 'zammad.portal.secret' => true, + 'zammad.secret' => true, + 'github.client_id' => true, + 'github.client_secret' => true, 'log.condition' => [ 'shared_secret' => true, ], |