From a26e607ea6577b5eb36dc08cbc9a4e54175bebf4 Mon Sep 17 00:00:00 2001 From: f-galland Date: Fri, 25 Oct 2024 15:08:57 -0300 Subject: [PATCH] Add template and index name to initialization list --- .../setup/src/main/java/com/wazuh/setup/index/WazuhIndices.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/setup/src/main/java/com/wazuh/setup/index/WazuhIndices.java b/plugins/setup/src/main/java/com/wazuh/setup/index/WazuhIndices.java index 860f538..55f9bc8 100644 --- a/plugins/setup/src/main/java/com/wazuh/setup/index/WazuhIndices.java +++ b/plugins/setup/src/main/java/com/wazuh/setup/index/WazuhIndices.java @@ -54,6 +54,7 @@ public WazuhIndices(Client client, ClusterService clusterService) { this.indexTemplates.put("index-template-system", "wazuh-states-inventory-system"); this.indexTemplates.put("index-template-processes", "wazuh-states-inventory-processes"); this.indexTemplates.put("index-template-packages", "wazuh-states-inventory-packages"); + this.indexTemplates.put("index-template-commands", ".commands"); } /**