mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
[fix] Only show Zeek prompts if Zeek was selected as the MD tool
Resolves #900
This commit is contained in:
@@ -392,10 +392,11 @@ if [[ $is_manager && ! $is_eval ]]; then
|
||||
whiptail_manager_adv_escluster
|
||||
fi
|
||||
fi
|
||||
|
||||
whiptail_metadata_tool
|
||||
if [ "$MANAGERADV" = 'ADVANCED' ] && [ "$ZEEKVERSION" != 'SURICATA' ]; then
|
||||
whiptail_manager_adv_service_zeeklogs
|
||||
fi
|
||||
|
||||
[[ $MANAGERADV == "ADVANCED" ]] && [[ $ZEEKVERSION == "ZEEK" ]] && whiptail_manager_adv_service_zeeklogs
|
||||
|
||||
# Don't run this function for now since Snort is not yet supported
|
||||
# whiptail_nids
|
||||
NIDS=Suricata
|
||||
@@ -441,11 +442,11 @@ if [[ $is_sensor && ! $is_eval ]]; then
|
||||
whiptail_homenet_sensor
|
||||
whiptail_sensor_config
|
||||
if [ $NSMSETUP == 'ADVANCED' ]; then
|
||||
whiptail_zeek_pins
|
||||
[[ $ZEEKVERSION == "ZEEK" ]] && whiptail_zeek_pins
|
||||
whiptail_suricata_pins
|
||||
whiptail_bond_nics_mtu
|
||||
else
|
||||
whiptail_basic_zeek
|
||||
[[ $ZEEKVERSION == "ZEEK" ]] && whiptail_basic_zeek
|
||||
whiptail_basic_suri
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user