mirror of https://github.com/Icinga/icinga2.git
Merge pull request from GHSA-wrpw-pmr8-qgj7
Remove passwords from API
This commit is contained in:
commit
f17b97fd7e
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -18,7 +18,7 @@ class IcingaDB : ConfigObject
|
|||
default {{{ return 6380; }}}
|
||||
};
|
||||
[config] String path;
|
||||
[config] String password;
|
||||
[config, no_user_view, no_user_modify] String password;
|
||||
[config] int db_index;
|
||||
};
|
||||
|
||||
|
|
|
@ -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; }}}
|
||||
|
|
Loading…
Reference in New Issue