mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[feat] Reformat install type menu
This commit is contained in:
@@ -430,27 +430,37 @@ whiptail_install_type() {
|
|||||||
|
|
||||||
# What kind of install are we doing?
|
# What kind of install are we doing?
|
||||||
install_type=$(whiptail --title "Security Onion Setup" --radiolist \
|
install_type=$(whiptail --title "Security Onion Setup" --radiolist \
|
||||||
"Choose Install Type:" 20 75 13 \
|
"Choose install type:" 10 65 3 \
|
||||||
"SENSOR" "Create a forward only sensor" ON \
|
"EVAL" "Evaluation mode (not for production) " ON \
|
||||||
"SEARCHNODE" "Add a Search Node with parsing" OFF \
|
"STANDALONE" "Standalone production install " OFF \
|
||||||
"MASTER" "Start a new grid" OFF \
|
"DISTRIBUTED" "Distributed install submenu " OFF \
|
||||||
"EVAL" "Evaluate all the things" OFF \
|
3>&1 1>&2 2>&3
|
||||||
"STANDALONE" "Standalone full install of everything" OFF \
|
)
|
||||||
"MASTERSEARCH" "Master + Search Node" OFF \
|
|
||||||
"HEAVYNODE" "Sensor + Search Node" OFF \
|
local exitstatus=$?
|
||||||
"HELIXSENSOR" "Connect this sensor to FireEye Helix" OFF \
|
whiptail_check_exitstatus $exitstatus
|
||||||
"FLEET" "Dedicated Fleet Osquery Node" OFF \
|
|
||||||
"HOTNODE" "TODO Add Hot Node (Uses Elastic Clustering)" OFF \
|
if [[ $install_type == "DISTRIBUTED" ]]; then
|
||||||
"WARMNODE" "TODO Add Warm Node to existing Hot or Search node" OFF \
|
install_type=$(whiptail --title "Security Onion Setup" --radiolist \
|
||||||
"WAZUH" "TODO Stand Alone Wazuh Server" OFF \
|
"Choose distributed node type:" 13 60 6 \
|
||||||
"STRELKA" "TODO Stand Alone Strelka Node" OFF 3>&1 1>&2 2>&3 )
|
"MASTER" "Start a new grid " ON \
|
||||||
|
"SENSOR" "Create a forward only sensor " OFF \
|
||||||
|
"SEARCHNODE" "Add a search node with parsing " OFF \
|
||||||
|
"MASTERSEARCH" "Master + search node " OFF \
|
||||||
|
"FLEET" "Dedicated Fleet Osquery Node " OFF \
|
||||||
|
"HEAVYNODE" "Sensor + Search Node " OFF \
|
||||||
|
3>&1 1>&2 2>&3
|
||||||
|
# "HOTNODE" "Add Hot Node (Uses Elastic Clustering)" OFF \ # TODO
|
||||||
|
# "WARMNODE" "Add Warm Node to existing Hot or Search node" OFF \ # TODO
|
||||||
|
# "WAZUH" "Stand Alone Wazuh Server" OFF \ # TODO
|
||||||
|
# "STRELKA" "Stand Alone Strelka Node" OFF \ # TODO
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
whiptail_check_exitstatus $exitstatus
|
whiptail_check_exitstatus $exitstatus
|
||||||
|
|
||||||
export install_type
|
export install_type
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_log_size_limit() {
|
whiptail_log_size_limit() {
|
||||||
|
|||||||
Reference in New Issue
Block a user