Merge pull request #11678 from Security-Onion-Solutions/2.4/fleetreset

Add Elastic Fleet reset script
This commit is contained in:
Josh Brower
2023-11-02 11:33:58 -04:00
committed by GitHub
4 changed files with 100 additions and 2 deletions

View File

@@ -772,8 +772,10 @@ if ! [[ -f $install_opt_file ]]; then
info "Restarting SOC to pick up initial user"
logCmd "so-soc-restart"
title "Setting up Elastic Fleet"
logCmd "salt-call state.apply elasticfleet.config"
logCmd "so-elastic-fleet-setup"
logCmd "salt-call state.apply elasticfleet.config"
if ! logCmd so-elastic-fleet-setup; then
fail_setup
fi
if [[ ! $is_import ]]; then
title "Setting up Playbook"
logCmd "so-playbook-reset"