configuration.php: Add custom variable restrictions

This commit is contained in:
Johannes Meyer 2021-03-11 16:37:52 +01:00
parent c1a289b23b
commit 989d6fcccc

View file

@ -28,6 +28,16 @@ namespace Icinga\Module\Icingadb
$this->translate('Restrict access to the Icinga services that match the filter')
);
$this->provideRestriction(
'icingadb/blacklist/variables',
$this->translate('Hide custom variables of Icinga objects that are part of the list')
);
$this->provideRestriction(
'icingadb/protect/variables',
$this->translate('Obfuscate custom variable values of Icinga objects that are part of the list')
);
if (! $this::exists('monitoring')) {
/**
* Search urls