From 66df19f48aa72b3df798281b95416fa75a5c1132 Mon Sep 17 00:00:00 2001 From: Jesus Garcia Date: Fri, 20 Jun 2025 01:11:17 -0500 Subject: [PATCH] Replace Opensearch deprecated settings --- CHANGELOG.md | 2 +- .../wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml | 2 +- .../indexer_stack/wazuh-indexer/indexer_conf/opensearch.yml | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69cce84..ea6cb11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ All notable changes to this project will be documented in this file. ### Changed -- None +- Replace OpenSearch deprecated settings ([#1109](https://github.com/wazuh/wazuh-kubernetes/pull/1109)) ### Fixed diff --git a/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml b/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml index a144989..b45c13a 100644 --- a/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml +++ b/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml @@ -3,7 +3,7 @@ server.host: 0.0.0.0 server.port: 5601 opensearch.hosts: https://indexer:9200 opensearch.ssl.verificationMode: none -opensearch.requestHeadersWhitelist: [ authorization,securitytenant ] +opensearch.requestHeadersAllowlist: [ authorization,securitytenant ] opensearch_security.multitenancy.enabled: false opensearch_security.readonly_mode.roles: ["kibana_read_only"] server.ssl.enabled: true diff --git a/wazuh/indexer_stack/wazuh-indexer/indexer_conf/opensearch.yml b/wazuh/indexer_stack/wazuh-indexer/indexer_conf/opensearch.yml index 1a708a5..a52dcf9 100644 --- a/wazuh/indexer_stack/wazuh-indexer/indexer_conf/opensearch.yml +++ b/wazuh/indexer_stack/wazuh-indexer/indexer_conf/opensearch.yml @@ -2,7 +2,7 @@ cluster.name: ${CLUSTER_NAME} node.name: ${NODE_NAME} network.host: ${NETWORK_HOST} discovery.seed_hosts: wazuh-indexer-0.wazuh-indexer -cluster.initial_master_nodes: +cluster.initial_cluster_manager_nodes: - wazuh-indexer-0 node.max_local_storage_nodes: "3" @@ -27,5 +27,4 @@ plugins.security.restapi.roles_enabled: - "all_access" - "security_rest_api_access" plugins.security.allow_default_init_securityindex: true -cluster.routing.allocation.disk.threshold_enabled: false -compatibility.override_main_response_version: true \ No newline at end of file +cluster.routing.allocation.disk.threshold_enabled: false \ No newline at end of file