Add granular Active Response settings
This commit is contained in:
parent
6fde2836c7
commit
c50184edbd
@ -245,10 +245,15 @@
|
|||||||
<!-- Active Response Config -->
|
<!-- Active Response Config -->
|
||||||
{% for response in wazuh_manager_config.active_responses %}
|
{% for response in wazuh_manager_config.active_responses %}
|
||||||
<active-response>
|
<active-response>
|
||||||
|
<disabled>no</disabled>
|
||||||
<command>{{ response.command }}</command>
|
<command>{{ response.command }}</command>
|
||||||
<location>{{ response.location }}</location>
|
{%if response.location is defined %}<location>{{ response.location }}</location>{% endif %}
|
||||||
<level>{{ response.level }}</level>
|
{%if response.agent_id is defined %}<agent_id>{{ response.agent_id }}</agent_id>{% endif %}
|
||||||
<timeout>{{ response.timeout }}</timeout>
|
{%if response.level is defined %}<level>{{ response.level }}</level>{% endif %}
|
||||||
|
{%if response.rules_group is defined %}<rules_group>{{ response.rules_group }}</rules_group>{% endif %}
|
||||||
|
{%if response.rules_id is defined %}<rules_id>{{ response.rules_id }}</rules_id>{% endif %}
|
||||||
|
{%if response.timeout is defined %}<timeout>{{ response.timeout }}</timeout>{% endif %}
|
||||||
|
{%if response.repeated_offenders is defined %}<repeated_offenders>{{ response.repeated_offenders }}</repeated_offenders>{% endif %}
|
||||||
</active-response>
|
</active-response>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user