mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-03 05:23:14 +00:00 
			
		
		
		
	Compare commits
	
		
			4 Commits
		
	
	
		
			v4.6.0-pre
			...
			v3.9.2_6.8
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					0c7e20b16b | ||
| 
						 | 
					eeed3c2ec6 | ||
| 
						 | 
					815039333d | ||
| 
						 | 
					9b2ecdb47d | 
@@ -1,6 +1,12 @@
 | 
				
			|||||||
# 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.9.2_6.8.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Added
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Update to Wazuh version 3.9.2_6.8.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Wazuh Docker v3.9.1_6.8.0
 | 
					## Wazuh Docker v3.9.1_6.8.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Added
 | 
					### Added
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -63,7 +63,7 @@ In addition, a docker-compose file is provided to launch the containers mentione
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
* `stable` branch on correspond to the latest Wazuh-Docker stable version.
 | 
					* `stable` branch on correspond to the latest 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_ElasticStack.Version` (for example 3.9.1_6.8.2) 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.9.2_6.8.0) 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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								VERSION
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								VERSION
									
									
									
									
									
								
							@@ -1,2 +1,2 @@
 | 
				
			|||||||
WAZUH-DOCKER_VERSION="3.9.1_6.8.0"
 | 
					WAZUH-DOCKER_VERSION="3.9.2_6.8.0"
 | 
				
			||||||
REVISION="3901"
 | 
					REVISION="3920"
 | 
				
			||||||
@@ -3,7 +3,7 @@ version: '2'
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
services:
 | 
					services:
 | 
				
			||||||
  wazuh:
 | 
					  wazuh:
 | 
				
			||||||
    image: wazuh/wazuh:3.9.1_6.8.0
 | 
					    image: wazuh/wazuh:3.9.2_6.8.0
 | 
				
			||||||
    hostname: wazuh-manager
 | 
					    hostname: wazuh-manager
 | 
				
			||||||
    restart: always
 | 
					    restart: always
 | 
				
			||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
@@ -14,7 +14,7 @@ services:
 | 
				
			|||||||
    depends_on:
 | 
					    depends_on:
 | 
				
			||||||
      - logstash
 | 
					      - logstash
 | 
				
			||||||
  logstash:
 | 
					  logstash:
 | 
				
			||||||
    image: wazuh/wazuh-logstash:3.9.1_6.8.0
 | 
					    image: wazuh/wazuh-logstash:3.9.2_6.8.0
 | 
				
			||||||
    hostname: logstash
 | 
					    hostname: logstash
 | 
				
			||||||
    restart: always
 | 
					    restart: always
 | 
				
			||||||
    links:
 | 
					    links:
 | 
				
			||||||
@@ -26,7 +26,7 @@ services:
 | 
				
			|||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      - LS_HEAP_SIZE=2048m
 | 
					      - LS_HEAP_SIZE=2048m
 | 
				
			||||||
  elasticsearch:
 | 
					  elasticsearch:
 | 
				
			||||||
    image: wazuh/wazuh-elasticsearch:3.9.1_6.8.0
 | 
					    image: wazuh/wazuh-elasticsearch:3.9.2_6.8.0
 | 
				
			||||||
    hostname: elasticsearch
 | 
					    hostname: elasticsearch
 | 
				
			||||||
    restart: always
 | 
					    restart: always
 | 
				
			||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
@@ -43,7 +43,7 @@ services:
 | 
				
			|||||||
        hard: -1
 | 
					        hard: -1
 | 
				
			||||||
    mem_limit: 2g
 | 
					    mem_limit: 2g
 | 
				
			||||||
  kibana:
 | 
					  kibana:
 | 
				
			||||||
    image: wazuh/wazuh-kibana:3.9.1_6.8.0
 | 
					    image: wazuh/wazuh-kibana:3.9.2_6.8.0
 | 
				
			||||||
    hostname: kibana
 | 
					    hostname: kibana
 | 
				
			||||||
    restart: always
 | 
					    restart: always
 | 
				
			||||||
    depends_on:
 | 
					    depends_on:
 | 
				
			||||||
@@ -52,7 +52,7 @@ services:
 | 
				
			|||||||
      - elasticsearch:elasticsearch
 | 
					      - elasticsearch:elasticsearch
 | 
				
			||||||
      - wazuh:wazuh
 | 
					      - wazuh:wazuh
 | 
				
			||||||
  nginx:
 | 
					  nginx:
 | 
				
			||||||
    image: wazuh/wazuh-nginx:3.9.1_6.8.0
 | 
					    image: wazuh/wazuh-nginx:3.9.2_6.8.0
 | 
				
			||||||
    hostname: nginx
 | 
					    hostname: nginx
 | 
				
			||||||
    restart: always
 | 
					    restart: always
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,7 @@ ENV XPACK_ML="true"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
ENV ENABLE_CONFIGURE_S3="false"
 | 
					ENV ENABLE_CONFIGURE_S3="false"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ENV TEMPLATE_VERSION=v3.9.1
 | 
					ENV TEMPLATE_VERSION=v3.9.2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Elasticearch cluster configuration environment variables
 | 
					# Elasticearch cluster configuration environment variables
 | 
				
			||||||
# If ELASTIC_CLUSTER is set to "true" the following variables will be added to the Elasticsearch configuration
 | 
					# If ELASTIC_CLUSTER is set to "true" the following variables will be added to the Elasticsearch configuration
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,7 +11,7 @@ else
 | 
				
			|||||||
  wazuh_url="${WAZUH_API_URL}"
 | 
					  wazuh_url="${WAZUH_API_URL}"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ ${ENABLED_XPACK} != "true" || "x${ELASTICSEARCH_USERNAME}" = "x" || "x${ELASTICSEARCH_PASSWORD}" = "x" ]; then
 | 
					if [[ ${ENABLED_XPACK} != "true" || "x${ELASTICSEARCH_USERNAME}" = "x" || "x${ELASTICSEARCH_PASSWORD}" = "x" ]]; then
 | 
				
			||||||
  auth=""
 | 
					  auth=""
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  auth="--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}"
 | 
					  auth="--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,11 +1,11 @@
 | 
				
			|||||||
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
 | 
					# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
 | 
				
			||||||
FROM docker.elastic.co/kibana/kibana:6.8.0
 | 
					FROM docker.elastic.co/kibana/kibana:6.8.0
 | 
				
			||||||
ARG WAZUH_APP_VERSION=3.9.1_6.8.0
 | 
					ARG WAZUH_APP_VERSION=3.9.2_6.8.0
 | 
				
			||||||
USER root
 | 
					USER root
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ADD https://packages-dev.wazuh.com/pre-release/app/kibana/wazuhapp-3.9.1_6.8.0.zip /tmp
 | 
					ADD https://packages-dev.wazuh.com/pre-release/app/kibana/wazuhapp-${WAZUH_APP_VERSION}.zip /tmp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN NODE_OPTIONS="--max-old-space-size=3072" /usr/share/kibana/bin/kibana-plugin install file:///tmp/wazuhapp-3.9.1_6.8.0.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 &&\
 | 
				
			||||||
    rm -rf /tmp/*
 | 
					    rm -rf /tmp/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -41,15 +41,15 @@ ENV PATTERN="" \
 | 
				
			|||||||
    WAZUH_MONITORING_REPLICAS="" \
 | 
					    WAZUH_MONITORING_REPLICAS="" \
 | 
				
			||||||
    ADMIN_PRIVILEGES=""
 | 
					    ADMIN_PRIVILEGES=""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ARG XPACK_CANVAS="true"
 | 
					ARG XPACK_CANVAS="false"
 | 
				
			||||||
ARG XPACK_LOGS="true"
 | 
					ARG XPACK_LOGS="false"
 | 
				
			||||||
ARG XPACK_INFRA="true"
 | 
					ARG XPACK_INFRA="false"
 | 
				
			||||||
ARG XPACK_ML="true"
 | 
					ARG XPACK_ML="false"
 | 
				
			||||||
ARG XPACK_DEVTOOLS="true"
 | 
					ARG XPACK_DEVTOOLS="false"
 | 
				
			||||||
ARG XPACK_MONITORING="true"
 | 
					ARG XPACK_MONITORING="false"
 | 
				
			||||||
ARG XPACK_APM="true"
 | 
					ARG XPACK_APM="false"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ARG CHANGE_WELCOME="false"
 | 
					ARG CHANGE_WELCOME="true"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY --chown=kibana:kibana ./config/wazuh_app_config.sh ./
 | 
					COPY --chown=kibana:kibana ./config/wazuh_app_config.sh ./
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,7 @@ else
 | 
				
			|||||||
  el_url="${ELASTICSEARCH_URL}"
 | 
					  el_url="${ELASTICSEARCH_URL}"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ ${ENABLED_XPACK} != "true" || "x${ELASTICSEARCH_USERNAME}" = "x" || "x${ELASTICSEARCH_PASSWORD}" = "x" ]; then
 | 
					if [[ ${ENABLED_XPACK} != "true" || "x${ELASTICSEARCH_USERNAME}" = "x" || "x${ELASTICSEARCH_PASSWORD}" = "x" ]]; then
 | 
				
			||||||
  auth=""
 | 
					  auth=""
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  auth="--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}"
 | 
					  auth="--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
 | 
					# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
 | 
				
			||||||
FROM phusion/baseimage:latest
 | 
					FROM phusion/baseimage:latest
 | 
				
			||||||
ARG FILEBEAT_VERSION=6.8.0
 | 
					ARG FILEBEAT_VERSION=6.8.0
 | 
				
			||||||
ARG WAZUH_VERSION=3.9.1-1
 | 
					ARG WAZUH_VERSION=3.9.2-1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ENV API_USER="foo" \
 | 
					ENV API_USER="foo" \
 | 
				
			||||||
    API_PASS="bar"
 | 
					    API_PASS="bar"
 | 
				
			||||||
@@ -16,8 +16,8 @@ RUN set -x && echo "deb https://packages.wazuh.com/3.x/apt/ stable main" | tee /
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
RUN add-apt-repository universe && apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" && \
 | 
					RUN add-apt-repository universe && apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" && \
 | 
				
			||||||
   apt-get --no-install-recommends --no-install-suggests -y install openssl postfix bsd-mailx python-boto python-pip  \
 | 
					   apt-get --no-install-recommends --no-install-suggests -y install openssl postfix bsd-mailx python-boto python-pip  \
 | 
				
			||||||
   apt-transport-https vim expect nodejs python-cryptography mailutils libsasl2-modules wazuh-manager \
 | 
					   apt-transport-https vim expect nodejs python-cryptography mailutils libsasl2-modules wazuh-manager=${WAZUH_VERSION} \
 | 
				
			||||||
   wazuh-api && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -f \
 | 
					   wazuh-api=${WAZUH_VERSION} && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -f \
 | 
				
			||||||
   /var/ossec/logs/alerts/*/*/*.log && rm -f /var/ossec/logs/alerts/*/*/*.json && rm -f \
 | 
					   /var/ossec/logs/alerts/*/*/*.log && rm -f /var/ossec/logs/alerts/*/*/*.json && rm -f \
 | 
				
			||||||
   /var/ossec/logs/archives/*/*/*.log && rm -f /var/ossec/logs/archives/*/*/*.json && rm -f \
 | 
					   /var/ossec/logs/archives/*/*/*.log && rm -f /var/ossec/logs/archives/*/*/*.json && rm -f \
 | 
				
			||||||
   /var/ossec/logs/firewall/*/*/*.log && rm -f /var/ossec/logs/firewall/*/*/*.json
 | 
					   /var/ossec/logs/firewall/*/*/*.log && rm -f /var/ossec/logs/firewall/*/*/*.json
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user