summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-03-01 20:59:27 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2022-03-02 10:25:37 +0000
commit84f8f563feedd6f7f80d8a8d7268ba33394caf42 (patch)
treefbc23833475d9bf22f93209b23f349a3d9afb5fc /lib
parentd49d5054399a9e96c230fb82a9d54ae1a9a60aba (diff)
downloadnextcloud-server-84f8f563feedd6f7f80d8a8d7268ba33394caf42.tar.gz
nextcloud-server-84f8f563feedd6f7f80d8a8d7268ba33394caf42.zip
Censor more configs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/AppConfig.php17
-rw-r--r--lib/private/SystemConfig.php7
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 c435b9180b9..187779c25c9 100644
--- a/lib/private/SystemConfig.php
+++ b/lib/private/SystemConfig.php
@@ -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,
],