mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-25 18:33:37 +01:00
12 lines
600 B
Django/Jinja
12 lines
600 B
Django/Jinja
{% set idh_services = salt['pillar.get']('idh:services', []) %}
|
|
|
|
{% import_yaml "idh/defaults/defaults.yaml" as OPENCANARYCONFIG with context %}
|
|
{% for service in idh_services %}
|
|
{% import_yaml "idh/defaults/" ~ service ~ ".defaults.yaml" as SERVICECONFIG with context %}
|
|
{% do salt['defaults.merge'](OPENCANARYCONFIG, SERVICECONFIG, in_place=True) %}
|
|
{% endfor %}
|
|
|
|
{% set OPENCANARYCONFIG = salt['pillar.get']('idh:opencanary:config', default=OPENCANARYCONFIG.idh.opencanary.config, merge=True) %}
|
|
{% do OPENCANARYCONFIG.idh.opencanary.config.update({'device.node_id': grains.host}) %}
|
|
|