From 15c29bda74a22c06e082b9469d58a4f798c516e3 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 28 Jan 2022 09:31:02 -0500 Subject: [PATCH] dont apply wazuh state on sensors if it is disabled globally - https://github.com/Security-Onion-Solutions/securityonion/issues/7016 --- salt/top.sls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt/top.sls b/salt/top.sls index 0efc73d02..b417089ba 100644 --- a/salt/top.sls +++ b/salt/top.sls @@ -77,7 +77,9 @@ base: {%- if ZEEKVER != 'SURICATA' %} - zeek {%- endif %} + {%- if WAZUH != 0 %} - wazuh + {%- endif %} {%- if STRELKA %} - strelka {%- endif %}