Skip to content

Commit 55a61ba

Browse files
authored
Merge pull request #31400 from nextcloud/backport/31390/stable22
[stable22] Censor more configs
2 parents 5b0bbb5 + 8c875e7 commit 55a61ba

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

lib/private/AppConfig.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,34 @@ class AppConfig implements IAppConfig {
4545

4646
/** @var array[] */
4747
protected $sensitiveValues = [
48+
'circles' => [
49+
'/^local_gskey$/',
50+
],
4851
'external' => [
4952
'/^sites$/',
5053
],
54+
'integration_discourse' => [
55+
'/^private_key$/',
56+
'/^public_key$/',
57+
],
58+
'notify_push' => [
59+
'/^cookie$/',
60+
],
5161
'spreed' => [
5262
'/^bridge_bot_password/',
5363
'/^signaling_servers$/',
5464
'/^signaling_ticket_secret$/',
65+
'/^sip_bridge_dialin_info$/',
66+
'/^sip_bridge_shared_secret$/',
5567
'/^stun_servers$/',
5668
'/^turn_servers$/',
5769
'/^turn_server_secret$/',
5870
],
71+
'support' => [
72+
'/^last_response$/',
73+
'/^potential_subscription_key$/',
74+
'/^subscription_key$/',
75+
],
5976
'theming' => [
6077
'/^imprintUrl$/',
6178
'/^privacyUrl$/',

lib/private/SystemConfig.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ class SystemConfig {
5353
'updater.secret' => true,
5454
'trusted_proxies' => true,
5555
'proxyuserpwd' => true,
56+
'sentry.dsn' => true,
57+
'sentry.public-dsn' => true,
58+
'zammad.download.secret' => true,
59+
'zammad.portal.secret' => true,
60+
'zammad.secret' => true,
61+
'github.client_id' => true,
62+
'github.client_secret' => true,
5663
'log.condition' => [
5764
'shared_secret' => true,
5865
],

0 commit comments

Comments
 (0)