Rootcheck if updated

This commit is contained in:
Gonzalo Acuña 2022-03-14 15:15:07 -03:00
parent e1eb62d8db
commit f88cbb2780
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270

View File

@ -93,7 +93,7 @@
<!-- Frequency that rootcheck is executed - every 12 hours -->
<frequency>{{ agent_config.rootcheck.frequency }}</frequency>
{% if agent_config.rootcheck.cis_distribution_filename is defined %}
{% if agent_config.rootcheck.cis_distribution_filename is defined and agent_config.rootcheck.cis_distribution_filename is not null %}
<system_audit>{{ wazuh_dir }}/etc/shared/default/{{ agent_config.rootcheck.cis_distribution_filename }}</system_audit>
{% endif %}
<skip_nfs>yes</skip_nfs>