Skip to content

Commit

Permalink
Censor more configs
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Mar 1, 2022
1 parent 3026d57 commit 8c68215
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/private/AppConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,25 @@ 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$/',
Expand Down
7 changes: 7 additions & 0 deletions lib/private/SystemConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
Expand Down

0 comments on commit 8c68215

Please sign in to comment.