mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Give context to metadata tool choice
This commit is contained in:
@@ -945,13 +945,25 @@ whiptail_metadata_tool() {
|
|||||||
|
|
||||||
[ -n "$TESTING" ] && return
|
[ -n "$TESTING" ] && return
|
||||||
|
|
||||||
|
read -r -d '' message <<- EOM
|
||||||
|
What tool would you like to use to generate metadata?
|
||||||
|
|
||||||
|
This question is asking specifically about metadata, which would be things like the connection log, DNS log, HTTP log, etc. This does not include NIDS alerts.
|
||||||
|
|
||||||
|
If you choose Zeek for metadata, Suricata will still run to generate NIDS alerts.
|
||||||
|
|
||||||
|
If you choose Suricata for metadata, it will generate NIDS alerts and metadata and Zeek will not run at all.
|
||||||
|
EOM
|
||||||
|
|
||||||
# Legacy variable naming
|
# Legacy variable naming
|
||||||
ZEEKVERSION=$(whiptail --title "Security Onion Setup" --radiolist "What tool would you like to use to generate metadata?" 20 75 4 \
|
ZEEKVERSION=$(whiptail --title "Security Onion Setup" --menu "$message" 20 75 2 \
|
||||||
"ZEEK" "Zeek (formerly known as Bro)" ON \
|
"Zeek " "Use Zeek (Bro) for metadata and Suricata for NIDS alerts" \
|
||||||
"SURICATA" "Suricata" OFF 3>&1 1>&2 2>&3)
|
"Suricata " "Use Suricata for both metadata and NIDS alerts" 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
whiptail_check_exitstatus $exitstatus
|
whiptail_check_exitstatus $exitstatus
|
||||||
|
|
||||||
|
ZEEKVERSION=$(echo "${ZEEKVERSION^^}" | tr -d ' ')
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_nids() {
|
whiptail_nids() {
|
||||||
|
|||||||
Reference in New Issue
Block a user