diff --git a/salt/top.sls b/salt/top.sls index 0e6e8d917..04627b18f 100644 --- a/salt/top.sls +++ b/salt/top.sls @@ -62,6 +62,7 @@ base: - common - telegraf - firewall + - nginx - pcap - suricata - healthcheck @@ -286,6 +287,7 @@ base: {%- if WAZUH != 0 %} - wazuh {%- endif %} + - elasticsearch - logstash - curator - filebeat @@ -331,6 +333,7 @@ base: {%- if WAZUH != 0 %} - wazuh {%- endif %} + - elasticsearch - logstash - redis - curator @@ -368,6 +371,7 @@ base: {%- if WAZUH != 0 %} - wazuh {%- endif %} + - elasticsearch - logstash - redis - curator diff --git a/setup/so-setup b/setup/so-setup index d04f4afc5..2ce7a55a7 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -680,8 +680,10 @@ fi fi if [[ "$STRELKA" = 1 ]]; then - set_progress_str 80 "$(print_salt_state_apply 'strelka')" - salt-call state.apply -l info strelka >> $setup_log 2>&1 + if [[ $is_sensor ]]; then + set_progress_str 80 "$(print_salt_state_apply 'strelka')" + salt-call state.apply -l info strelka >> $setup_log 2>&1 + fi if [[ $STRELKARULES == 1 ]]; then /usr/sbin/so-yara-update >> $setup_log 2>&1 fi