elastalert settings

This commit is contained in:
Jason Ertel
2024-05-20 19:05:43 -04:00
parent 31fdf15ce1
commit c594168b65
4 changed files with 11 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ elastacustomsync:
- group: 933
- makedirs: True
- template: jinja
- mode: 660
- file_mode: 660
- context:
elastalert: {{ ELASTALERTMERGED }}
- show_changes: False
@@ -109,6 +109,7 @@ elastapredefinedsync:
- user: 933
- group: 933
- makedirs: True
- file_mode: 660
- show_changes: False
elastaconf:

View File

@@ -0,0 +1 @@
THIS IS A PLACEHOLDER FILE

View File

@@ -0,0 +1,6 @@
{% if elastalert.jira_user | length > 0 %}
user: {{ elastalert.jira_user }}
password: {{ elastalert.jira_pass }}
{% else %}
apikey: {{ elastalert.jira_key }}
{% endif %}

View File

@@ -0,0 +1,2 @@
user: {{ elastalert.smtp_user }}
password: {{ elastalert.smtp_pass }}