Wazuh manager: adding the ability to configure daily reports.
This commit is contained in:
parent
63f3eb3c24
commit
d5eb54a01b
@ -47,6 +47,23 @@
|
||||
{% endif %}
|
||||
</email_alerts>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if wazuh_manager_config.reports is defined %}
|
||||
{% for report in wazuh_manager_config.reports %}
|
||||
<reports>
|
||||
<category>{{ report.category }}</category>
|
||||
<title>{{ report.title }}</title>
|
||||
<email_to>{{ report.email_to }}</email_to>
|
||||
{% if report.location is defined %}<location>{{ report.location }}</location>{% endif %}
|
||||
{% if report.group is defined %}<group>{{ report.group }}</group>{% endif %}
|
||||
{% if report.rule is defined %}<rule>{{ report.rule }}</rule>{% endif %}
|
||||
{% if report.level is defined %}<level>{{ report.level }}</level>{% endif %}
|
||||
{% if report.srcip is defined %}<srcip>{{ report.srcip }}</srcip>{% endif %}
|
||||
{% if report.user is defined %}<user>{{ report.user }}</user>{% endif %}
|
||||
{% if report.showlogs is defined %}<showlogs>{{ report.showlogs }}</showlogs>{% endif %}
|
||||
</reports>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<alerts>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user