Merge pull request #9852 from Security-Onion-Solutions/kilo

Remove FleetDM tool from SOC instead of deactivating it; generate SRV key during setup
This commit is contained in:
Jason Ertel
2023-02-24 13:05:58 -05:00
committed by GitHub
4 changed files with 11 additions and 8 deletions

View File

@@ -1239,6 +1239,7 @@ generate_passwords(){
SENSORONIKEY=$(get_random_value)
KRATOSKEY=$(get_random_value)
REDISPASS=$(get_random_value)
SOCSRVKEY=$(get_random_value 64)
}
generate_interface_vars() {
@@ -1374,7 +1375,11 @@ idstools_pillar() {
soc_pillar() {
title "Creating the SOC pillar"
touch $adv_soc_pillar_file
touch $soc_pillar_file
printf '%s\n'\
"soc:"\
" server:"\
" srvKey: '$SOCSRVKEY'"\
"" > "$soc_pillar_file"
}
telegraf_pillar() {