Remove Automation user from sql, gen user + store api key

This commit is contained in:
William Wernert
2020-09-30 16:32:43 -04:00
parent f3b8da1f9d
commit 8e80b41ca9
3 changed files with 53 additions and 14 deletions

View File

@@ -1,6 +1,8 @@
{%- set MANAGER = salt['pillar.get']('global:url_base', '') %}
{%- set HIVEKEY = salt['pillar.get']('global:hivekey', '') %}
{%- set CORTEXKEY = salt['pillar.get']('global:cortexorguserkey', '') %}
{%- set PLAYBOOK_KEY = salt['pillar.get']('global:playbook_api_key', '') %}
[es]
es_url = http://{{MANAGER}}:9200
@@ -62,7 +64,7 @@ slack_webhook = YOURSLACKWEBHOOK
[playbook]
playbook_url = http://{{MANAGER}}:3200/playbook
playbook_ext_url = https://{{MANAGER}}/playbook
playbook_key = de6639318502476f2fa5aa06f43f51fb389a3d7f
playbook_key = {{ PLAYBOOK_KEY }}
playbook_verifycert = no
playbook_unit_test_index = playbook-testing
playbook_rulesets = {{ salt['pillar.get']('soctopus:playbook:rulesets')|join(",") }}