Additional Helix Support

This commit is contained in:
Mike Reeves
2019-12-09 09:52:52 -05:00
parent 897e009231
commit 362cd0487f
4 changed files with 140 additions and 0 deletions

View File

@@ -153,6 +153,7 @@ if (whiptail_you_sure) ; then
## Master ##
####################
if [ $INSTALLTYPE == 'HELIXSESOR']; then
whiptail_helix_apikey
whiptail_homenet_master
whiptail_rule_setup
# Get the code if it isn't ET Open

View File

@@ -169,6 +169,15 @@ whiptail_eval_adv_warning() {
whiptail --title "Security Onion Setup" --msgbox "Please keep in mind the more services that you enable the more RAM that is required." 8 75
}
whiptail_helix_apikey() {
HELIXAPIKEY=$(whiptail --title "Security Onion Setup" --inputbox \
"Enter your Helix API Key" 10 75 3>&1 1>&2 2>&3)
local exitstatus=$?
whiptail_check_exitstatus
}
whiptail_homenet_master() {
# Ask for the HOME_NET on the master