Merge pull request #56 from pillarsdotnet/optional-checks
Make rootcheck and syscheck optional.
This commit is contained in:
commit
dc6de25890
@ -39,6 +39,7 @@
|
|||||||
<disabled>no</disabled>
|
<disabled>no</disabled>
|
||||||
</active-response>
|
</active-response>
|
||||||
|
|
||||||
|
{% if wazuh_agent_config.rootcheck is defined %}
|
||||||
<rootcheck>
|
<rootcheck>
|
||||||
<disabled>no</disabled>
|
<disabled>no</disabled>
|
||||||
<check_unixaudit>yes</check_unixaudit>
|
<check_unixaudit>yes</check_unixaudit>
|
||||||
@ -71,7 +72,9 @@
|
|||||||
|
|
||||||
<skip_nfs>yes</skip_nfs>
|
<skip_nfs>yes</skip_nfs>
|
||||||
</rootcheck>
|
</rootcheck>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if wazuh_agent_config.syscheck is defined %}
|
||||||
<syscheck>
|
<syscheck>
|
||||||
<disabled>no</disabled>
|
<disabled>no</disabled>
|
||||||
{% if ansible_os_family == "Windows" %}
|
{% if ansible_os_family == "Windows" %}
|
||||||
@ -117,6 +120,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</syscheck>
|
</syscheck>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if ansible_system == "Linux" and wazuh_agent_config.openscap.disable == 'no' %}
|
{% if ansible_system == "Linux" and wazuh_agent_config.openscap.disable == 'no' %}
|
||||||
<wodle name="open-scap">
|
<wodle name="open-scap">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user