From 989d6fcccc992880dcf091084977cb5d9bf5d805 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 11 Mar 2021 16:37:52 +0100 Subject: [PATCH] configuration.php: Add custom variable restrictions --- configuration.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configuration.php b/configuration.php index 50386faa..33c11bdb 100644 --- a/configuration.php +++ b/configuration.php @@ -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