mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-10-30 03:23:35 +00:00 
			
		
		
		
	Compare commits
	
		
			79 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 3a3218f0d4 | ||
|  | dd86d1b707 | ||
|  | 8aad8651d7 | ||
|  | 3c073ab5ea | ||
|  | 5106715b0c | ||
|  | ded91b2f0a | ||
|  | d7e051af19 | ||
|  | 93c53a712d | ||
|  | 5f3a0481ba | ||
|  | 088b855f73 | ||
|  | 41515e9c49 | ||
|  | 0fbbf5aee2 | ||
|  | 37f565bb8a | ||
|  | 2ac53b9b3d | ||
|  | d1c252c6c0 | ||
|  | e9f689dbfc | ||
|  | be19c70082 | ||
|  | 1fae0d3452 | ||
|  | 0a4c057492 | ||
|  | 2902a0ce0b | ||
|  | c0fb4172f3 | ||
|  | 8886e2347e | ||
|  | f1d8565989 | ||
|  | e5abd5d24e | ||
|  | 902b0d8e52 | ||
|  | c0d97893a4 | ||
|  | 0826f2c176 | ||
|  | d531b8dd72 | ||
|  | 41267d4ddf | ||
|  | 67f34fb8fe | ||
|  | 865f7625f4 | ||
|  | c56952eaa0 | ||
|  | cb7d8785c6 | ||
|  | f1001c2f25 | ||
|  | 216b5a6818 | ||
|  | e19fa14013 | ||
|  | 57c7eaa5af | ||
|  | fbe073612c | ||
|  | 32b1d88e36 | ||
|  | 94be842afc | ||
|  | d20bbe247c | ||
|  | e01d39e138 | ||
|  | 1eeca6267b | ||
|  | d755ffbac8 | ||
|  | 221c3ccd24 | ||
|  | 1ff589ccaf | ||
|  | d4c98491fc | ||
|  | 673c28b637 | ||
|  | da82008a75 | ||
|  | 54975ab099 | ||
|  | 1a75d4eb77 | ||
|  | 247555b1b6 | ||
|  | 442d457933 | ||
|  | 0f65448718 | ||
|  | a9533264d6 | ||
|  | ce8dd29425 | ||
|  | a433989865 | ||
|  | ff1e5f991a | ||
|  | 55ee49aff5 | ||
|  | 75f92308a1 | ||
|  | 61c37a78de | ||
|  | 39208c513c | ||
|  | 3650feeb0e | ||
|  | 2340db4079 | ||
|  | 9159eda943 | ||
|  | d278782134 | ||
|  | 77725b7eb2 | ||
|  | 4e7c2cf72a | ||
|  | 41196a5529 | ||
|  | 8ce1f36f10 | ||
|  | e2e95a5c57 | ||
|  | b259665fc6 | ||
|  | 820079f1d0 | ||
|  | 028b5f6034 | ||
|  | cd7dc4c7cf | ||
|  | 40faad148d | ||
|  | 02aaf45e9d | ||
|  | cd9f211eb3 | ||
|  | 20c8000fec | 
							
								
								
									
										4
									
								
								.env
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								.env
									
									
									
									
									
								
							| @@ -1,3 +1,3 @@ | |||||||
