mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +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
|
whiptail_oinkcode
|
||||||
fi
|
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
|
if [ "$MANAGERADV" = 'ADVANCED' ] && [ "$ZEEKVERSION" != 'SURICATA' ]; then
|
||||||
whiptail_manager_adv_service_zeeklogs
|
whiptail_manager_adv_service_zeeklogs
|
||||||
fi
|
fi
|
||||||
@@ -421,6 +414,14 @@ fi
|
|||||||
if [[ $is_manager ]]; then
|
if [[ $is_manager ]]; then
|
||||||
whiptail_components_adv_warning
|
whiptail_components_adv_warning
|
||||||
whiptail_enable_components
|
whiptail_enable_components
|
||||||
|
|
||||||
|
if [[ "$STRELKA" = 1 ]]; then
|
||||||
|
info "Enabling Strelka rules"
|
||||||
|
STRELKARULES=1
|
||||||
|
else
|
||||||
|
info "Disabling Strelka rules: STRELKA='$STRELKA'"
|
||||||
|
fi
|
||||||
|
|
||||||
whiptail_dockernet_check
|
whiptail_dockernet_check
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user