From 278ee88a1817e900ef5ca777e421d1a9fa6d4af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duret?= Date: Thu, 27 Jun 2024 18:08:56 +0200 Subject: [PATCH] we don't care about capturing the group or not --- gorgone/packaging/configuration/whitelist.conf.d/centreon.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gorgone/packaging/configuration/whitelist.conf.d/centreon.yaml b/gorgone/packaging/configuration/whitelist.conf.d/centreon.yaml index 60c359467d8..d1313d9ed2a 100644 --- a/gorgone/packaging/configuration/whitelist.conf.d/centreon.yaml +++ b/gorgone/packaging/configuration/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*$ -- ^(?:sudo(?:\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