Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Censor more configs
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Mar 2, 2022
commit 84f8f563feedd6f7f80d8a8d7268ba33394caf42
17 changes: 17 additions & 0 deletions lib/private/AppConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -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$/',
Expand Down
7 changes: 7 additions & 0 deletions lib/private/SystemConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
Expand Down