Add users to Fleet, TheHive, and Cortex when adding a user to SO via so-user-add command

This commit is contained in:
Jason Ertel
2020-08-27 16:57:58 -04:00
parent 9d30b58247
commit a3e34bfaca
4 changed files with 168 additions and 0 deletions

View File

@@ -34,4 +34,9 @@ header() {
lookup_pillar() {
key=$1
cat /opt/so/saltstack/local/pillar/global.sls | grep $key | awk '{print $2}'
}
lookup_pillar_secret() {
key=$1
cat /opt/so/saltstack/local/pillar/secrets.sls | grep $key | awk '{print $2}'
}