Skip to content
Snippets Groups Projects
Commit ac373deb authored by Kiril KJiroski's avatar Kiril KJiroski
Browse files

thehive integration with keycloak

parent 16fb12c7
Branches
No related tags found
1 merge request!1Dev02
......@@ -13,20 +13,17 @@ et = xml.etree.ElementTree.parse(f)
for v in et.findall(".//variable"):
a=v.attrib
if a['name']=="misp_token":
a['value']="{{lookup('file','{{playbook_dir}}/secrets/tokens/misp')}}"
a['value']="{{ misp_token }}"
elif a['name']=="misp_url":
a['value']="{{ misp_url }}"
elif a['name']=="maxmind_key":
a['value']="{{ maxmind_key }}"
elif a['name']=="elastic_url":
a['value']="https://{{ soctoolsproxy }}:9200"
a['value']="https://{{ dslproxy }}:9200"
elif a['name']=="elastic_username":
a['value']="{{ elastic_username }}"
elif a['name']=="elastic_password":
a['value']="{{lookup('password', '{{playbook_dir}}/secrets/passwords/odfees_adminpass')}}"
for v in et.findall(".//controllerService[name='Soctools CA']/property[name='Truststore Password']/value"):
v.text="{{lookup('password', '{{playbook_dir}}/secrets/passwords/truststore')}}"
a['value']="{{ odfees_adminpass }}"
et.write(args.templatefile)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment