Merge pull request from GHSA-wrpw-pmr8-qgj7

Remove passwords from API (2.11)
This commit is contained in:
Julian Brost 2021-07-15 11:12:29 +02:00 committed by GitHub
commit 8773251688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ class IdoMysqlConnection : DbConnection
[config] String user {
default {{{ return "icinga"; }}}
};
[config] String password {
[config, no_user_view, no_user_modify] String password {
default {{{ return "icinga"; }}}
};
[config] String database {

View File

@ -20,7 +20,7 @@ class IdoPgsqlConnection : DbConnection
[config] String user {
default {{{ return "icinga"; }}}
};
[config] String password {
[config, no_user_view, no_user_modify] String password {
default {{{ return "icinga"; }}}
};
[config] String database {

View File

@ -24,7 +24,7 @@ class ElasticsearchWriter : ConfigObject
default {{{ return false; }}}
};
[config] String username;
[config] String password;
[config, no_user_view, no_user_modify] String password;
[config] bool enable_tls {
default {{{ return false; }}}