Add so-user-disable script which deletes the SOC user and disables the users in Fleet, TheHive, and Cortex

This commit is contained in:
Jason Ertel
2020-09-02 13:54:44 -04:00
parent 9d85b3223f
commit 0142f43493
8 changed files with 182 additions and 8 deletions

View File

@@ -53,6 +53,6 @@ MYSQL_OUTPUT=$(docker exec so-mysql mysql -u root --password=$MYSQL_PASS fleet -
if [[ $? -eq 0 ]]; then
echo "Successfully added user to Fleet."
else
echo "Failed to add user to Fleet."
echo "Unable to add user to Fleet; user might already exist."
exit 2
fi