| WAZUH_VERSION=4.4.1 | WAZUH_VERSION=4.5.4 | ||||||
| WAZUH_IMAGE_VERSION=4.4.1 | WAZUH_IMAGE_VERSION=4.5.4 | ||||||
| WAZUH_TAG_REVISION=1 | WAZUH_TAG_REVISION=1 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/.goss.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/.goss.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -56,7 +56,7 @@ package: | |||||||
|   wazuh-manager: |   wazuh-manager: | ||||||
|     installed: true |     installed: true | ||||||
|     versions: |     versions: | ||||||
|     - 4.4.1-1 |     - 4.5.4-1 | ||||||
| port: | port: | ||||||
|   tcp:1514: |   tcp:1514: | ||||||
|     listening: true |     listening: true | ||||||
|   | |||||||
							
								
								
									
										50
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										50
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @@ -1,6 +1,51 @@ | |||||||
| # 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 v4.5.4 | ||||||
|  | ### Added | ||||||
|  |  | ||||||
|  | - Update Wazuh to version [4.5.4](https://github.com/wazuh/wazuh/blob/v4.5.4/CHANGELOG.md#v454) | ||||||
|  |  | ||||||
|  | ## Wazuh Docker v4.5.3 | ||||||
|  | ### Added | ||||||
|  |  | ||||||
|  | - Update Wazuh to version [4.5.3](https://github.com/wazuh/wazuh/blob/v4.5.3/CHANGELOG.md#v453) | ||||||
|  |  | ||||||
|  | ## Wazuh Docker v4.5.2 | ||||||
|  | ### Added | ||||||
|  |  | ||||||
|  | - Update Wazuh to version [4.5.2](https://github.com/wazuh/wazuh/blob/v4.5.2/CHANGELOG.md#v452) | ||||||
|  |  | ||||||
|  | ## 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 | ||||||
|  |  | ||||||
|  | - Update Wazuh to version [4.4.5](https://github.com/wazuh/wazuh/blob/v4.4.5/CHANGELOG.md#v445) | ||||||
|  |  | ||||||
|  | ## Wazuh Docker v4.4.4 | ||||||
|  | ### Added | ||||||
|  |  | ||||||
|  | - Update Wazuh to version [4.4.4](https://github.com/wazuh/wazuh/blob/v4.4.4/CHANGELOG.md#v444) | ||||||
|  |  | ||||||
|  | ## Wazuh Docker v4.4.3 | ||||||
|  | ### Added | ||||||
|  |  | ||||||
|  | - Update Wazuh to version [4.4.3](https://github.com/wazuh/wazuh/blob/v4.4.3/CHANGELOG.md#v443) | ||||||
|  |  | ||||||
|  | ## Wazuh Docker v4.4.2 | ||||||
|  | ### Added | ||||||
|  |  | ||||||
|  | - Update Wazuh to version [4.4.2](https://github.com/wazuh/wazuh/blob/v4.4.2/CHANGELOG.md#v442) | ||||||
|  |  | ||||||
| ## Wazuh Docker v4.4.1 | ## Wazuh Docker v4.4.1 | ||||||
| ### Added | ### Added | ||||||
|  |  | ||||||
| @@ -11,6 +56,11 @@ All notable changes to this project will be documented in this file. | |||||||
|  |  | ||||||
| - Update Wazuh to version [4.4.0](https://github.com/wazuh/wazuh/blob/v4.4.0/CHANGELOG.md#v440) | - Update Wazuh to version [4.4.0](https://github.com/wazuh/wazuh/blob/v4.4.0/CHANGELOG.md#v440) | ||||||
|  |  | ||||||
|  | ## Wazuh Docker v4.3.11 | ||||||
|  | ### Added | ||||||
|  |  | ||||||
|  | - Update Wazuh to version [4.3.11](https://github.com/wazuh/wazuh/blob/v4.3.11/CHANGELOG.md#v4311) | ||||||
|  |  | ||||||
| ## Wazuh Docker v4.3.10 | ## Wazuh Docker v4.3.10 | ||||||
| ### Added | ### Added | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @@ -195,8 +195,18 @@ WAZUH_MONITORING_REPLICAS=0         ## | |||||||
|  |  | ||||||
| | Wazuh version | ODFE    | XPACK  | | | Wazuh version | ODFE    | XPACK  | | ||||||
| |---------------|---------|--------| | |---------------|---------|--------| | ||||||
|  | | v4.5.4        |         |        | | ||||||
|  | | v4.5.3        |         |        | | ||||||
|  | | v4.5.2        |         |        | | ||||||
|  | | v4.5.1        |         |        | | ||||||
|  | | v4.5.0        |         |        | | ||||||
|  | | v4.4.5        |         |        | | ||||||
|  | | v4.4.4        |         |        | | ||||||
|  | | v4.4.3        |         |        | | ||||||
|  | | v4.4.2        |         |        | | ||||||
| | v4.4.1        |         |        | | | v4.4.1        |         |        | | ||||||
| | v4.4.0        |         |        | | | v4.4.0        |         |        | | ||||||
|  | | v4.3.11       |         |        | | ||||||
| | v4.3.10       |         |        | | | v4.3.10       |         |        | | ||||||
| | v4.3.9        |         |        | | | v4.3.9        |         |        | | ||||||
| | v4.3.8        |         |        | | | v4.3.8        |         |        | | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								VERSION
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								VERSION
									
									
									
									
									
								
							| @@ -1,2 +1,2 @@ | |||||||
| WAZUH-DOCKER_VERSION="4.4.1" | WAZUH-DOCKER_VERSION="4.5.4" | ||||||
| REVISION="40405" | REVISION="40510" | ||||||
|   | |||||||
| @@ -1,14 +1,8 @@ | |||||||
| WAZUH_IMAGE_VERSION=4.4.1 | WAZUH_IMAGE_VERSION=4.5.4 | ||||||
| WAZUH_VERSION=$(echo $WAZUH_IMAGE_VERSION | sed -e 's/\.//g') | WAZUH_VERSION=$(echo $WAZUH_IMAGE_VERSION | sed -e 's/\.//g') | ||||||
| WAZUH_TAG_REVISION=1 | 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') | 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') | ||||||
|  | IMAGE_VERSION=${WAZUH_IMAGE_VERSION} | ||||||
| ## If wazuh manager exists in apt dev repository, change variables, if not, exit 1 |  | ||||||
| if [ "$WAZUH_VERSION" -le "$WAZUH_CURRENT_VERSION" ]; then |  | ||||||
|   IMAGE_VERSION=${WAZUH_IMAGE_VERSION} |  | ||||||
| else |  | ||||||
|   IMAGE_VERSION=${WAZUH_IMAGE_VERSION} |  | ||||||
| fi |  | ||||||
|  |  | ||||||
| echo WAZUH_VERSION=$WAZUH_IMAGE_VERSION > .env | echo WAZUH_VERSION=$WAZUH_IMAGE_VERSION > .env | ||||||
| echo WAZUH_IMAGE_VERSION=$IMAGE_VERSION >> .env | echo WAZUH_IMAGE_VERSION=$IMAGE_VERSION >> .env | ||||||
|   | |||||||
| @@ -102,6 +102,10 @@ RUN chown 1000:1000 /*.sh | |||||||
| # Copy Install dir from builder to current image | # Copy Install dir from builder to current image | ||||||
| COPY --from=builder --chown=1000:1000 $INSTALL_DIR $INSTALL_DIR | COPY --from=builder --chown=1000:1000 $INSTALL_DIR $INSTALL_DIR | ||||||
|  |  | ||||||
|  | # Create custom directory | ||||||
|  | RUN mkdir -p /usr/share/wazuh-dashboard/plugins/wazuh/public/assets/custom | ||||||
|  | RUN chown 1000:1000 /usr/share/wazuh-dashboard/plugins/wazuh/public/assets/custom | ||||||
|  |  | ||||||
| # Set workdir and user | # Set workdir and user | ||||||
| WORKDIR $INSTALL_DIR | WORKDIR $INSTALL_DIR | ||||||
| USER wazuh-dashboard | USER wazuh-dashboard | ||||||
|   | |||||||
| @@ -9,8 +9,8 @@ export CONFIG_DIR=${INSTALLATION_DIR}/config | |||||||
|  |  | ||||||
| ## Variables | ## Variables | ||||||
| CERT_TOOL=wazuh-certs-tool.sh | CERT_TOOL=wazuh-certs-tool.sh | ||||||
| PACKAGES_URL=https://packages.wazuh.com/4.4/ | PACKAGES_URL=https://packages.wazuh.com/4.5/ | ||||||
| PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.4/ | PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.5/ | ||||||
|  |  | ||||||
| ## Check if the cert tool exists in S3 buckets | ## 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}') | 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 | ## Variables | ||||||
| CERT_TOOL=wazuh-certs-tool.sh | CERT_TOOL=wazuh-certs-tool.sh | ||||||
| PASSWORD_TOOL=wazuh-passwords-tool.sh | PASSWORD_TOOL=wazuh-passwords-tool.sh | ||||||
| PACKAGES_URL=https://packages.wazuh.com/4.4/ | PACKAGES_URL=https://packages.wazuh.com/4.5/ | ||||||
| PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.4/ | PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.5/ | ||||||
|  |  | ||||||
| ## Check if the cert tool exists in S3 buckets | ## 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}') | 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_VERSION | ||||||
| ARG WAZUH_TAG_REVISION | ARG WAZUH_TAG_REVISION | ||||||
| ARG TEMPLATE_VERSION=4.4 | ARG TEMPLATE_VERSION=4.5 | ||||||
| ARG FILEBEAT_CHANNEL=filebeat-oss | ARG FILEBEAT_CHANNEL=filebeat-oss | ||||||
| ARG FILEBEAT_VERSION=7.10.2 | ARG FILEBEAT_VERSION=7.10.2 | ||||||
| ARG WAZUH_FILEBEAT_MODULE="wazuh-filebeat-0.2.tar.gz" | ARG WAZUH_FILEBEAT_MODULE="wazuh-filebeat-0.2.tar.gz" | ||||||
| @@ -24,8 +24,6 @@ RUN curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/${FILEBEAT_ | |||||||
|     dpkg -i ${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-amd64.deb && rm -f ${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-amd64.deb && \ |     dpkg -i ${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-amd64.deb && rm -f ${FILEBEAT_CHANNEL}-${FILEBEAT_VERSION}-amd64.deb && \ | ||||||
|     curl -s https://packages.wazuh.com/4.x/filebeat/${WAZUH_FILEBEAT_MODULE} | tar -xvz -C /usr/share/filebeat/module |     curl -s https://packages.wazuh.com/4.x/filebeat/${WAZUH_FILEBEAT_MODULE} | tar -xvz -C /usr/share/filebeat/module | ||||||
|  |  | ||||||
| RUN curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss && chmod +rx /usr/local/bin/goss |  | ||||||
|  |  | ||||||
| ARG S6_VERSION="v2.2.0.3" | ARG S6_VERSION="v2.2.0.3" | ||||||
| RUN curl --fail --silent -L https://github.com/just-containers/s6-overlay/releases/download/${S6_VERSION}/s6-overlay-amd64.tar.gz \ | RUN curl --fail --silent -L https://github.com/just-containers/s6-overlay/releases/download/${S6_VERSION}/s6-overlay-amd64.tar.gz \ | ||||||
|     -o /tmp/s6-overlay-amd64.tar.gz && \ |     -o /tmp/s6-overlay-amd64.tar.gz && \ | ||||||
|   | |||||||
| @@ -21,6 +21,8 @@ PERMANENT_DATA_EXCP[((i++))]="/var/ossec/integrations/slack" | |||||||
| PERMANENT_DATA_EXCP[((i++))]="/var/ossec/integrations/slack.py" | PERMANENT_DATA_EXCP[((i++))]="/var/ossec/integrations/slack.py" | ||||||
| PERMANENT_DATA_EXCP[((i++))]="/var/ossec/integrations/virustotal" | PERMANENT_DATA_EXCP[((i++))]="/var/ossec/integrations/virustotal" | ||||||
| PERMANENT_DATA_EXCP[((i++))]="/var/ossec/integrations/virustotal.py" | PERMANENT_DATA_EXCP[((i++))]="/var/ossec/integrations/virustotal.py" | ||||||
|  | PERMANENT_DATA_EXCP[((i++))]="/var/ossec/integrations/shuffle" | ||||||
|  | PERMANENT_DATA_EXCP[((i++))]="/var/ossec/integrations/shuffle.py" | ||||||
| PERMANENT_DATA_EXCP[((i++))]="/var/ossec/active-response/bin/default-firewall-drop" | PERMANENT_DATA_EXCP[((i++))]="/var/ossec/active-response/bin/default-firewall-drop" | ||||||
| PERMANENT_DATA_EXCP[((i++))]="/var/ossec/active-response/bin/disable-account" | PERMANENT_DATA_EXCP[((i++))]="/var/ossec/active-response/bin/disable-account" | ||||||
| PERMANENT_DATA_EXCP[((i++))]="/var/ossec/active-response/bin/firewalld-drop" | PERMANENT_DATA_EXCP[((i++))]="/var/ossec/active-response/bin/firewalld-drop" | ||||||
|   | |||||||
| @@ -8,8 +8,8 @@ | |||||||
| ## Variables | ## Variables | ||||||
| CERT_TOOL=wazuh-certs-tool.sh | CERT_TOOL=wazuh-certs-tool.sh | ||||||
| PASSWORD_TOOL=wazuh-passwords-tool.sh | PASSWORD_TOOL=wazuh-passwords-tool.sh | ||||||
| PACKAGES_URL=https://packages.wazuh.com/4.4/ | PACKAGES_URL=https://packages.wazuh.com/4.5/ | ||||||
| PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.4/ | PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.5/ | ||||||
|  |  | ||||||
| ## Check if the cert tool exists in S3 buckets | ## 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}') | 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 exists in some bucket, download it, if not exit 1 | ||||||
| if [ "$CERT_TOOL_PACKAGES" = "200" ]; then | if [ "$CERT_TOOL_PACKAGES" = "200" ]; then | ||||||
|   curl -o $CERT_TOOL $PACKAGES_URL$CERT_TOOL |   curl -o $CERT_TOOL $PACKAGES_URL$CERT_TOOL -s | ||||||
|   echo "Cert tool exists in Packages bucket" |   echo "The tool to create the certificates exists in the in Packages bucket" | ||||||
| elif [ "$CERT_TOOL_PACKAGES_DEV" = "200" ]; then | elif [ "$CERT_TOOL_PACKAGES_DEV" = "200" ]; then | ||||||
|   curl -o $CERT_TOOL $PACKAGES_DEV_URL$CERT_TOOL |   curl -o $CERT_TOOL $PACKAGES_DEV_URL$CERT_TOOL -s | ||||||
|   echo "Cert tool exists in Packages-dev bucket" |   echo "The tool to create the certificates exists in Packages-dev bucket" | ||||||
| else | 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" |   echo "ERROR: certificates were not created" | ||||||
|   exit 1 |   exit 1 | ||||||
| fi | fi | ||||||
| @@ -41,9 +41,9 @@ source /$CERT_TOOL -A | |||||||
| nodes_server=$( cert_parseYaml /config.yml | grep nodes_server__name | sed 's/nodes_server__name=//' ) | nodes_server=$( cert_parseYaml /config.yml | grep nodes_server__name | sed 's/nodes_server__name=//' ) | ||||||
| node_names=($nodes_server) | node_names=($nodes_server) | ||||||
|  |  | ||||||
| echo "Moving created certificates to destination directory" | echo "Moving created certificates to the destination directory" | ||||||
| cp /wazuh-certificates/* /certificates/ | cp /wazuh-certificates/* /certificates/ | ||||||
| echo "changing certificate permissions" | echo "Changing certificate permissions" | ||||||
| chmod -R 500 /certificates | chmod -R 500 /certificates | ||||||
| chmod -R 400 /certificates/* | chmod -R 400 /certificates/* | ||||||
| echo "Setting UID indexer and dashboard" | echo "Setting UID indexer and dashboard" | ||||||
|   | |||||||
| @@ -108,13 +108,13 @@ | |||||||
|       <os>xenial</os> |       <os>xenial</os> | ||||||
|       <os>bionic</os> |       <os>bionic</os> | ||||||
|       <os>focal</os> |       <os>focal</os> | ||||||
|  |       <os>jammy</os> | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
|     <!-- Debian OS vulnerabilities --> |     <!-- Debian OS vulnerabilities --> | ||||||
|     <provider name="debian"> |     <provider name="debian"> | ||||||
|       <enabled>no</enabled> |       <enabled>no</enabled> | ||||||
|       <os>stretch</os> |  | ||||||
|       <os>buster</os> |       <os>buster</os> | ||||||
|       <os>bullseye</os> |       <os>bullseye</os> | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
| @@ -127,6 +127,7 @@ | |||||||
|       <os>6</os> |       <os>6</os> | ||||||
|       <os>7</os> |       <os>7</os> | ||||||
|       <os>8</os> |       <os>8</os> | ||||||
|  |       <os>9</os> | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
| @@ -138,6 +139,18 @@ | |||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
|  |     <!-- SUSE Linux Enterprise OS vulnerabilities --> | ||||||
|  |     <provider name="suse"> | ||||||
|  |       <enabled>no</enabled> | ||||||
|  |       <os>11-server</os> | ||||||
|  |       <os>11-desktop</os> | ||||||
|  |       <os>12-server</os> | ||||||
|  |       <os>12-desktop</os> | ||||||
|  |       <os>15-server</os> | ||||||
|  |       <os>15-desktop</os> | ||||||
|  |       <update_interval>1h</update_interval> | ||||||
|  |     </provider> | ||||||
|  |  | ||||||
|     <!-- Arch OS vulnerabilities --> |     <!-- Arch OS vulnerabilities --> | ||||||
|     <provider name="arch"> |     <provider name="arch"> | ||||||
|       <enabled>no</enabled> |       <enabled>no</enabled> | ||||||
| @@ -153,7 +166,6 @@ | |||||||
|     <!-- Aggregate vulnerabilities --> |     <!-- Aggregate vulnerabilities --> | ||||||
|     <provider name="nvd"> |     <provider name="nvd"> | ||||||
|       <enabled>yes</enabled> |       <enabled>yes</enabled> | ||||||
|       <update_from_year>2010</update_from_year> |  | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -108,13 +108,13 @@ | |||||||
|       <os>xenial</os> |       <os>xenial</os> | ||||||
|       <os>bionic</os> |       <os>bionic</os> | ||||||
|       <os>focal</os> |       <os>focal</os> | ||||||
|  |       <os>jammy</os> | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
|     <!-- Debian OS vulnerabilities --> |     <!-- Debian OS vulnerabilities --> | ||||||
|     <provider name="debian"> |     <provider name="debian"> | ||||||
|       <enabled>no</enabled> |       <enabled>no</enabled> | ||||||
|       <os>stretch</os> |  | ||||||
|       <os>buster</os> |       <os>buster</os> | ||||||
|       <os>bullseye</os> |       <os>bullseye</os> | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
| @@ -127,6 +127,7 @@ | |||||||
|       <os>6</os> |       <os>6</os> | ||||||
|       <os>7</os> |       <os>7</os> | ||||||
|       <os>8</os> |       <os>8</os> | ||||||
|  |       <os>9</os> | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
| @@ -138,6 +139,18 @@ | |||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
|  |     <!-- SUSE Linux Enterprise OS vulnerabilities --> | ||||||
|  |     <provider name="suse"> | ||||||
|  |       <enabled>no</enabled> | ||||||
|  |       <os>11-server</os> | ||||||
|  |       <os>11-desktop</os> | ||||||
|  |       <os>12-server</os> | ||||||
|  |       <os>12-desktop</os> | ||||||
|  |       <os>15-server</os> | ||||||
|  |       <os>15-desktop</os> | ||||||
|  |       <update_interval>1h</update_interval> | ||||||
|  |     </provider> | ||||||
|  |  | ||||||
|     <!-- Arch OS vulnerabilities --> |     <!-- Arch OS vulnerabilities --> | ||||||
|     <provider name="arch"> |     <provider name="arch"> | ||||||
|       <enabled>no</enabled> |       <enabled>no</enabled> | ||||||
| @@ -153,7 +166,6 @@ | |||||||
|     <!-- Aggregate vulnerabilities --> |     <!-- Aggregate vulnerabilities --> | ||||||
|     <provider name="nvd"> |     <provider name="nvd"> | ||||||
|       <enabled>yes</enabled> |       <enabled>yes</enabled> | ||||||
|       <update_from_year>2010</update_from_year> |  | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -3,9 +3,16 @@ version: '3.7' | |||||||
|  |  | ||||||
| services: | services: | ||||||
|   wazuh.master: |   wazuh.master: | ||||||
|     image: wazuh/wazuh-manager:4.4.1 |     image: wazuh/wazuh-manager:4.5.4 | ||||||
|     hostname: wazuh.master |     hostname: wazuh.master | ||||||
|     restart: always |     restart: always | ||||||
|  |     ulimits: | ||||||
|  |       memlock: | ||||||
|  |         soft: -1 | ||||||
|  |         hard: -1 | ||||||
|  |       nofile: | ||||||
|  |         soft: 655360 | ||||||
|  |         hard: 655360 | ||||||
|     ports: |     ports: | ||||||
|       - "1515:1515" |       - "1515:1515" | ||||||
|       - "514:514/udp" |       - "514:514/udp" | ||||||
| @@ -38,9 +45,16 @@ services: | |||||||
|       - ./config/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf |       - ./config/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf | ||||||
|  |  | ||||||
|   wazuh.worker: |   wazuh.worker: | ||||||
|     image: wazuh/wazuh-manager:4.4.1 |     image: wazuh/wazuh-manager:4.5.4 | ||||||
|     hostname: wazuh.worker |     hostname: wazuh.worker | ||||||
|     restart: always |     restart: always | ||||||
|  |     ulimits: | ||||||
|  |       memlock: | ||||||
|  |         soft: -1 | ||||||
|  |         hard: -1 | ||||||
|  |       nofile: | ||||||
|  |         soft: 655360 | ||||||
|  |         hard: 655360 | ||||||
|     environment: |     environment: | ||||||
|       - INDEXER_URL=https://wazuh1.indexer:9200 |       - INDEXER_URL=https://wazuh1.indexer:9200 | ||||||
|       - INDEXER_USERNAME=admin |       - INDEXER_USERNAME=admin | ||||||
| @@ -67,7 +81,7 @@ services: | |||||||
|       - ./config/wazuh_cluster/wazuh_worker.conf:/wazuh-config-mount/etc/ossec.conf |       - ./config/wazuh_cluster/wazuh_worker.conf:/wazuh-config-mount/etc/ossec.conf | ||||||
|  |  | ||||||
|   wazuh1.indexer: |   wazuh1.indexer: | ||||||
|     image: wazuh/wazuh-indexer:4.4.1 |     image: wazuh/wazuh-indexer:4.5.4 | ||||||
|     hostname: wazuh1.indexer |     hostname: wazuh1.indexer | ||||||
|     restart: always |     restart: always | ||||||
|     ports: |     ports: | ||||||
| @@ -93,7 +107,7 @@ services: | |||||||
|       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml |       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml | ||||||
|  |  | ||||||
|   wazuh2.indexer: |   wazuh2.indexer: | ||||||
|     image: wazuh/wazuh-indexer:4.4.1 |     image: wazuh/wazuh-indexer:4.5.4 | ||||||
|     hostname: wazuh2.indexer |     hostname: wazuh2.indexer | ||||||
|     restart: always |     restart: always | ||||||
|     environment: |     environment: | ||||||
| @@ -115,7 +129,7 @@ services: | |||||||
|       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml |       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml | ||||||
|  |  | ||||||
|   wazuh3.indexer: |   wazuh3.indexer: | ||||||
|     image: wazuh/wazuh-indexer:4.4.1 |     image: wazuh/wazuh-indexer:4.5.4 | ||||||
|     hostname: wazuh3.indexer |     hostname: wazuh3.indexer | ||||||
|     restart: always |     restart: always | ||||||
|     environment: |     environment: | ||||||
| @@ -137,7 +151,7 @@ services: | |||||||
|       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml |       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml | ||||||
|  |  | ||||||
|   wazuh.dashboard: |   wazuh.dashboard: | ||||||
|     image: wazuh/wazuh-dashboard:4.4.1 |     image: wazuh/wazuh-dashboard:4.5.4 | ||||||
|     hostname: wazuh.dashboard |     hostname: wazuh.dashboard | ||||||
|     restart: always |     restart: always | ||||||
|     ports: |     ports: | ||||||
| @@ -147,12 +161,16 @@ services: | |||||||
|       - WAZUH_API_URL="https://wazuh.master" |       - WAZUH_API_URL="https://wazuh.master" | ||||||
|       - API_USERNAME=wazuh-wui |       - API_USERNAME=wazuh-wui | ||||||
|       - API_PASSWORD=MyS3cr37P450r.*- |       - API_PASSWORD=MyS3cr37P450r.*- | ||||||
|  |       - DASHBOARD_USERNAME=kibanaserver | ||||||
|  |       - DASHBOARD_PASSWORD=kibanaserver | ||||||
|     volumes: |     volumes: | ||||||
|       - ./config/wazuh_indexer_ssl_certs/wazuh.dashboard.pem:/usr/share/wazuh-dashboard/certs/wazuh-dashboard.pem |       - ./config/wazuh_indexer_ssl_certs/wazuh.dashboard.pem:/usr/share/wazuh-dashboard/certs/wazuh-dashboard.pem | ||||||
|       - ./config/wazuh_indexer_ssl_certs/wazuh.dashboard-key.pem:/usr/share/wazuh-dashboard/certs/wazuh-dashboard-key.pem |       - ./config/wazuh_indexer_ssl_certs/wazuh.dashboard-key.pem:/usr/share/wazuh-dashboard/certs/wazuh-dashboard-key.pem | ||||||
|       - ./config/wazuh_indexer_ssl_certs/root-ca.pem:/usr/share/wazuh-dashboard/certs/root-ca.pem |       - ./config/wazuh_indexer_ssl_certs/root-ca.pem:/usr/share/wazuh-dashboard/certs/root-ca.pem | ||||||
|       - ./config/wazuh_dashboard/opensearch_dashboards.yml:/usr/share/wazuh-dashboard/config/opensearch_dashboards.yml |       - ./config/wazuh_dashboard/opensearch_dashboards.yml:/usr/share/wazuh-dashboard/config/opensearch_dashboards.yml | ||||||
|       - ./config/wazuh_dashboard/wazuh.yml:/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml |       - ./config/wazuh_dashboard/wazuh.yml:/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml | ||||||
|  |       - wazuh-dashboard-config:/usr/share/wazuh-dashboard/data/wazuh/config | ||||||
|  |       - wazuh-dashboard-custom:/usr/share/wazuh-dashboard/plugins/wazuh/public/assets/custom | ||||||
|     depends_on: |     depends_on: | ||||||
|       - wazuh1.indexer |       - wazuh1.indexer | ||||||
|     links: |     links: | ||||||
| @@ -202,3 +220,5 @@ volumes: | |||||||
|   wazuh-indexer-data-1: |   wazuh-indexer-data-1: | ||||||
|   wazuh-indexer-data-2: |   wazuh-indexer-data-2: | ||||||
|   wazuh-indexer-data-3: |   wazuh-indexer-data-3: | ||||||
|  |   wazuh-dashboard-config: | ||||||
|  |   wazuh-dashboard-custom: | ||||||
|   | |||||||
| @@ -108,13 +108,13 @@ | |||||||
|       <os>xenial</os> |       <os>xenial</os> | ||||||
|       <os>bionic</os> |       <os>bionic</os> | ||||||
|       <os>focal</os> |       <os>focal</os> | ||||||
|  |       <os>jammy</os> | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
|     <!-- Debian OS vulnerabilities --> |     <!-- Debian OS vulnerabilities --> | ||||||
|     <provider name="debian"> |     <provider name="debian"> | ||||||
|       <enabled>no</enabled> |       <enabled>no</enabled> | ||||||
|       <os>stretch</os> |  | ||||||
|       <os>buster</os> |       <os>buster</os> | ||||||
|       <os>bullseye</os> |       <os>bullseye</os> | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
| @@ -127,6 +127,7 @@ | |||||||
|       <os>6</os> |       <os>6</os> | ||||||
|       <os>7</os> |       <os>7</os> | ||||||
|       <os>8</os> |       <os>8</os> | ||||||
|  |       <os>9</os> | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
| @@ -138,6 +139,18 @@ | |||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
|  |     <!-- SUSE Linux Enterprise OS vulnerabilities --> | ||||||
|  |     <provider name="suse"> | ||||||
|  |       <enabled>no</enabled> | ||||||
|  |       <os>11-server</os> | ||||||
|  |       <os>11-desktop</os> | ||||||
|  |       <os>12-server</os> | ||||||
|  |       <os>12-desktop</os> | ||||||
|  |       <os>15-server</os> | ||||||
|  |       <os>15-desktop</os> | ||||||
|  |       <update_interval>1h</update_interval> | ||||||
|  |     </provider> | ||||||
|  |  | ||||||
|     <!-- Arch OS vulnerabilities --> |     <!-- Arch OS vulnerabilities --> | ||||||
|     <provider name="arch"> |     <provider name="arch"> | ||||||
|       <enabled>no</enabled> |       <enabled>no</enabled> | ||||||
| @@ -153,7 +166,6 @@ | |||||||
|     <!-- Aggregate vulnerabilities --> |     <!-- Aggregate vulnerabilities --> | ||||||
|     <provider name="nvd"> |     <provider name="nvd"> | ||||||
|       <enabled>yes</enabled> |       <enabled>yes</enabled> | ||||||
|       <update_from_year>2010</update_from_year> |  | ||||||
|       <update_interval>1h</update_interval> |       <update_interval>1h</update_interval> | ||||||
|     </provider> |     </provider> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -3,9 +3,16 @@ version: '3.7' | |||||||
|  |  | ||||||
| services: | services: | ||||||
|   wazuh.manager: |   wazuh.manager: | ||||||
|     image: wazuh/wazuh-manager:4.4.1 |     image: wazuh/wazuh-manager:4.5.4 | ||||||
|     hostname: wazuh.manager |     hostname: wazuh.manager | ||||||
|     restart: always |     restart: always | ||||||
|  |     ulimits: | ||||||
|  |       memlock: | ||||||
|  |         soft: -1 | ||||||
|  |         hard: -1 | ||||||
|  |       nofile: | ||||||
|  |         soft: 655360 | ||||||
|  |         hard: 655360 | ||||||
|     ports: |     ports: | ||||||
|       - "1514:1514" |       - "1514:1514" | ||||||
|       - "1515:1515" |       - "1515:1515" | ||||||
| @@ -39,7 +46,7 @@ services: | |||||||
|       - ./config/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf |       - ./config/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf | ||||||
|  |  | ||||||
|   wazuh.indexer: |   wazuh.indexer: | ||||||
|     image: wazuh/wazuh-indexer:4.4.1 |     image: wazuh/wazuh-indexer:4.5.4 | ||||||
|     hostname: wazuh.indexer |     hostname: wazuh.indexer | ||||||
|     restart: always |     restart: always | ||||||
|     ports: |     ports: | ||||||
| @@ -64,7 +71,7 @@ services: | |||||||
|       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml |       - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/opensearch-security/internal_users.yml | ||||||
|  |  | ||||||
|   wazuh.dashboard: |   wazuh.dashboard: | ||||||
|     image: wazuh/wazuh-dashboard:4.4.1 |     image: wazuh/wazuh-dashboard:4.5.4 | ||||||
|     hostname: wazuh.dashboard |     hostname: wazuh.dashboard | ||||||
|     restart: always |     restart: always | ||||||
|     ports: |     ports: | ||||||
| @@ -73,6 +80,8 @@ services: | |||||||
|       - INDEXER_USERNAME=admin |       - INDEXER_USERNAME=admin | ||||||
|       - INDEXER_PASSWORD=SecretPassword |       - INDEXER_PASSWORD=SecretPassword | ||||||
|       - WAZUH_API_URL=https://wazuh.manager |       - WAZUH_API_URL=https://wazuh.manager | ||||||
|  |       - DASHBOARD_USERNAME=kibanaserver | ||||||
|  |       - DASHBOARD_PASSWORD=kibanaserver | ||||||
|       - API_USERNAME=wazuh-wui |       - API_USERNAME=wazuh-wui | ||||||
|       - API_PASSWORD=MyS3cr37P450r.*- |       - API_PASSWORD=MyS3cr37P450r.*- | ||||||
|     volumes: |     volumes: | ||||||
| @@ -81,6 +90,8 @@ services: | |||||||
|       - ./config/wazuh_indexer_ssl_certs/root-ca.pem:/usr/share/wazuh-dashboard/certs/root-ca.pem |       - ./config/wazuh_indexer_ssl_certs/root-ca.pem:/usr/share/wazuh-dashboard/certs/root-ca.pem | ||||||
|       - ./config/wazuh_dashboard/opensearch_dashboards.yml:/usr/share/wazuh-dashboard/config/opensearch_dashboards.yml |       - ./config/wazuh_dashboard/opensearch_dashboards.yml:/usr/share/wazuh-dashboard/config/opensearch_dashboards.yml | ||||||
|       - ./config/wazuh_dashboard/wazuh.yml:/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml |       - ./config/wazuh_dashboard/wazuh.yml:/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml | ||||||
|  |       - wazuh-dashboard-config:/usr/share/wazuh-dashboard/data/wazuh/config | ||||||
|  |       - wazuh-dashboard-custom:/usr/share/wazuh-dashboard/plugins/wazuh/public/assets/custom | ||||||
|     depends_on: |     depends_on: | ||||||
|       - wazuh.indexer |       - wazuh.indexer | ||||||
|     links: |     links: | ||||||
| @@ -100,3 +111,5 @@ volumes: | |||||||
|   filebeat_etc: |   filebeat_etc: | ||||||
|   filebeat_var: |   filebeat_var: | ||||||
|   wazuh-indexer-data: |   wazuh-indexer-data: | ||||||
|  |   wazuh-dashboard-config: | ||||||
|  |   wazuh-dashboard-custom: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user