forked from wazuh/wazuh-docker
Compare commits
50
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b377a0f6eb | ||
|
|
44e9bebed0 | ||
|
|
760fc8ccbf | ||
|
|
44303d3701 | ||
|
|
c0d97893a4 | ||
|
|
0826f2c176 | ||
|
|
d531b8dd72 | ||
|
|
41267d4ddf | ||
|
|
67f34fb8fe | ||
|
|
865f7625f4 | ||
|
|
c56952eaa0 | ||
|
|
cb7d8785c6 | ||
|
|
f1001c2f25 | ||
|
|
6c91bac96d | ||
|
|
216b5a6818 | ||
|
|
e19fa14013 | ||
|
|
57c7eaa5af | ||
|
|
fbe073612c | ||
|
|
1dec665a97 | ||
|
|
757e5dbf05 | ||
|
|
32b1d88e36 | ||
|
|
94be842afc | ||
|
|
d20bbe247c | ||
|
|
e01d39e138 | ||
|
|
1eeca6267b | ||
|
|
d755ffbac8 | ||
|
|
221c3ccd24 | ||
|
|
1ff589ccaf | ||
|
|
d4c98491fc | ||
|
|
673c28b637 | ||
|
|
3953986652 | ||
|
|
f2dab81387 | ||
|
|
da82008a75 | ||
|
|
54975ab099 | ||
|
|
b27d991f0c | ||
|
|
4d0aa57ed2 | ||
|
|
1a75d4eb77 | ||
|
|
247555b1b6 | ||
|
|
442d457933 | ||
|
|
0f65448718 | ||
|
|
a9533264d6 | ||
|
|
ce8dd29425 | ||
|
|
a433989865 | ||
|
|
ff1e5f991a | ||
|
|
55ee49aff5 | ||
|
|
75f92308a1 | ||
|
|
61c37a78de | ||
|
|
39208c513c | ||
|
|
3650feeb0e | ||
|
|
4e7c2cf72a |
@@ -6,6 +6,16 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
- Update Wazuh to version [4.6.0](https://github.com/wazuh/wazuh/blob/v4.6.0/CHANGELOG.md#v460)
|
- Update Wazuh to version [4.6.0](https://github.com/wazuh/wazuh/blob/v4.6.0/CHANGELOG.md#v460)
|
||||||
|
|
||||||
|
## 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
|
## Wazuh Docker v4.5.0
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
|||||||
@@ -196,6 +196,8 @@ WAZUH_MONITORING_REPLICAS=0 ##
|
|||||||
| Wazuh version | ODFE | XPACK |
|
| Wazuh version | ODFE | XPACK |
|
||||||
|---------------|---------|--------|
|
|---------------|---------|--------|
|
||||||
| v4.6.0 | | |
|
| v4.6.0 | | |
|
||||||
|
| v4.5.2 | | |
|
||||||
|
| v4.5.1 | | |
|
||||||
| v4.5.0 | | |
|
| v4.5.0 | | |
|
||||||
| v4.4.5 | | |
|
| v4.4.5 | | |
|
||||||
| v4.4.4 | | |
|
| v4.4.4 | | |
|
||||||
|
|||||||
@@ -2,13 +2,7 @@ WAZUH_IMAGE_VERSION=4.6.0
|
|||||||
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
|
||||||
|
|||||||
@@ -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,15 +108,16 @@
|
|||||||
<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>
|
||||||
|
<os>bookworm</os>
|
||||||
<update_interval>1h</update_interval>
|
<update_interval>1h</update_interval>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
@@ -127,6 +128,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 +140,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>
|
||||||
@@ -150,10 +164,17 @@
|
|||||||
<update_interval>1h</update_interval>
|
<update_interval>1h</update_interval>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
|
<!-- Alma Linux OS vulnerabilities -->
|
||||||
|
<provider name="almalinux">
|
||||||
|
<enabled>no</enabled>
|
||||||
|
<os>8</os>
|
||||||
|
<os>9</os>
|
||||||
|
<update_interval>1h</update_interval>
|
||||||
|
</provider>
|
||||||
|
|
||||||
<!-- 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>
|
||||||
|
|
||||||
@@ -354,4 +375,4 @@
|
|||||||
<location>/var/log/dpkg.log</location>
|
<location>/var/log/dpkg.log</location>
|
||||||
</localfile>
|
</localfile>
|
||||||
|
|
||||||
</ossec_config>
|
</ossec_config>
|
||||||
|
|||||||
@@ -108,15 +108,16 @@
|
|||||||
<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>
|
||||||
|
<os>bookworm</os>
|
||||||
<update_interval>1h</update_interval>
|
<update_interval>1h</update_interval>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
@@ -127,6 +128,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,12 +140,32 @@
|
|||||||
<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>
|
||||||
<update_interval>1h</update_interval>
|
<update_interval>1h</update_interval>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
|
<!-- Alma Linux OS vulnerabilities -->
|
||||||
|
<provider name="almalinux">
|
||||||
|
<enabled>no</enabled>
|
||||||
|
<os>8</os>
|
||||||
|
<os>9</os>
|
||||||
|
<update_interval>1h</update_interval>
|
||||||
|
</provider>
|
||||||
|
|
||||||
<!-- Windows OS vulnerabilities -->
|
<!-- Windows OS vulnerabilities -->
|
||||||
<provider name="msu">
|
<provider name="msu">
|
||||||
<enabled>yes</enabled>
|
<enabled>yes</enabled>
|
||||||
@@ -153,7 +175,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>
|
||||||
|
|
||||||
@@ -354,4 +375,4 @@
|
|||||||
<location>/var/log/dpkg.log</location>
|
<location>/var/log/dpkg.log</location>
|
||||||
</localfile>
|
</localfile>
|
||||||
|
|
||||||
</ossec_config>
|
</ossec_config>
|
||||||
|
|||||||
@@ -6,6 +6,13 @@ services:
|
|||||||
image: wazuh/wazuh-manager:4.6.0
|
image: wazuh/wazuh-manager:4.6.0
|
||||||
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"
|
||||||
@@ -41,6 +48,13 @@ services:
|
|||||||
image: wazuh/wazuh-manager:4.6.0
|
image: wazuh/wazuh-manager:4.6.0
|
||||||
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
|
||||||
|
|||||||
@@ -108,15 +108,16 @@
|
|||||||
<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>
|
||||||
|
<os>bookworm</os>
|
||||||
<update_interval>1h</update_interval>
|
<update_interval>1h</update_interval>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
@@ -127,6 +128,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,12 +140,32 @@
|
|||||||
<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>
|
||||||
<update_interval>1h</update_interval>
|
<update_interval>1h</update_interval>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
|
<!-- Alma Linux OS vulnerabilities -->
|
||||||
|
<provider name="almalinux">
|
||||||
|
<enabled>no</enabled>
|
||||||
|
<os>8</os>
|
||||||
|
<os>9</os>
|
||||||
|
<update_interval>1h</update_interval>
|
||||||
|
</provider>
|
||||||
|
|
||||||
<!-- Windows OS vulnerabilities -->
|
<!-- Windows OS vulnerabilities -->
|
||||||
<provider name="msu">
|
<provider name="msu">
|
||||||
<enabled>yes</enabled>
|
<enabled>yes</enabled>
|
||||||
@@ -153,7 +175,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>
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,13 @@ services:
|
|||||||
image: wazuh/wazuh-manager:4.6.0
|
image: wazuh/wazuh-manager:4.6.0
|
||||||
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user