From 50876367b6296733025675af3bd540fe2ab1f83c Mon Sep 17 00:00:00 2001 From: dfolcha Date: Mon, 15 Nov 2021 17:26:11 +0100 Subject: [PATCH 1/2] Update elk version to 7.14.2 --- .../unattended-installation/all-in-one-installation.sh | 2 +- .../distributed/elastic-stack-installation.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unattended_scripts/elastic-stack/unattended-installation/all-in-one-installation.sh b/unattended_scripts/elastic-stack/unattended-installation/all-in-one-installation.sh index c1a989cabb..5428b0c4c8 100644 --- a/unattended_scripts/elastic-stack/unattended-installation/all-in-one-installation.sh +++ b/unattended_scripts/elastic-stack/unattended-installation/all-in-one-installation.sh @@ -10,7 +10,7 @@ WAZUH_VER="4.2.5" WAZUH_REV="1" -ELK_VER="7.12.1" +ELK_VER="7.14.2" WAZUH_KIB_PLUG_REV="1" ## Check if system is based on yum or apt-get or zypper diff --git a/unattended_scripts/elastic-stack/unattended-installation/distributed/elastic-stack-installation.sh b/unattended_scripts/elastic-stack/unattended-installation/distributed/elastic-stack-installation.sh index 17b1a8c82b..e17f8a3b71 100644 --- a/unattended_scripts/elastic-stack/unattended-installation/distributed/elastic-stack-installation.sh +++ b/unattended_scripts/elastic-stack/unattended-installation/distributed/elastic-stack-installation.sh @@ -11,7 +11,7 @@ WAZUH_MAJOR="4.2" WAZUH_VER="4.2.5" WAZUH_REV="1" -ELK_VER="7.12.1" +ELK_VER="7.14.2" WAZUH_KIB_PLUG_REV="1" ## Check if system is based on yum or apt-get From 914e2ddddb8f7f872bcaabf1c28b0756d6f539f4 Mon Sep 17 00:00:00 2001 From: dfolcha Date: Mon, 15 Nov 2021 17:28:23 +0100 Subject: [PATCH 2/2] Update template --- .../unattended-installation/unattended-installation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unattended_scripts/open-distro/unattended-installation/unattended-installation.sh b/unattended_scripts/open-distro/unattended-installation/unattended-installation.sh index 68d374cadb..c5b4ec8f95 100644 --- a/unattended_scripts/open-distro/unattended-installation/unattended-installation.sh +++ b/unattended_scripts/open-distro/unattended-installation/unattended-installation.sh @@ -363,7 +363,7 @@ installFilebeat() { else filebeatinstalled="1" eval "curl -so /etc/filebeat/filebeat.yml ${resources}/open-distro/filebeat/7.x/filebeat_unattended.yml --max-time 300 ${debug}" - eval "curl -so /etc/filebeat/wazuh-template.json https://raw.githubusercontent.com/wazuh/wazuh/4.0/extensions/elasticsearch/7.x/wazuh-template.json --max-time 300 ${debug}" + eval "curl -so /etc/filebeat/wazuh-template.json https://raw.githubusercontent.com/wazuh/wazuh/4.2/extensions/elasticsearch/7.x/wazuh-template.json --max-time 300 ${debug}" eval "chmod go+r /etc/filebeat/wazuh-template.json ${debug}" eval "curl -s '${repobaseurl}'/filebeat/wazuh-filebeat-0.1.tar.gz --max-time 300 | tar -xvz -C /usr/share/filebeat/module ${debug}" eval "mkdir /etc/filebeat/certs ${debug}"