Merge pull request #56 from pillarsdotnet/optional-checks

Make rootcheck and syscheck optional.
This commit is contained in:
José Luis Ruiz 2018-08-21 17:42:51 -04:00 committed by GitHub
commit dc6de25890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">