Merge pull request #1328 from Security-Onion-Solutions/issue/1281

Issue/1281
This commit is contained in:
Josh Patterson
2020-09-11 15:02:30 -04:00
committed by GitHub
2 changed files with 8 additions and 2 deletions

View File

@@ -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