Indexer and VD must coincide in config
This commit is contained in:
parent
cffba0df19
commit
56d627aacf
@ -259,13 +259,13 @@
|
|||||||
</sca>
|
</sca>
|
||||||
|
|
||||||
<vulnerability-detection>
|
<vulnerability-detection>
|
||||||
<enabled>{{ wazuh_manager_config.vulnerability_detection.enabled }}</enabled>
|
<enabled>{% if wazuh_manager_config.vulnerability_detection.enabled == 'yes' and wazuh_manager_config.wazuh_manager_indexer.enabled == 'yes' %}yes{% else %}no{% endif %}</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>{{ wazuh_manager_config.wazuh_manager_indexer.enabled }}</enabled>
|
<enabled>{% if wazuh_manager_config.vulnerability_detection.enabled == 'yes' and wazuh_manager_config.wazuh_manager_indexer.enabled == 'yes' %}yes{% else %}no{% endif %}</enabled>
|
||||||
<hosts>
|
<hosts>
|
||||||
{% for item in wazuh_manager_indexer.hosts %}
|
{% for item in wazuh_manager_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