mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #6271 from Security-Onion-Solutions/fix/fleet-users
Fix soup - fleetdm SA user
This commit is contained in:
@@ -440,6 +440,8 @@ post_to_2.3.90() {
|
||||
salt-call state.apply kibana.so_savedobjects_defaults queue=True
|
||||
|
||||
# Create FleetDM service account
|
||||
FLEET_MANAGER=$(lookup_pillar fleet_manager)
|
||||
if [[ "$FLEET_MANAGER" == "True" ]]; then
|
||||
FLEET_SA_EMAIL=$(lookup_pillar_secret fleet_sa_email)
|
||||
FLEET_SA_PW=$(lookup_pillar_secret fleet_sa_password)
|
||||
MYSQL_PW=$(lookup_pillar_secret mysql)
|
||||
@@ -454,6 +456,8 @@ post_to_2.3.90() {
|
||||
echo "Unable to add service account to Fleet"
|
||||
echo "$MYSQL_OUTPUT"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
POSTVERSION=2.3.90
|
||||
|
||||
Reference in New Issue
Block a user