mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 11:42:50 +01:00
only allow strelka to run on nodes that are sensors
This commit is contained in:
@@ -678,8 +678,10 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$STRELKA" = 1 ]]; then
|
if [[ "$STRELKA" = 1 ]]; then
|
||||||
set_progress_str 80 "$(print_salt_state_apply 'strelka')"
|
if [[ $is_sensor ]]; then
|
||||||
salt-call state.apply -l info strelka >> $setup_log 2>&1
|
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
|
if [[ $STRELKARULES == 1 ]]; then
|
||||||
/usr/sbin/so-yara-update >> $setup_log 2>&1
|
/usr/sbin/so-yara-update >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user