Merge pull request #967 from Security-Onion-Solutions/feature/low-level-alerts

Feature - low level alerts
This commit is contained in:
Josh Brower
2020-07-09 13:56:31 -04:00
committed by GitHub
11 changed files with 57 additions and 32 deletions

View File

@@ -838,18 +838,6 @@ firewall_generate_templates() {
}
fleet_pillar() {
local pillar_file="$temp_install_dir"/pillar/minions/"$MINION_ID".sls
# Create the fleet pillar
printf '%s\n'\
"fleet:"\
" mainip: $MAINIP"\
" master: $MSRV"\
"" > "$pillar_file"
}
generate_passwords(){
# Generate Random Passwords for Things
MYSQLPASS=$(tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 20 | head -n 1)