Compare commits

...
13 Commits
Author SHA1 Message Date
Jesus Linares 2f74ec6fdb Merge branch '3.8.0_6.5.4' 2019-01-18 15:34:34 -05:00
AlfonsoRBJ e85c9419b7 Remove cluster.py work around (#99) 2019-01-18 16:38:41 +01:00
AlfonsoRBJ e184e7c692 Update Slack link 2019-01-14 17:34:54 +01:00
AlfonsoRBJ 72acec2ddc Update Slack link 2019-01-14 17:33:35 +01:00
AlfonsoRBJ eed4b0b9dc Upgrade version 3.8.0_6.5.4 (#97) 2019-01-14 17:17:00 +01:00
AlfonsoRBJ 986635c366 Bump version 3.8.0 2019-01-10 13:16:39 +01:00
AlfonsoRBJ 0ab0db67ba Update CHANGELOG.md 2019-01-10 13:15:38 +01:00
Jesus Linares a2c0053ce8 Merge branch '3.7.2_6.5.4' 2019-01-03 10:12:12 -05:00
Jesus Linares ed913c1e71 Merge branch '3.7.2_6.5.4' 2019-01-03 09:43:37 -05:00
Jesus Linares e275dc9446 Merge branch '3.7.2_6.5.3'
Conflicts:
	README.md
	VERSION
	docker-compose.yml
	kibana/Dockerfile
	wazuh/Dockerfile
2018-12-20 11:50:30 -05:00
AlfonsoRBJ 7e83951672 Merge pull request #77 from wazuh/3.7.1_6.5.3
Using etc folder as a mounting point (#73)
2018-12-17 10:55:42 +01:00
José Luis Ruiz 31b43aa2f1 Upgrade to Elastic 6.5.3 and Wazuh 3.7.1 (#75) 2018-12-14 18:56:01 +01:00
AlfonsoRBJ 6b3018a56b Update README.md 2018-12-13 12:19:07 +01:00
7 changed files with 22 additions and 21 deletions
+10
View File
@@ -1,6 +1,16 @@
# 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.8.0_6.5.4
### Changed
- Upgrade version 3.8.0_6.5.4. ([#97](https://github.com/wazuh/wazuh-docker/pull/97))
### Removed
- Remove cluster.py work around. ([#99](https://github.com/wazuh/wazuh-docker/pull/99))
## Wazuh Docker v3.7.2_6.5.4 ## Wazuh Docker v3.7.2_6.5.4
### Added ### Added
+2 -6
View File
@@ -1,6 +1,6 @@
# Wazuh containers for Docker # Wazuh containers for Docker
[![Slack](https://img.shields.io/badge/slack-join-blue.svg)](https://goo.gl/forms/M2AoZC4b2R9A9Zy12) [![Slack](https://img.shields.io/badge/slack-join-blue.svg)](https://wazuh.com/community/join-us-on-slack/)
[![Email](https://img.shields.io/badge/email-join-blue.svg)](https://groups.google.com/forum/#!forum/wazuh) [![Email](https://img.shields.io/badge/email-join-blue.svg)](https://groups.google.com/forum/#!forum/wazuh)
[![Documentation](https://img.shields.io/badge/docs-view-green.svg)](https://documentation.wazuh.com) [![Documentation](https://img.shields.io/badge/docs-view-green.svg)](https://documentation.wazuh.com)
[![Documentation](https://img.shields.io/badge/web-view-green.svg)](https://wazuh.com) [![Documentation](https://img.shields.io/badge/web-view-green.svg)](https://wazuh.com)
@@ -20,10 +20,6 @@ In addition, a docker-compose file is provided to launch the containers mentione
* [Wazuh documentation for Docker](https://documentation.wazuh.com/current/docker/index.html) * [Wazuh documentation for Docker](https://documentation.wazuh.com/current/docker/index.html)
* [Docker hub](https://hub.docker.com/u/wazuh) * [Docker hub](https://hub.docker.com/u/wazuh)
## Current release
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
wazuh-docker wazuh-docker
@@ -64,7 +60,7 @@ Containers are currently tested on Wazuh version 3.7.2 and Elastic Stack version
* `stable` branch on correspond to the last Wazuh-Docker stable version. * `stable` branch on correspond to the last Wazuh-Docker stable version.
* `master` branch contains the latest code, be aware of possible bugs on this branch. * `master` branch contains the latest code, be aware of possible bugs on this branch.
* `Wazuh.Version_ElsaticStack.Version` (for example 3.7.0_6.4.3) branch. This branch contains the current release referenced in Docker Hub. The container images are installed under the current version of this branch. * `Wazuh.Version_ElasticStack.Version` (for example 3.7.0_6.4.3) branch. This branch contains the current release referenced in Docker Hub. The container images are installed under the current version of this branch.
## Credits and Thank you ## Credits and Thank you
+2 -2
View File
@@ -1,2 +1,2 @@
WAZUH-DOCKER_VERSION="3.7.2_6.5.4" WAZUH-DOCKER_VERSION="3.8.0_6.5.4"
REVISION="3732" REVISION="3800"
+4 -4
View File
@@ -3,7 +3,7 @@ version: '2'
services: services:
wazuh: wazuh:
image: wazuh/wazuh:3.7.2_6.5.4 image: wazuh/wazuh:3.8.0_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.4 image: wazuh/wazuh-logstash:3.8.0_6.5.4
hostname: logstash hostname: logstash
restart: always restart: always
# volumes: # volumes:
@@ -61,7 +61,7 @@ services:
networks: networks:
- docker_elk - docker_elk
kibana: kibana:
image: wazuh/wazuh-kibana:3.7.2_6.5.4 image: wazuh/wazuh-kibana:3.8.0_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.4 image: wazuh/wazuh-nginx:3.8.0_6.5.4
hostname: nginx hostname: nginx
restart: always restart: always
environment: environment:
+2 -2
View File
@@ -1,11 +1,11 @@
# 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.4 FROM docker.elastic.co/kibana/kibana:6.5.4
ARG WAZUH_APP_VERSION=3.7.2_6.5.4 ARG WAZUH_APP_VERSION=3.8.0_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
ADD https://raw.githubusercontent.com/wazuh/wazuh/3.7/extensions/elasticsearch/wazuh-elastic6-template-alerts.json /usr/share/kibana/config ADD https://raw.githubusercontent.com/wazuh/wazuh/3.8/extensions/elasticsearch/wazuh-elastic6-template-alerts.json /usr/share/kibana/config
RUN NODE_OPTIONS="--max-old-space-size=3072" /usr/share/kibana/bin/kibana-plugin install file:///tmp/wazuhapp-${WAZUH_APP_VERSION}.zip &&\ RUN NODE_OPTIONS="--max-old-space-size=3072" /usr/share/kibana/bin/kibana-plugin install file:///tmp/wazuhapp-${WAZUH_APP_VERSION}.zip &&\
chown -R kibana:kibana /usr/share/kibana &&\ chown -R kibana:kibana /usr/share/kibana &&\
+2 -4
View File
@@ -1,7 +1,8 @@
# 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.4 ARG FILEBEAT_VERSION=6.5.4
ARG WAZUH_VERSION=3.7.2-1 ARG WAZUH_VERSION=3.8.0-1
# Updating image # Updating image
RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold"
@@ -76,8 +77,5 @@ 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"]
-3
View File
@@ -107,9 +107,6 @@ else
print "No Wazuh configuration files to mount..." print "No Wazuh configuration files to mount..."
fi fi
# Enabling ossec-authd.
exec_cmd "/var/ossec/bin/ossec-control enable auth"
function ossec_shutdown(){ function ossec_shutdown(){
${WAZUH_INSTALL_PATH}/bin/ossec-control stop; ${WAZUH_INSTALL_PATH}/bin/ossec-control stop;
} }