mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user