mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-10-30 19:43:30 +00:00 
			
		
		
		
	Compare commits
	
		
			22 Commits
		
	
	
		
			4.4
			...
			v4.5.1-rc2
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 41267d4ddf | ||
|  | 67f34fb8fe | ||
|  | 865f7625f4 | ||
|  | c56952eaa0 | ||
|  | e19fa14013 | ||
|  | e01d39e138 | ||
|  | 1eeca6267b | ||
|  | d755ffbac8 | ||
|  | 221c3ccd24 | ||
|  | 1ff589ccaf | ||
|  | d4c98491fc | ||
|  | 673c28b637 | ||
|  | 1a75d4eb77 | ||
|  | 247555b1b6 | ||
|  | 442d457933 | ||
|  | 0f65448718 | ||
|  | 61c37a78de | ||
|  | 39208c513c | ||
|  | 3650feeb0e | ||
|  | 2340db4079 | ||
|  | 9159eda943 | ||
|  | 41196a5529 | 
							
								
								
									
										4
									
								
								.env
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								.env
									
									
									
									
									
								
							| @@ -1,3 +1,3 @@ | ||||
| WAZUH_VERSION=4.4.5 | ||||
| WAZUH_IMAGE_VERSION=4.4.5 | ||||
| WAZUH_VERSION=4.5.1 | ||||
| WAZUH_IMAGE_VERSION=4.5.1 | ||||
| WAZUH_TAG_REVISION=1 | ||||
|   | ||||
							
								
								
									
										2
									
								
								.github/.goss.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/.goss.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -56,7 +56,7 @@ package: | ||||
