mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Toggle strelka rules after the user is prompted it strelka should be installed to ensure strelka rules are updated later during the setup process
This commit is contained in:
@@ -406,13 +406,6 @@ if [[ $is_manager && ! $is_eval ]]; then
|
||||
whiptail_oinkcode
|
||||
fi
|
||||
|
||||
if [[ "$STRELKA" = 1 ]]; then
|
||||
info "Enabling Strelka rules"
|
||||
STRELKARULES=1
|
||||
else
|
||||
info "Disabling Strelka rules: STRELKA='$STRELKA'"
|
||||
fi
|
||||
|
||||
if [ "$MANAGERADV" = 'ADVANCED' ] && [ "$ZEEKVERSION" != 'SURICATA' ]; then
|
||||
whiptail_manager_adv_service_zeeklogs
|
||||
fi
|
||||
@@ -421,6 +414,14 @@ fi
|
||||
if [[ $is_manager ]]; then
|
||||
whiptail_components_adv_warning
|
||||
whiptail_enable_components
|
||||
|
||||
if [[ "$STRELKA" = 1 ]]; then
|
||||
info "Enabling Strelka rules"
|
||||
STRELKARULES=1
|
||||
else
|
||||
info "Disabling Strelka rules: STRELKA='$STRELKA'"
|
||||
fi
|
||||
|
||||
whiptail_dockernet_check
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user