diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-03-02 11:21:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 11:21:40 +0100 |
commit | 5bc2a6a37e4832c46ac94b23dd15c7e45bbefe37 (patch) | |
tree | c81d07af3c501fab33c56d215b9e7985d887d1ab | |
parent | 5ac1995b0a8ac2f3cc79d1d7ca1ba47eb11904a1 (diff) | |
parent | 1e27aed4dcf62b6c4790fb2c296520198c1cfb77 (diff) | |
download | nextcloud-server-5bc2a6a37e4832c46ac94b23dd15c7e45bbefe37.tar.gz nextcloud-server-5bc2a6a37e4832c46ac94b23dd15c7e45bbefe37.zip |
Merge pull request #31390 from nextcloud/bugfix/noid/more-censor
Censor more configs
-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, ], |