|   wazuh-manager: | ||||
|     installed: true | ||||
|     versions: | ||||
|     - 4.4.5-1 | ||||
|     - 4.5.1-1 | ||||
| port: | ||||
|   tcp:1514: | ||||
|     listening: true | ||||
|   | ||||
							
								
								
									
										10
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @@ -1,6 +1,16 @@ | ||||
| # Change Log | ||||
| All notable changes to this project will be documented in this file. | ||||
|  | ||||
| ## Wazuh Docker v4.5.1 | ||||
| ### Added | ||||
|  | ||||
| - Update Wazuh to version [4.5.1](https://github.com/wazuh/wazuh/blob/v4.5.1/CHANGELOG.md#v451) | ||||
|  | ||||
| ## Wazuh Docker v4.5.0 | ||||
| ### Added | ||||
|  | ||||
| - Update Wazuh to version [4.5.0](https://github.com/wazuh/wazuh/blob/v4.5.0/CHANGELOG.md#v450) | ||||
|  | ||||
| ## Wazuh Docker v4.4.5 | ||||
| ### Added | ||||
|  | ||||
|   | ||||
| @@ -195,6 +195,8 @@ WAZUH_MONITORING_REPLICAS=0         ## | ||||
|  | ||||
| | Wazuh version | ODFE    | XPACK  | | ||||
| |---------------|---------|--------| | ||||
| | v4.5.1        |         |        | | ||||
| | v4.5.0        |         |        | | ||||
| | v4.4.5        |         |        | | ||||
| | v4.4.4        |         |        | | ||||
| | v4.4.3        |         |        | | ||||
|   | ||||
							
								
								
									
										4
									
								
								VERSION
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								VERSION
									
									
									
									
									
								
							| @@ -1,2 +1,2 @@ | ||||
| WAZUH-DOCKER_VERSION="4.4.5" | ||||
| REVISION="40413" | ||||
| WAZUH-DOCKER_VERSION="4.5.1" | ||||
| REVISION="40503" | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| WAZUH_IMAGE_VERSION=4.4.5 | ||||
| WAZUH_IMAGE_VERSION=4.5.1 | ||||
| WAZUH_VERSION=$(echo $WAZUH_IMAGE_VERSION | sed -e 's/\.//g') | ||||
| WAZUH_TAG_REVISION=1 | ||||
| WAZUH_CURRENT_VERSION=$(curl --silent https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '\"tag_name\":' | sed -E 's/.*\"([^\"]+)\".*/\1/' | cut -c 2- | sed -e 's/\.//g') | ||||
|   | ||||
| @@ -9,8 +9,8 @@ export CONFIG_DIR=${INSTALLATION_DIR}/config | ||||
|  | ||||
| ## Variables | ||||
| CERT_TOOL=wazuh-certs-tool.sh | ||||
| PACKAGES_URL=https://packages.wazuh.com/4.4/ | ||||
| PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.4/ | ||||
| PACKAGES_URL=https://packages.wazuh.com/4.5/ | ||||
| PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.5/ | ||||
|  | ||||
| ## Check if the cert tool exists in S3 buckets | ||||
| CERT_TOOL_PACKAGES=$(curl --silent -I $PACKAGES_URL$CERT_TOOL | grep -E "^HTTP" | awk  '{print $2}') | ||||
|   | ||||
| @@ -53,8 +53,8 @@ tar -xf ${INDEXER_FILE} | ||||
| ## Variables | ||||
| CERT_TOOL=wazuh-certs-tool.sh | ||||
| PASSWORD_TOOL=wazuh-passwords-tool.sh | ||||
| PACKAGES_URL=https://packages.wazuh.com/4.4/ | ||||
| PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.4/ | ||||
| PACKAGES_URL=https://packages.wazuh.com/4.5/ | ||||
| PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.5/ | ||||
|  | ||||
| ## Check if the cert tool exists in S3 buckets | ||||
| CERT_TOOL_PACKAGES=$(curl --silent -I $PACKAGES_URL$CERT_TOOL | grep -E "^HTTP" | awk  '{print $2}') | ||||
|   | ||||
| @@ -5,7 +5,7 @@ RUN rm /bin/sh && ln -s /bin/bash /bin/sh | ||||
|  | ||||
| ARG WAZUH_VERSION | ||||
| ARG WAZUH_TAG_REVISION | ||||
| ARG TEMPLATE_VERSION=4.4 | ||||
| ARG TEMPLATE_VERSION=4.5 | ||||
| ARG FILEBEAT_CHANNEL=filebeat-oss | ||||
| ARG FILEBEAT_VERSION=7.10.2 | ||||
| ARG WAZUH_FILEBEAT_MODULE="wazuh-filebeat-0.2.tar.gz" | ||||
|   | ||||
| @@ -8,8 +8,8 @@ | ||||
| ## Variables | ||||
| CERT_TOOL=wazuh-certs-tool.sh | ||||
| PASSWORD_TOOL=wazuh-passwords-tool.sh | ||||
| PACKAGES_URL=https://packages.wazuh.com/4.4/ | ||||
| PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.4/ | ||||
| PACKAGES_URL=https://packages.wazuh.com/4.5/ | ||||
| PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.5/ | ||||
|  | ||||
| ## Check if the cert tool exists in S3 buckets | ||||
| CERT_TOOL_PACKAGES=$(curl --silent -I $PACKAGES_URL$CERT_TOOL | grep -E "^HTTP" | awk  '{print $2}') | ||||
| @@ -17,13 +17,13 @@ CERT_TOOL_PACKAGES_DEV=$(curl --silent -I $PACKAGES_DEV_URL$CERT_TOOL | grep -E | ||||
|  | ||||
| ## If cert tool exists in some bucket, download it, if not exit 1 | ||||
| if [ "$CERT_TOOL_PACKAGES" = "200" ]; then | ||||
|   curl -o $CERT_TOOL $PACKAGES_URL$CERT_TOOL | ||||
|   echo "Cert tool exists in Packages bucket" | ||||
|   curl -o $CERT_TOOL $PACKAGES_URL$CERT_TOOL -s | ||||
|   echo "The tool to create the certificates exists in the in Packages bucket" | ||||
| elif [ "$CERT_TOOL_PACKAGES_DEV" = "200" ]; then | ||||
|   curl -o $CERT_TOOL $PACKAGES_DEV_URL$CERT_TOOL | ||||
|   echo "Cert tool exists in Packages-dev bucket" | ||||
|   curl -o $CERT_TOOL $PACKAGES_DEV_URL$CERT_TOOL -s | ||||
|   echo "The tool to create the certificates exists in Packages-dev bucket" | ||||
| else | ||||
|   echo "Cert tool does not exist in any bucket" | ||||
|   echo "The tool to create the certificates does not exist in any bucket" | ||||
|   echo "ERROR: certificates were not created" | ||||
|   exit 1 | ||||
| fi | ||||
| @@ -41,9 +41,9 @@ source /$CERT_TOOL -A | ||||
| nodes_server=$( cert_parseYaml /config.yml | grep nodes_server__name | sed 's/nodes_server__name=//' ) | ||||
| node_names=($nodes_server) | ||||
|  | ||||
| echo "Moving created certificates to destination directory" | ||||
| echo "Moving created certificates to the destination directory" | ||||
| cp /wazuh-certificates/* /certificates/ | ||||
| echo "changing certificate permissions" | ||||
| echo "Changing certificate permissions" | ||||
| chmod -R 500 /certificates | ||||
| chmod -R 400 /certificates/* | ||||
| echo "Setting UID indexer and dashboard" | ||||
|   | ||||
| @@ -153,7 +153,6 @@ | ||||
|     <!-- Aggregate vulnerabilities --> | ||||
|     <provider name="nvd"> | ||||
|       <enabled>yes</enabled> | ||||
|       <update_from_year>2010</update_from_year> | ||||
|       <update_interval>1h</update_interval> | ||||
|     </provider> | ||||
|  | ||||
|   | ||||
| @@ -153,7 +153,6 @@ | ||||
|     <!-- Aggregate vulnerabilities --> | ||||
|     <provider name="nvd"> | ||||
|       <enabled>yes</enabled> | ||||
|       <update_from_year>2010</update_from_year> | ||||
|       <update_interval>1h</update_interval> | ||||
|     </provider> | ||||
|  | ||||
|   | ||||
| @@ -3,9 +3,16 @@ version: '3.7' | ||||
|  | ||||
| services: | ||||
|   wazuh.master: | ||||
|     image: wazuh/wazuh-manager:4.4.5 | ||||
|     image: wazuh/wazuh-manager:4.5.1 | ||||
|     hostname: wazuh.master | ||||
|     restart: always | ||||
|     ulimits: | ||||
|       memlock: | ||||
|         soft: -1 | ||||
|         hard: -1 | ||||
|       nofile: | ||||
|         soft: 655360 | ||||
|         hard: 655360 | ||||
|     ports: | ||||
|       - "1515:1515" | ||||
|       - "514:514/udp" | ||||
| @@ -38,9 +45,16 @@ services: | ||||
|       - ./config/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf | ||||
|  | ||||
|   wazuh.worker: | ||||
|     image: wazuh/wazuh-manager:4.4.5 | ||||
|     image: wazuh/wazuh-manager:4.5.1 | ||||
|     hostname: wazuh.worker | ||||
|     restart: always | ||||
|     ulimits: | ||||
|       memlock: | ||||
|         soft: -1 | ||||
|         hard: -1 | ||||
|       nofile: | ||||
|         soft: 655360 | ||||
|         hard: 655360 | ||||
|     environment: | ||||
|       - INDEXER_URL=https://wazuh1.indexer:9200 | ||||
|       - INDEXER_USERNAME=admin | ||||
| @@ -67,7 +81,7 @@ services: | ||||
|       - ./config/wazuh_cluster/wazuh_worker.conf:/wazuh-config-mount/etc/ossec.conf | ||||
|  | ||||
|   wazuh1.indexer: | ||||
|     image: wazuh/wazuh-indexer:4.4.5 | ||||
|     image: wazuh/wazuh-indexer:4.5.1 | ||||
|     hostname: wazuh1.indexer | ||||
|     restart: always | ||||
|     ports: | ||||
| @@ -93,7 +107,7 @@ services: | ||||
|       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml | ||||
|  | ||||
|   wazuh2.indexer: | ||||
|     image: wazuh/wazuh-indexer:4.4.5 | ||||
|     image: wazuh/wazuh-indexer:4.5.1 | ||||
|     hostname: wazuh2.indexer | ||||
|     restart: always | ||||
|     environment: | ||||
| @@ -115,7 +129,7 @@ services: | ||||
|       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml | ||||
|  | ||||
|   wazuh3.indexer: | ||||
|     image: wazuh/wazuh-indexer:4.4.5 | ||||
|     image: wazuh/wazuh-indexer:4.5.1 | ||||
|     hostname: wazuh3.indexer | ||||
|     restart: always | ||||
|     environment: | ||||
| @@ -137,7 +151,7 @@ services: | ||||
|       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml | ||||
|  | ||||
|   wazuh.dashboard: | ||||
|     image: wazuh/wazuh-dashboard:4.4.5 | ||||
|     image: wazuh/wazuh-dashboard:4.5.1 | ||||
|     hostname: wazuh.dashboard | ||||
|     restart: always | ||||
|     ports: | ||||
|   | ||||
| @@ -153,7 +153,6 @@ | ||||
|     <!-- Aggregate vulnerabilities --> | ||||
|     <provider name="nvd"> | ||||
|       <enabled>yes</enabled> | ||||
|       <update_from_year>2010</update_from_year> | ||||
|       <update_interval>1h</update_interval> | ||||
|     </provider> | ||||
|  | ||||
|   | ||||
| @@ -3,9 +3,16 @@ version: '3.7' | ||||
|  | ||||
| services: | ||||
|   wazuh.manager: | ||||
|     image: wazuh/wazuh-manager:4.4.5 | ||||
|     image: wazuh/wazuh-manager:4.5.1 | ||||
|     hostname: wazuh.manager | ||||
|     restart: always | ||||
|     ulimits: | ||||
|       memlock: | ||||
|         soft: -1 | ||||
|         hard: -1 | ||||
|       nofile: | ||||
|         soft: 655360 | ||||
|         hard: 655360 | ||||
|     ports: | ||||
|       - "1514:1514" | ||||
|       - "1515:1515" | ||||
| @@ -39,7 +46,7 @@ services: | ||||
|       - ./config/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf | ||||
|  | ||||
|   wazuh.indexer: | ||||
|     image: wazuh/wazuh-indexer:4.4.5 | ||||
|     image: wazuh/wazuh-indexer:4.5.1 | ||||
|     hostname: wazuh.indexer | ||||
|     restart: always | ||||
|     ports: | ||||
| @@ -64,7 +71,7 @@ services: | ||||
|       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml | ||||
|  | ||||
|   wazuh.dashboard: | ||||
|     image: wazuh/wazuh-dashboard:4.4.5 | ||||
|     image: wazuh/wazuh-dashboard:4.5.1 | ||||
|     hostname: wazuh.dashboard | ||||
|     restart: always | ||||
|     ports: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user