Merge pull request #31400 from nextcloud/backport/31390/stable22

[stable22] Censor more configs
This commit is contained in:
blizzz 2022-03-02 17:39:44 +01:00 committed by GitHub
commit 55a61baaa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -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$/',

View file

@ -53,6 +53,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,
],