Merge pull request #35096 from nextcloud/bugfix/noid/mark-more-values-as-sensitive

Mark more config values as sensitive
This commit is contained in:
Simon L 2022-11-14 09:45:19 +01:00 committed by GitHub
commit 98543b160c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -46,6 +46,7 @@ class AppConfig implements IAppConfig {
/** @var array[] */
protected $sensitiveValues = [
'circles' => [
'/^key_pairs$/',
'/^local_gskey$/',
],
'external' => [
@ -132,6 +133,9 @@ class AppConfig implements IAppConfig {
'user_ldap' => [
'/^(s..)?ldap_agent_password$/',
],
'user_saml' => [
'/^idp-x509cert$/',
],
];
/** @var Connection */

View file

@ -72,6 +72,10 @@ class SystemConfig {
'host' => true,
'password' => true,
],
'redis.cluster' => [
'seeds' => true,
'password' => true,
],
'objectstore' => [
'arguments' => [
// Legacy Swift (https://github.com/nextcloud/server/pull/17696#discussion_r341302207)