From 6653fe3a295a2891fff54cc883fe808f5df96c5d Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Tue, 23 Jul 2024 09:30:33 +0200 Subject: [PATCH] fix(gorgone) add whitelist for autodiscovery nmap provider (#1551) Refs:MON-143224 --- gorgone/packaging/whitelist.conf.d/centreon.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gorgone/packaging/whitelist.conf.d/centreon.yaml b/gorgone/packaging/whitelist.conf.d/centreon.yaml index 5a7e2cca4e8..d1313d9ed2a 100644 --- a/gorgone/packaging/whitelist.conf.d/centreon.yaml +++ b/gorgone/packaging/whitelist.conf.d/centreon.yaml @@ -4,7 +4,7 @@ - ^(sudo\s+)?(/usr/bin/)?service\s+(centengine|centreontrapd|cbd|cbd-sql)\s+(reload|restart)\s*$ - ^/usr/sbin/centenginestats\s+-c\s+/etc/centreon-engine/+centengine\.cfg\s*$ - ^cat\s+/var/lib/centreon-engine/+[a-zA-Z0-9\-]+-stats\.json\s*$ -- ^/usr/lib/centreon/plugins/.*$ +- ^(sudo\s+)?/usr/lib/centreon/plugins/.*$ - ^/bin/perl /usr/share/centreon/bin/anomaly_detection --seasonality >> /var/log/centreon/anomaly_detection\.log 2>&1\s*$ - ^/usr/bin/php -q /usr/share/centreon/cron/centreon-helios\.php >> /var/log/centreon-helios\.log 2>&1\s*$ - ^centreon