Fixed manager template in VD config
This commit is contained in:
parent
bac757cb69
commit
f08c8930de
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user