mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Run YARA update script after applying state
This commit is contained in:
@@ -257,9 +257,6 @@ if [[ $is_master ]]; then
|
|||||||
whiptail_enable_components
|
whiptail_enable_components
|
||||||
if [[ $STRELKA == 1 ]]; then
|
if [[ $STRELKA == 1 ]]; then
|
||||||
whiptail_strelka_rules
|
whiptail_strelka_rules
|
||||||
if [[ $STRELKARULES == 1 ]]; then
|
|
||||||
strelka_yara_update
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
collect_webuser_inputs
|
collect_webuser_inputs
|
||||||
get_redirect
|
get_redirect
|
||||||
@@ -554,6 +551,9 @@ fi
|
|||||||
if [[ "$STRELKA" = 1 ]]; then
|
if [[ "$STRELKA" = 1 ]]; then
|
||||||
set_progress_str 77 "$(print_salt_state_apply 'strelka')"
|
set_progress_str 77 "$(print_salt_state_apply 'strelka')"
|
||||||
salt-call state.apply -l info strelka >> $setup_log 2>&1
|
salt-call state.apply -l info strelka >> $setup_log 2>&1
|
||||||
|
if [[ $STRELKARULES == 1 ]]; then
|
||||||
|
/usr/sbin/so-yara-update >> $setup_log 2>&1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$PLAYBOOK" = 1 ]]; then
|
if [[ "$PLAYBOOK" = 1 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user