]> source.dussan.org Git - nextcloud-server.git/commitdiff
Censor more configs 31390/head
authorJoas Schilling <coding@schilljs.com>
Tue, 1 Mar 2022 19:59:27 +0000 (20:59 +0100)
committerJoas Schilling <coding@schilljs.com>
Tue, 1 Mar 2022 20:08:16 +0000 (21:08 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/AppConfig.php
lib/private/SystemConfig.php

index e2d6d49a8457cca61aff096ca9ccb062e781efc9..fc7c770fe0807d58ef8df737a7cfba75e875c1a8 100644 (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$/',
index 012c959ce85277061fc655ea85cc1db52703033f..0bc6154fbc4a41f919338ecad8c0592c4a3b16c1 100644 (file)
@@ -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,
                ],