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>
|
||||
</active-response>
|
||||
|
||||
{% if wazuh_agent_config.rootcheck is defined %}
|
||||
<rootcheck>
|
||||
<disabled>no</disabled>
|
||||
<check_unixaudit>yes</check_unixaudit>
|
||||
@ -71,7 +72,9 @@
|
||||
|
||||
<skip_nfs>yes</skip_nfs>
|
||||
</rootcheck>
|
||||
{% endif %}
|
||||
|
||||
{% if wazuh_agent_config.syscheck is defined %}
|
||||
<syscheck>
|
||||
<disabled>no</disabled>
|
||||
{% if ansible_os_family == "Windows" %}
|
||||
@ -117,6 +120,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</syscheck>
|
||||
{% endif %}
|
||||
|
||||
{% if ansible_system == "Linux" and wazuh_agent_config.openscap.disable == 'no' %}
|
||||
<wodle name="open-scap">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user