Fixed manager template in VD config

This commit is contained in:
David Correa Rodríguez 2023-12-19 15:00:35 +01:00
parent bac757cb69
commit f08c8930de
No known key found for this signature in database
GPG Key ID: 8787C7C9FF271262

View File

@ -259,13 +259,13 @@
</sca> </sca>
<vulnerability-detection> <vulnerability-detection>
<enabled>{% if wazuh_manager_config.vulnerability_detection.enabled == 'yes' and wazuh_manager_config.indexer.enabled == 'yes' %}yes{% else %}no{% endif %}</enabled> <enabled>{{ wazuh_manager_config.vulnerability_detection.enabled }}</enabled>
<indexer-status>{{ wazuh_manager_config.vulnerability_detection.indexer_status }}</indexer-status> <indexer-status>{{ wazuh_manager_config.vulnerability_detection.indexer_status }}</indexer-status>
<feed-update-interval>{{ wazuh_manager_config.vulnerability_detection.feed_update_interval }}</feed-update-interval> <feed-update-interval>{{ wazuh_manager_config.vulnerability_detection.feed_update_interval }}</feed-update-interval>
</vulnerability-detection> </vulnerability-detection>
<indexer> <indexer>
<enabled>{% if wazuh_manager_config.vulnerability_detection.enabled == 'yes' and wazuh_manager_config.indexer.enabled == 'yes' %}yes{% else %}no{% endif %}</enabled> <enabled>{% if wazuh_manager_config.vulnerability_detection.enabled == 'yes' or wazuh_manager_config.indexer.enabled == 'yes' %}yes{% else %}no{% endif %}</enabled>
<hosts> <hosts>
{% for item in wazuh_manager_config.indexer.hosts %} {% for item in wazuh_manager_config.indexer.hosts %}
<host>https://{{ item }}:{{ filebeat_output_indexer_port }}</host> <host>https://{{ item }}:{{ filebeat_output_indexer_port }}</host>