forked from wazuh/wazuh-docker
Merge branch '3.7.2_6.5.4'
This commit is contained in:
@@ -1,6 +1,17 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## Wazuh Docker v3.7.2_6.5.4
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Update Elastic Stack version to 6.5.4. ([#82](https://github.com/wazuh/wazuh-docker/pull/82))
|
||||||
|
- Add env credentials for nginx ([#86](https://github.com/wazuh/wazuh-docker/pull/86))
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Temporary fix for Wazuh cluster master node in Kubernetes ([#84](https://github.com/wazuh/wazuh-docker/pull/84))
|
||||||
|
|
||||||
## Wazuh Docker v3.7.2_6.5.3
|
## Wazuh Docker v3.7.2_6.5.3
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ In addition, a docker-compose file is provided to launch the containers mentione
|
|||||||
|
|
||||||
## Current release
|
## Current release
|
||||||
|
|
||||||
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.
|
Containers are currently tested on Wazuh version 3.7.2 and Elastic Stack version 6.5.4. We will do our best to keep this repository updated to latest versions of both Wazuh and Elastic Stack.
|
||||||
|
|
||||||
## Directory structure
|
## Directory structure
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
WAZUH-DOCKER_VERSION="3.7.2_6.5.3"
|
WAZUH-DOCKER_VERSION="3.7.2_6.5.4"
|
||||||
REVISION="3728"
|
REVISION="3731"
|
||||||
|
|||||||
+5
-5
@@ -3,7 +3,7 @@ version: '2'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
wazuh:
|
wazuh:
|
||||||
image: wazuh/wazuh:3.7.2_6.5.3
|
image: wazuh/wazuh:3.7.2_6.5.4
|
||||||
hostname: wazuh-manager
|
hostname: wazuh-manager
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -23,7 +23,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- logstash
|
- logstash
|
||||||
logstash:
|
logstash:
|
||||||
image: wazuh/wazuh-logstash:3.7.2_6.5.3
|
image: wazuh/wazuh-logstash:3.7.2_6.5.4
|
||||||
hostname: logstash
|
hostname: logstash
|
||||||
restart: always
|
restart: always
|
||||||
# volumes:
|
# volumes:
|
||||||
@@ -39,7 +39,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- LS_HEAP_SIZE=2048m
|
- LS_HEAP_SIZE=2048m
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.3
|
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4
|
||||||
hostname: elasticsearch
|
hostname: elasticsearch
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -61,7 +61,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- docker_elk
|
- docker_elk
|
||||||
kibana:
|
kibana:
|
||||||
image: wazuh/wazuh-kibana:3.7.2_6.5.3
|
image: wazuh/wazuh-kibana:3.7.2_6.5.4
|
||||||
hostname: kibana
|
hostname: kibana
|
||||||
restart: always
|
restart: always
|
||||||
# ports:
|
# ports:
|
||||||
@@ -76,7 +76,7 @@ services:
|
|||||||
- elasticsearch:elasticsearch
|
- elasticsearch:elasticsearch
|
||||||
- wazuh:wazuh
|
- wazuh:wazuh
|
||||||
nginx:
|
nginx:
|
||||||
image: wazuh/wazuh-nginx:3.7.2_6.5.3
|
image: wazuh/wazuh-nginx:3.7.2_6.5.4
|
||||||
hostname: nginx
|
hostname: nginx
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
# Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2)
|
# Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2)
|
||||||
FROM docker.elastic.co/kibana/kibana:6.5.3
|
FROM docker.elastic.co/kibana/kibana:6.5.4
|
||||||
ARG WAZUH_APP_VERSION=3.7.2_6.5.3
|
ARG WAZUH_APP_VERSION=3.7.2_6.5.4
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ADD https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip /tmp
|
ADD https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip /tmp
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
# Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2)
|
# Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2)
|
||||||
FROM docker.elastic.co/logstash/logstash:6.5.3
|
FROM docker.elastic.co/logstash/logstash:6.5.4
|
||||||
|
|
||||||
RUN rm -f /usr/share/logstash/pipeline/logstash.conf
|
RUN rm -f /usr/share/logstash/pipeline/logstash.conf
|
||||||
|
|
||||||
|
|||||||
@@ -13,4 +13,7 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|||||||
|
|
||||||
VOLUME ["/etc/nginx/conf.d"]
|
VOLUME ["/etc/nginx/conf.d"]
|
||||||
|
|
||||||
|
ENV NGINX_NAME="foo" \
|
||||||
|
NGINX_PWD="bar"
|
||||||
|
|
||||||
ENTRYPOINT /entrypoint.sh
|
ENTRYPOINT /entrypoint.sh
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ fi
|
|||||||
# Configuring default credentiales.
|
# Configuring default credentiales.
|
||||||
if [ ! -f /etc/nginx/conf.d/kibana.htpasswd ]; then
|
if [ ! -f /etc/nginx/conf.d/kibana.htpasswd ]; then
|
||||||
echo "Setting Nginx credentials"
|
echo "Setting Nginx credentials"
|
||||||
echo bar|htpasswd -i -c /etc/nginx/conf.d/kibana.htpasswd foo >/dev/null
|
echo $NGINX_PWD|htpasswd -i -c /etc/nginx/conf.d/kibana.htpasswd $NGINX_NAME >/dev/null
|
||||||
else
|
else
|
||||||
echo "Kibana credentials already configured"
|
echo "Kibana credentials already configured"
|
||||||
fi
|
fi
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,6 @@
|
|||||||
# Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2)
|
# Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2)
|
||||||
FROM phusion/baseimage:latest
|
FROM phusion/baseimage:latest
|
||||||
ARG FILEBEAT_VERSION=6.5.3
|
ARG FILEBEAT_VERSION=6.5.4
|
||||||
ARG WAZUH_VERSION=3.7.2-1
|
ARG WAZUH_VERSION=3.7.2-1
|
||||||
|
|
||||||
|
|
||||||
@@ -77,6 +77,8 @@ RUN mkdir /etc/service/filebeat
|
|||||||
COPY config/filebeat.runit.service /etc/service/filebeat/run
|
COPY config/filebeat.runit.service /etc/service/filebeat/run
|
||||||
RUN chmod +x /etc/service/filebeat/run
|
RUN chmod +x /etc/service/filebeat/run
|
||||||
|
|
||||||
|
# Temporary fix for Wazuh cluster master node in Kubernetes
|
||||||
|
RUN sed -i '87d;88d' /var/ossec/framework/wazuh/cluster/cluster.py
|
||||||
|
|
||||||
# Run all services
|
# Run all services
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
# Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2)
|
# Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2)
|
||||||
filebeat:
|
filebeat:
|
||||||
inputs:
|
prospectors:
|
||||||
- type: log
|
- type: log
|
||||||
paths:
|
paths:
|
||||||
- "/var/ossec/data/logs/alerts/alerts.json"
|
- "/var/ossec/logs/alerts/alerts.json"
|
||||||
fields:
|
document_type: json
|
||||||
document_type: wazuh-alerts
|
|
||||||
json.message_key: log
|
json.message_key: log
|
||||||
json.keys_under_root: true
|
json.keys_under_root: true
|
||||||
json.overwrite_keys: true
|
json.overwrite_keys: true
|
||||||
|
|||||||
Reference in New Issue
Block a user