diff --git a/CHANGELOG.md b/CHANGELOG.md index 62886cd1..91f026ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ # Change Log All notable changes to this project will be documented in this file. +## Wazuh Docker v3.7.2_6.5.3 + +### Changed + +- Erasing temporary fix for AWS integration. ([#81](https://github.com/wazuh/wazuh-docker/pull/81)) + +### Fixed + +- Upgrading errors due to wrong files. ([#80](https://github.com/wazuh/wazuh-docker/pull/80)) + + ## Wazuh Docker v3.7.0_6.5.0 ### Changed diff --git a/README.md b/README.md index 5b54b5e6..e1fbc57d 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ In addition, a docker-compose file is provided to launch the containers mentione ## Current release -Containers are currently tested on Wazuh version 3.7.1 and Elastic Stack version 6.5.3. We will do our best to keep this repository updated to latest versions of both Wazuh and Elastic Stack. +Containers are currently tested on Wazuh version 3.7.2 and Elastic Stack version 6.5.3. We will do our best to keep this repository updated to latest versions of both Wazuh and Elastic Stack. ## Directory structure diff --git a/VERSION b/VERSION index 3be4a99f..f0bea7ad 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -WAZUH-DOCKER_VERSION="3.7.1_6.5.3" -REVISION="3726" +WAZUH-DOCKER_VERSION="3.7.2_6.5.3" +REVISION="3728" diff --git a/docker-compose.yml b/docker-compose.yml index ba4a946e..c3409ddd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: '2' services: wazuh: - image: wazuh/wazuh:3.7.1_6.5.3 + image: wazuh/wazuh:3.7.2_6.5.3 hostname: wazuh-manager restart: always ports: @@ -23,7 +23,7 @@ services: depends_on: - logstash logstash: - image: wazuh/wazuh-logstash:3.7.1_6.5.3 + image: wazuh/wazuh-logstash:3.7.2_6.5.3 hostname: logstash restart: always # volumes: @@ -61,7 +61,7 @@ services: networks: - docker_elk kibana: - image: wazuh/wazuh-kibana:3.7.1_6.5.3 + image: wazuh/wazuh-kibana:3.7.2_6.5.3 hostname: kibana restart: always # ports: @@ -76,7 +76,7 @@ services: - elasticsearch:elasticsearch - wazuh:wazuh nginx: - image: wazuh/wazuh-nginx:3.7.1_6.5.3 + image: wazuh/wazuh-nginx:3.7.2_6.5.3 hostname: nginx restart: always environment: diff --git a/kibana/Dockerfile b/kibana/Dockerfile index 193cf5e0..c1435ee7 100644 --- a/kibana/Dockerfile +++ b/kibana/Dockerfile @@ -1,6 +1,6 @@ # Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2) FROM docker.elastic.co/kibana/kibana:6.5.3 -ARG WAZUH_APP_VERSION=3.7.1_6.5.3 +ARG WAZUH_APP_VERSION=3.7.2_6.5.3 USER root ADD https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip /tmp diff --git a/wazuh/Dockerfile b/wazuh/Dockerfile index be3fdf34..87fb09c3 100644 --- a/wazuh/Dockerfile +++ b/wazuh/Dockerfile @@ -1,7 +1,8 @@ # Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2) FROM phusion/baseimage:latest ARG FILEBEAT_VERSION=6.5.3 -ARG WAZUH_VERSION=3.7.1-1 +ARG WAZUH_VERSION=3.7.2-1 + # Updating image RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" @@ -76,11 +77,6 @@ RUN mkdir /etc/service/filebeat COPY config/filebeat.runit.service /etc/service/filebeat/run RUN chmod +x /etc/service/filebeat/run -# Temporary fix for AWS integration -RUN sed -i 's/.*with open*/#wiht open/' /var/ossec/wodles/aws/aws-s3 -RUN sed -i 's/.*max_queue_buffer = int(kernel_param.read().strip())*/#max_queue_buffer/' /var/ossec/wodles/aws/aws-s3 -RUN sed -i '784imax_queue_buffer = 0' /var/ossec/wodles/aws/aws-s3 -RUN sed -i '784s/^/ /' /var/ossec/wodles/aws/aws-s3 # Run all services ENTRYPOINT ["/entrypoint.sh"] diff --git a/wazuh/config/entrypoint.sh b/wazuh/config/entrypoint.sh index df3266e4..760fd158 100644 --- a/wazuh/config/entrypoint.sh +++ b/wazuh/config/entrypoint.sh @@ -53,6 +53,12 @@ for ossecdir in "${DATA_DIRS[@]}"; do fi done +if [ -e ${WAZUH_INSTALL_PATH}/etc-template ] +then + cp -p /var/ossec/etc-template/internal_options.conf /var/ossec/etc/internal_options.conf +fi +rm /var/ossec/queue/db/.template.db + touch ${DATA_PATH}/process_list chgrp ossec ${DATA_PATH}/process_list chmod g+rw ${DATA_PATH}/process_list