mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 01:52:08 -04:00
Merge pull request #31400 from nextcloud/backport/31390/stable22
[stable22] Censor more configs
This commit is contained in:
commit
55a61baaa1
2 changed files with 24 additions and 0 deletions
|
|
@ -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$/',
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue