mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-21 06:25:27 +01:00
Fix ES merge
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
{% import_yaml 'elastalert/defaults.yaml' as ELASTALERT with context %}
|
||||
{% set elastalert_pillar = salt['pillar.get']('elastalert:config', {}) %}
|
||||
|
||||
{% do salt['defaults.merge'](ELASTALERT.elastalert.config, elastalert_pillar, in_place=True) %}
|
||||
|
||||
{% do ELASTALERT.elastalert.config.update({'es_host': pillar.global.managerip}) %}
|
||||
{% do ELASTALERT.elastalert.config.update({'es_username': pillar.elasticsearch.auth.users.so_elastic_user.user}) %}
|
||||
{% do ELASTALERT.elastalert.config.update({'es_password': pillar.elasticsearch.auth.users.so_elastic_user.pass}) %}
|
||||
|
||||
{% do salt['defaults.merge'](ELASTALERT.elastalert.config, elastalert_pillar, in_place=True) %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user