From a5b87850df451306fc10194e0cf92ed87753c283 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Wed, 9 Sep 2020 14:07:36 -0400 Subject: [PATCH] Remove user sync between SOC and Cortex due to the unnecesary complexities involved with this style of integration --- salt/common/tools/sbin/so-user | 4 ---- 1 file changed, 4 deletions(-) diff --git a/salt/common/tools/sbin/so-user b/salt/common/tools/sbin/so-user index 57f51fe9a..e354bcce4 100755 --- a/salt/common/tools/sbin/so-user +++ b/salt/common/tools/sbin/so-user @@ -202,7 +202,6 @@ case "${operation}" in createUser "$email" echo "Successfully added new user to SOC" check_container thehive && echo $password | so-thehive-user-add "$email" - check_container cortex && echo $password | so-cortex-user-add "$email" check_container fleet && echo $password | so-fleet-user-add "$email" ;; @@ -226,7 +225,6 @@ case "${operation}" in updateStatus "$email" 'active' echo "Successfully enabled user" check_container thehive && so-thehive-user-enable "$email" true - check_container cortex && so-cortex-user-enable "$email" true check_container fleet && so-fleet-user-enable "$email" true ;; @@ -237,7 +235,6 @@ case "${operation}" in updateStatus "$email" 'locked' echo "Successfully disabled user" check_container thehive && so-thehive-user-enable "$email" false - check_container cortex && so-cortex-user-enable "$email" false check_container fleet && so-fleet-user-enable "$email" false ;; @@ -248,7 +245,6 @@ case "${operation}" in deleteUser "$email" echo "Successfully deleted user" check_container thehive && so-thehive-user-enable "$email" false - check_container cortex && so-cortex-user-enable "$email" false check_container fleet && so-fleet-user-enable "$email" false ;;