From 4a95d18b9a44e9c7f73808268b7972e22927a6b5 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Wed, 25 Oct 2023 06:29:09 -0300 Subject: [PATCH 1/3] add mounted directories into dockerfile --- .env | 3 +++ build-docker-images/wazuh-manager/Dockerfile | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/.env b/.env index 9c749eb7..94899cb8 100755 --- a/.env +++ b/.env @@ -1,3 +1,6 @@ WAZUH_VERSION=4.7.1 WAZUH_IMAGE_VERSION=4.7.1 WAZUH_TAG_REVISION=1 +FILEBEAT_TEMPLATE_BRANCH=4.7.1 +WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.2.tar.gz +WAZUH_UI_REVISION=1 diff --git a/build-docker-images/wazuh-manager/Dockerfile b/build-docker-images/wazuh-manager/Dockerfile index 878a07a2..dcf62d23 100644 --- a/build-docker-images/wazuh-manager/Dockerfile +++ b/build-docker-images/wazuh-manager/Dockerfile @@ -49,6 +49,18 @@ RUN chmod 755 /permanent_data.sh && \ sync && /permanent_data.sh && \ sync && rm /permanent_data.sh +#Make mount directories for keep permissions + +RUN mkdir -p /var/ossec/var/multigroups && \ + chown root:wazuh /var/ossec/var/multigroups && \ + chmod 770 /var/ossec/var/multigroups && \ + mkdir -p /var/ossec/agentless && \ + chown root:wazuh /var/ossec/agentless && \ + chmod 770 /var/ossec/agentless && \ + mkdir -p /var/ossec/active-response/bin && \ + chown root:wazuh /var/ossec/active-response/bin && \ + chmod 770 /var/ossec/active-response/bin + # Services ports EXPOSE 55000/tcp 1514/tcp 1515/tcp 514/udp 1516/tcp From cda712949a0c78d06b968c73ddd40ce019fda361 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Wed, 25 Oct 2023 09:20:33 -0300 Subject: [PATCH 2/3] add mounted directories into dockerfile --- .env | 3 --- 1 file changed, 3 deletions(-) diff --git a/.env b/.env index 94899cb8..9c749eb7 100755 --- a/.env +++ b/.env @@ -1,6 +1,3 @@ WAZUH_VERSION=4.7.1 WAZUH_IMAGE_VERSION=4.7.1 WAZUH_TAG_REVISION=1 -FILEBEAT_TEMPLATE_BRANCH=4.7.1 -WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.2.tar.gz -WAZUH_UI_REVISION=1 From f1140fc088e2de1d43aa811f4d8406f5d6623cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Correa=20Rodr=C3=ADguez?= Date: Wed, 25 Oct 2023 15:56:11 +0200 Subject: [PATCH 3/3] Updated wazuh-kibana-app references --- build-docker-images/wazuh-dashboard/config/wazuh.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-docker-images/wazuh-dashboard/config/wazuh.yml b/build-docker-images/wazuh-dashboard/config/wazuh.yml index 3fab9b09..8e5f9447 100644 --- a/build-docker-images/wazuh-dashboard/config/wazuh.yml +++ b/build-docker-images/wazuh-dashboard/config/wazuh.yml @@ -16,7 +16,7 @@ # https://documentation.wazuh.com/current/installation-guide/index.html # # Also, you can check our repository: -# https://github.com/wazuh/wazuh-kibana-app +# https://github.com/wazuh/wazuh-dashboard-plugins # # ------------------------------- Index patterns ------------------------------- #