From 29b78076e5a4ce75785975bf7033c0bf1496ce9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Correa=20Rodr=C3=ADguez?= Date: Mon, 18 Dec 2023 12:47:20 +0100 Subject: [PATCH] Modify indexer variables --- .../templates/var-ossec-etc-ossec-server.conf.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2 b/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2 index 42283cf1..cef65c8d 100644 --- a/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2 +++ b/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2 @@ -259,21 +259,21 @@ - {% if wazuh_manager_config.vulnerability_detection.enabled == 'yes' and wazuh_manager_config.wazuh_manager_indexer.enabled == 'yes' %}yes{% else %}no{% endif %} + {% if wazuh_manager_config.vulnerability_detection.enabled == 'yes' and wazuh_manager_config.indexer.enabled == 'yes' %}yes{% else %}no{% endif %} {{ wazuh_manager_config.vulnerability_detection.indexer_status }} {{ wazuh_manager_config.vulnerability_detection.feed_update_interval }} - {% if wazuh_manager_config.vulnerability_detection.enabled == 'yes' and wazuh_manager_config.wazuh_manager_indexer.enabled == 'yes' %}yes{% else %}no{% endif %} + {% if wazuh_manager_config.vulnerability_detection.enabled == 'yes' and wazuh_manager_config.indexer.enabled == 'yes' %}yes{% else %}no{% endif %} - {% for item in wazuh_manager_indexer.hosts %} + {% for item in wazuh_manager_config.indexer.hosts %} https://{{ item }}:{{filebeat_output_indexer_port}} {% endfor %} {{ indexer_security_user }} - "{{ indexer_security_password }}" + {{ indexer_security_password }} {{ filebeat_ssl_dir }}/root-ca.pem