mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +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
|
salt-call state.apply kibana.so_savedobjects_defaults queue=True
|
||||||
|
|
||||||
# Create FleetDM service account
|
# 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_EMAIL=$(lookup_pillar_secret fleet_sa_email)
|
||||||
FLEET_SA_PW=$(lookup_pillar_secret fleet_sa_password)
|
FLEET_SA_PW=$(lookup_pillar_secret fleet_sa_password)
|
||||||
MYSQL_PW=$(lookup_pillar_secret mysql)
|
MYSQL_PW=$(lookup_pillar_secret mysql)
|
||||||
@@ -454,6 +456,8 @@ post_to_2.3.90() {
|
|||||||
echo "Unable to add service account to Fleet"
|
echo "Unable to add service account to Fleet"
|
||||||
echo "$MYSQL_OUTPUT"
|
echo "$MYSQL_OUTPUT"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
POSTVERSION=2.3.90
|
POSTVERSION=2.3.90
|
||||||
|
|||||||
Reference in New Issue
Block a user