[feat] Use setup user+pass for TheHive, Cortex, and Fleet as well

This commit is contained in:
William Wernert
2020-07-10 14:40:04 -04:00
parent 67c8836cd6
commit f56811e745
4 changed files with 19 additions and 17 deletions

View File

@@ -979,15 +979,16 @@ master_static() {
" broversion: $BROVERSION"\
" ids: $NIDS"\
" masterip: $MAINIP"\
" hiveuser: hiveadmin"\
" hivepassword: hivechangeme"\
" hiveuser: $WEBUSER"\
" hivepassword: $WEBPASSWD1"\
" hivekey: $HIVEKEY"\
" cortexuser: cortexadmin"\
" cortexpassword: cortexchangeme"\
" cortexuser: $WEBUSER"\
" cortexpassword: $WEBPASSWD1"\
" cortexkey: $CORTEXKEY"\
" cortexorgname: SecurityOnion"\
" cortexorguser: soadmin"\
" cortexorguser: $WEBUSER"\
" cortexorguserkey: $CORTEXORGUSERKEY"\
" grafanapassword: $WEBPASSWD1"\
" fleet_custom_hostname: "\
" fleet_master: False"\
" fleet_node: False"\

View File

@@ -252,7 +252,8 @@ whiptail_create_web_user() {
[ -n "$TESTING" ] && return
WEBUSER=$(whiptail --title "Security Onion Install" --inputbox \
"Please enter an email address to create an administrator account for the web interface." 10 60 3>&1 1>&2 2>&3)
"Please enter an email address to create an administrator account for the web interface. \
This will also be used for TheHive, Cortex, and Fleet" 10 60 3>&1 1>&2 2>&3)
local exitstatus=$?
whiptail_check_exitstatus $exitstatus