icinga2/lib/icingadb/icingadb.ti
Julian Brost 843353ab69 Remove passwords from API
IdoMysqlConnection, IdoPgsqlConnection, IcingaDB, and ElasticsearchWriter
require passwords in their configuration to authenticate against external
services. This commit ensures that these can no longer be accessed using the
API.
2021-07-09 09:05:05 +02:00

24 lines
385 B
Plaintext

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#include "base/configobject.hpp"
library icingadb;
namespace icinga
{
class IcingaDB : ConfigObject
{
[config] String host {
default {{{ return "127.0.0.1"; }}}
};
[config] int port {
default {{{ return 6380; }}}
};
[config] String path;
[config, no_user_view, no_user_modify] String password;
[config] int db_index;
};
}