forked from wazuh/wazuh-docker
Compare commits
53
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0de989cb3d | ||
|
|
607806b4c1 | ||
|
|
cdab7140d9 | ||
|
|
036224fc65 | ||
|
|
39758ec2f3 | ||
|
|
cd5df2b242 | ||
|
|
5f7253b8cd | ||
|
|
198cd3679d | ||
|
|
95e6f513eb | ||
|
|
a95ec0dac9 | ||
|
|
e9d0b14c64 | ||
|
|
3a5e30b888 | ||
|
|
3df0a1b1b9 | ||
|
|
48893cb485 | ||
|
|
ce305f8512 | ||
|
|
1815ead65f | ||
|
|
44ff6d41c4 | ||
|
|
493ac6bd3a | ||
|
|
8c7ec2cc77 | ||
|
|
5a93114962 | ||
|
|
c7703aa6ab | ||
|
|
c0da5ff7f5 | ||
|
|
f520744d9e | ||
|
|
cdf10f8e69 | ||
|
|
d5d0229f18 | ||
|
|
3622621932 | ||
|
|
cb9ecd779e | ||
|
|
2444e25e69 | ||
|
|
b26615e524 | ||
|
|
6aa948d4da | ||
|
|
81a7e11da4 | ||
|
|
2dc7717e81 | ||
|
|
0ba67b1adf | ||
|
|
eecec3db80 | ||
|
|
f4cc1bd838 | ||
|
|
0602ce076d | ||
|
|
2d122e1dc9 | ||
|
|
47a73bdde6 | ||
|
|
fb6be60afb | ||
|
|
2d6c920366 | ||
|
|
d69f5c0c5d | ||
|
|
d52c076e62 | ||
|
|
e5d6ba55cc | ||
|
|
415ddd7271 | ||
|
|
aa98d94f38 | ||
|
|
af2e4589c0 | ||
|
|
6a8d0d6288 | ||
|
|
11b066ef25 | ||
|
|
11c0ae9161 | ||
|
|
ecb486f625 | ||
|
|
16de0735a9 | ||
|
|
5103da8dab | ||
|
|
91cda37b1f |
@@ -2,5 +2,5 @@ WAZUH_VERSION=4.14.2
|
|||||||
WAZUH_IMAGE_VERSION=4.14.2
|
WAZUH_IMAGE_VERSION=4.14.2
|
||||||
WAZUH_TAG_REVISION=1
|
WAZUH_TAG_REVISION=1
|
||||||
FILEBEAT_TEMPLATE_BRANCH=4.14.2
|
FILEBEAT_TEMPLATE_BRANCH=4.14.2
|
||||||
WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.4.tar.gz
|
WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.5.tar.gz
|
||||||
WAZUH_UI_REVISION=1
|
WAZUH_UI_REVISION=1
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
filebeat_module_version:
|
filebeat_module_version:
|
||||||
description: 'Filebeat module version'
|
description: 'Filebeat module version'
|
||||||
default: '0.4'
|
default: '0.5'
|
||||||
required: true
|
required: true
|
||||||
revision:
|
revision:
|
||||||
description: 'Package revision'
|
description: 'Package revision'
|
||||||
@@ -55,7 +55,7 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
filebeat_module_version:
|
filebeat_module_version:
|
||||||
description: 'Filebeat module version'
|
description: 'Filebeat module version'
|
||||||
default: '0.4'
|
default: '0.5'
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
revision:
|
revision:
|
||||||
@@ -145,6 +145,31 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Image exists validation
|
||||||
|
if: ${{ inputs.push_images }}
|
||||||
|
id: validation
|
||||||
|
run: |
|
||||||
|
IMAGE_TAG=${{ inputs.image_tag }}
|
||||||
|
PURPOSE=""
|
||||||
|
|
||||||
|
if [[ "$IMAGE_TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
|
if docker manifest inspect wazuh/wazuh-manager:$IMAGE_TAG > /dev/null 2>&1; then
|
||||||
|
PURPOSE="regeneration"
|
||||||
|
echo "Image wazuh/wazuh-manager:$IMAGE_TAG exists. Setting PURPOSE to 'regeneration'"
|
||||||
|
else
|
||||||
|
PURPOSE="new release"
|
||||||
|
echo "Image wazuh/wazuh-manager:$IMAGE_TAG does NOT exist. Setting PURPOSE to 'new release'"
|
||||||
|
fi
|
||||||
|
echo "✅ Release tag: '$IMAGE_TAG'"
|
||||||
|
elif [[ "$IMAGE_TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+-(alpha|beta|rc)[0-9]+$ ]]; then
|
||||||
|
PURPOSE="new stage"
|
||||||
|
echo "✅ Stage tag: '$IMAGE_TAG'. Setting PURPOSE to 'new stage'"
|
||||||
|
else
|
||||||
|
echo "❌ No release or stage tag ('$IMAGE_TAG'), the GH issue will not be created"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "purpose=$PURPOSE" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Tag and Push Wazuh images
|
- name: Tag and Push Wazuh images
|
||||||
if: ${{ inputs.push_images }}
|
if: ${{ inputs.push_images }}
|
||||||
run: |
|
run: |
|
||||||
@@ -157,3 +182,64 @@ jobs:
|
|||||||
echo "Pushing wazuh/$image:$IMAGE_TAG ..."
|
echo "Pushing wazuh/$image:$IMAGE_TAG ..."
|
||||||
docker push wazuh/$image:$IMAGE_TAG
|
docker push wazuh/$image:$IMAGE_TAG
|
||||||
done
|
done
|
||||||
|
|
||||||
|
- name: GH issue notification
|
||||||
|
if: ${{ inputs.push_images && steps.validation.outputs.purpose != '' }}
|
||||||
|
run: |
|
||||||
|
IMAGE_TAG=${{ inputs.image_tag }}
|
||||||
|
GH_TITLE=""
|
||||||
|
GH_MESSAGE=""
|
||||||
|
PURPOSE="${{ steps.validation.outputs.purpose }}"
|
||||||
|
|
||||||
|
## Setting GH issue title
|
||||||
|
GH_TITLE="Artifactory vulnerabilities update \`v$IMAGE_TAG\`"
|
||||||
|
|
||||||
|
## Setting GH issue body
|
||||||
|
GH_MESSAGE=$(cat <<- EOF | tr -d '\r' | sed 's/^[[:space:]]*//'
|
||||||
|
### Description
|
||||||
|
- [ ] Update the [Artifactory vulnerabilities](${{ secrets.NOTIFICATION_SHEET_URL }}) sheet with the \`v$IMAGE_TAG\` vulnerabilities.
|
||||||
|
|
||||||
|
**Purpose**: $PURPOSE
|
||||||
|
>[!NOTE]
|
||||||
|
>To update the \`Tentative Release\` column, follow these steps:
|
||||||
|
https://github.com/wazuh/${{ secrets.NOTIFICATION_REPO }}/issues/2049#issuecomment-2671590268
|
||||||
|
EOF
|
||||||
|
)
|
||||||
|
|
||||||
|
# Print the GH Variables content
|
||||||
|
echo "--- Variable Content ---"
|
||||||
|
echo "$GH_TITLE"
|
||||||
|
echo "------------------------"
|
||||||
|
|
||||||
|
echo "--- Variable Content ---"
|
||||||
|
echo "$GH_MESSAGE"
|
||||||
|
echo "------------------------"
|
||||||
|
|
||||||
|
## GH issue creation
|
||||||
|
ISSUE_URL=$(gh issue create \
|
||||||
|
-R wazuh/${{ secrets.NOTIFICATION_REPO }} \
|
||||||
|
--title "$GH_TITLE" \
|
||||||
|
--body "$GH_MESSAGE" \
|
||||||
|
--label "level/task" \
|
||||||
|
--label "type/maintenance" \
|
||||||
|
--label "request/operational")
|
||||||
|
|
||||||
|
## Adding the issue to the team project
|
||||||
|
PROJECT_ITEM_ID=$(gh project item-add \
|
||||||
|
${{ secrets.NOTIFICATION_PROJECT_NUMBER }} \
|
||||||
|
--url $ISSUE_URL \
|
||||||
|
--owner wazuh \
|
||||||
|
--format json \
|
||||||
|
| jq -r '.id')
|
||||||
|
|
||||||
|
## Setting Objective
|
||||||
|
gh project item-edit --id $PROJECT_ITEM_ID --project-id ${{ secrets.NOTIFICATION_PROJECT_ID }} --field-id ${{ secrets.NOTIFICATION_PROJECT_OBJECTIVE_ID }} --text "Security scans"
|
||||||
|
## Setting Priority
|
||||||
|
gh project item-edit --id $PROJECT_ITEM_ID --project-id ${{ secrets.NOTIFICATION_PROJECT_ID }} --field-id ${{ secrets.NOTIFICATION_PROJECT_PRIORITY_ID }} --single-select-option-id ${{ secrets.NOTIFICATION_PROJECT_PRIORITY_OPTION_ID }}
|
||||||
|
## Setting Size
|
||||||
|
gh project item-edit --id $PROJECT_ITEM_ID --project-id ${{ secrets.NOTIFICATION_PROJECT_ID }} --field-id ${{ secrets.NOTIFICATION_PROJECT_SIZE_ID }} --single-select-option-id ${{ secrets.NOTIFICATION_PROJECT_SIZE_OPTION_ID }}
|
||||||
|
## Setting Subteam
|
||||||
|
gh project item-edit --id $PROJECT_ITEM_ID --project-id ${{ secrets.NOTIFICATION_PROJECT_ID }} --field-id ${{ secrets.NOTIFICATION_PROJECT_SUBTEAM_ID }} --single-select-option-id ${{ secrets.NOTIFICATION_PROJECT_SUBTEAM_OPTION_ID }}
|
||||||
|
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.NOTIFICATION_GH_ARTIFACT_TOKEN }}
|
||||||
|
|||||||
+6
-3
@@ -5,15 +5,18 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- None
|
- Code improvements for 4.14.2 ([#2090](https://github.com/wazuh/wazuh-docker/pull/2090))
|
||||||
|
- Artifactory vulnerabilities notification ([#2078](https://github.com/wazuh/wazuh-docker/pull/2078))
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- None
|
- Filebeat module version update ([#2115](https://github.com/wazuh/wazuh-docker/pull/2115))
|
||||||
|
- The location of the remove command for the wazuh-authd certificates has been changed. ([#2094](https://github.com/wazuh/wazuh-docker/pull/2094))
|
||||||
|
- Removed sslmanager key from the docker manager image to 4.14.2. ([#2093](https://github.com/wazuh/wazuh-docker/pull/2093))
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- None
|
- Add missing SSL ciphers and protocols and remove outdated ports parameters from opensearch.yml template ([#2104](https://github.com/wazuh/wazuh-docker/pull/2104))
|
||||||
|
|
||||||
### Deleted
|
### Deleted
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "4.14.2",
|
"version": "4.14.2",
|
||||||
"stage": "alpha0"
|
"stage": "rc4"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ $ build-docker-images/build-images.sh -h
|
|||||||
Usage: build-docker-images/build-images.sh [OPTIONS]
|
Usage: build-docker-images/build-images.sh [OPTIONS]
|
||||||
|
|
||||||
-d, --dev <ref> [Optional] Set the development stage you want to build, example rc1 or beta1, not used by default.
|
-d, --dev <ref> [Optional] Set the development stage you want to build, example rc1 or beta1, not used by default.
|
||||||
-f, --filebeat-module <ref> [Optional] Set Filebeat module version. By default 0.4.
|
-f, --filebeat-module <ref> [Optional] Set Filebeat module version. By default 0.5.
|
||||||
-r, --revision <rev> [Optional] Package revision. By default 1
|
-r, --revision <rev> [Optional] Package revision. By default 1
|
||||||
-v, --version <ver> [Optional] Set the Wazuh version should be builded. By default, 4.14.2.
|
-v, --version <ver> [Optional] Set the Wazuh version should be builded. By default, 4.14.2.
|
||||||
-h, --help Show this help.
|
-h, --help Show this help.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ IMAGE_VERSION=${WAZUH_IMAGE_VERSION}
|
|||||||
WAZUH_IMAGE_VERSION="4.14.2"
|
WAZUH_IMAGE_VERSION="4.14.2"
|
||||||
WAZUH_TAG_REVISION="1"
|
WAZUH_TAG_REVISION="1"
|
||||||
WAZUH_DEV_STAGE=""
|
WAZUH_DEV_STAGE=""
|
||||||
FILEBEAT_MODULE_VERSION="0.4"
|
FILEBEAT_MODULE_VERSION="0.5"
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ help() {
|
|||||||
echo
|
echo
|
||||||
echo "Usage: $0 [OPTIONS]"
|
echo "Usage: $0 [OPTIONS]"
|
||||||
echo
|
echo
|
||||||
echo " -d, --dev <ref> [Optional] Set the development stage you want to build, example alpha0 or beta1, not used by default."
|
echo " -d, --dev <ref> [Optional] Set the development stage you want to build, example rc4 or beta1, not used by default."
|
||||||
echo " -f, --filebeat-module <ref> [Optional] Set Filebeat module version. By default ${FILEBEAT_MODULE_VERSION}."
|
echo " -f, --filebeat-module <ref> [Optional] Set Filebeat module version. By default ${FILEBEAT_MODULE_VERSION}."
|
||||||
echo " -r, --revision <rev> [Optional] Package revision. By default ${WAZUH_TAG_REVISION}"
|
echo " -r, --revision <rev> [Optional] Package revision. By default ${WAZUH_TAG_REVISION}"
|
||||||
echo " -v, --version <ver> [Optional] Set the Wazuh version should be builded. By default, ${WAZUH_IMAGE_VERSION}."
|
echo " -v, --version <ver> [Optional] Set the Wazuh version should be builded. By default, ${WAZUH_IMAGE_VERSION}."
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ chmod 755 $CERT_TOOL && bash /$CERT_TOOL -A
|
|||||||
|
|
||||||
# copy to target
|
# copy to target
|
||||||
mkdir -p ${TARGET_DIR}${INSTALLATION_DIR}
|
mkdir -p ${TARGET_DIR}${INSTALLATION_DIR}
|
||||||
mkdir -p ${TARGET_DIR}${INSTALLATION_DIR}/opensearch-security/
|
|
||||||
mkdir -p ${TARGET_DIR}${CONFIG_DIR}
|
mkdir -p ${TARGET_DIR}${CONFIG_DIR}
|
||||||
mkdir -p ${TARGET_DIR}${LIB_DIR}
|
mkdir -p ${TARGET_DIR}${LIB_DIR}
|
||||||
mkdir -p ${TARGET_DIR}${LOG_DIR}
|
mkdir -p ${TARGET_DIR}${LOG_DIR}
|
||||||
@@ -73,10 +72,10 @@ mkdir -p ${TARGET_DIR}/usr/lib/sysctl.d
|
|||||||
mkdir -p ${TARGET_DIR}/usr/lib/systemd/system
|
mkdir -p ${TARGET_DIR}/usr/lib/systemd/system
|
||||||
mkdir -p ${TARGET_DIR}${CONFIG_DIR}/certs
|
mkdir -p ${TARGET_DIR}${CONFIG_DIR}/certs
|
||||||
# Copy Wazuh's config files for the security plugin
|
# Copy Wazuh's config files for the security plugin
|
||||||
cp -pr /roles_mapping.yml ${TARGET_DIR}${INSTALLATION_DIR}/opensearch-security/
|
cp -pr /roles_mapping.yml ${TARGET_DIR}${CONFIG_DIR}/opensearch-security/
|
||||||
cp -pr /roles.yml ${TARGET_DIR}${INSTALLATION_DIR}/opensearch-security/
|
cp -pr /roles.yml ${TARGET_DIR}${CONFIG_DIR}/opensearch-security/
|
||||||
cp -pr /action_groups.yml ${TARGET_DIR}${INSTALLATION_DIR}/opensearch-security/
|
cp -pr /action_groups.yml ${TARGET_DIR}${CONFIG_DIR}/opensearch-security/
|
||||||
cp -pr /internal_users.yml ${TARGET_DIR}${INSTALLATION_DIR}/opensearch-security/
|
cp -pr /internal_users.yml ${TARGET_DIR}${CONFIG_DIR}/opensearch-security/
|
||||||
cp -pr /opensearch.yml ${TARGET_DIR}${CONFIG_DIR}
|
cp -pr /opensearch.yml ${TARGET_DIR}${CONFIG_DIR}
|
||||||
# Copy Wazuh indexer's certificates
|
# Copy Wazuh indexer's certificates
|
||||||
cp -pr /wazuh-certificates/demo.indexer.pem ${TARGET_DIR}${CONFIG_DIR}/certs/indexer.pem
|
cp -pr /wazuh-certificates/demo.indexer.pem ${TARGET_DIR}${CONFIG_DIR}/certs/indexer.pem
|
||||||
|
|||||||
@@ -14,6 +14,13 @@ plugins.security.ssl.transport.pemtrustedcas_filepath: /usr/share/wazuh-indexer/
|
|||||||
plugins.security.ssl.http.enabled: true
|
plugins.security.ssl.http.enabled: true
|
||||||
plugins.security.ssl.transport.enforce_hostname_verification: false
|
plugins.security.ssl.transport.enforce_hostname_verification: false
|
||||||
plugins.security.ssl.transport.resolve_hostname: false
|
plugins.security.ssl.transport.resolve_hostname: false
|
||||||
|
plugins.security.ssl.http.enabled_ciphers:
|
||||||
|
- "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
|
||||||
|
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
|
||||||
|
- "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
|
||||||
|
- "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
|
||||||
|
plugins.security.ssl.http.enabled_protocols:
|
||||||
|
- "TLSv1.2"
|
||||||
plugins.security.authcz.admin_dn:
|
plugins.security.authcz.admin_dn:
|
||||||
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
||||||
plugins.security.check_snapshot_restore_write_privileges: true
|
plugins.security.check_snapshot_restore_write_privileges: true
|
||||||
|
|||||||
@@ -31,7 +31,9 @@ RUN yum install wazuh-manager-${WAZUH_VERSION}-${WAZUH_TAG_REVISION} -y && \
|
|||||||
-o /tmp/s6-overlay-amd64.tar.gz && \
|
-o /tmp/s6-overlay-amd64.tar.gz && \
|
||||||
tar xzf /tmp/s6-overlay-amd64.tar.gz -C / --exclude="./bin" && \
|
tar xzf /tmp/s6-overlay-amd64.tar.gz -C / --exclude="./bin" && \
|
||||||
tar xzf /tmp/s6-overlay-amd64.tar.gz -C /usr ./bin && \
|
tar xzf /tmp/s6-overlay-amd64.tar.gz -C /usr ./bin && \
|
||||||
rm /tmp/s6-overlay-amd64.tar.gz
|
rm /tmp/s6-overlay-amd64.tar.gz && \
|
||||||
|
rm -f /var/ossec/etc/sslmanager.key && \
|
||||||
|
rm -f /var/ossec/etc/sslmanager.cert
|
||||||
|
|
||||||
COPY config/etc/ /etc/
|
COPY config/etc/ /etc/
|
||||||
COPY --chown=root:wazuh config/create_user.py /var/ossec/framework/scripts/create_user.py
|
COPY --chown=root:wazuh config/create_user.py /var/ossec/framework/scripts/create_user.py
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ source /permanent_data.env
|
|||||||
|
|
||||||
WAZUH_INSTALL_PATH=/var/ossec
|
WAZUH_INSTALL_PATH=/var/ossec
|
||||||
WAZUH_CONFIG_MOUNT=/wazuh-config-mount
|
WAZUH_CONFIG_MOUNT=/wazuh-config-mount
|
||||||
AUTO_ENROLLMENT_ENABLED=${AUTO_ENROLLMENT_ENABLED:-true}
|
|
||||||
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Aux functions
|
# Aux functions
|
||||||
@@ -70,8 +68,17 @@ apply_exclusion_data() {
|
|||||||
mkdir -p ${DIR}
|
mkdir -p ${DIR}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
safe_cp() {
|
||||||
|
if cp -p "$1" "$2" 2>/dev/null; then
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
echo "Warning: Could not copy $1 (may be read-only)"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
print "Updating ${exclusion_file}"
|
print "Updating ${exclusion_file}"
|
||||||
exec_cmd "cp -p ${WAZUH_INSTALL_PATH}/data_tmp/exclusion/${exclusion_file} ${exclusion_file}"
|
exec_cmd "safe_cp ${WAZUH_INSTALL_PATH}/data_tmp/exclusion/${exclusion_file} ${exclusion_file}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@@ -206,13 +213,10 @@ main() {
|
|||||||
# Remove some files in permanent_data (i.e. .template.db)
|
# Remove some files in permanent_data (i.e. .template.db)
|
||||||
remove_data_files
|
remove_data_files
|
||||||
|
|
||||||
# Generate wazuh-authd certs if AUTO_ENROLLMENT_ENABLED is true and does not exist
|
# Create wazuh-authd key and cert if not present
|
||||||
if [ $AUTO_ENROLLMENT_ENABLED == true ]
|
if [ ! -e ${WAZUH_INSTALL_PATH}/etc/sslmanager.key ]
|
||||||
then
|
then
|
||||||
if [ ! -e ${WAZUH_INSTALL_PATH}/etc/sslmanager.key ]
|
create_ossec_key_cert
|
||||||
then
|
|
||||||
create_ossec_key_cert
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Mount selected files (WAZUH_CONFIG_MOUNT) to container
|
# Mount selected files (WAZUH_CONFIG_MOUNT) to container
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ $ build-docker-images/build-images.sh -h
|
|||||||
|
|
||||||
Usage: build-docker-images/build-images.sh [OPTIONS]
|
Usage: build-docker-images/build-images.sh [OPTIONS]
|
||||||
|
|
||||||
-d, --dev <ref> [Optional] Set the development stage you want to build, example alpha0 or beta1, not used by default.
|
-d, --dev <ref> [Optional] Set the development stage you want to build, example rc4 or beta1, not used by default.
|
||||||
-f, --filebeat-module <ref> [Optional] Set Filebeat module version. By default 0.4.
|
-f, --filebeat-module <ref> [Optional] Set Filebeat module version. By default 0.5.
|
||||||
-r, --revision <rev> [Optional] Package revision. By default 1
|
-r, --revision <rev> [Optional] Package revision. By default 1
|
||||||
-v, --version <ver> [Optional] Set the Wazuh version should be builded. By default, 4.14.2.
|
-v, --version <ver> [Optional] Set the Wazuh version should be builded. By default, 4.14.2.
|
||||||
-h, --help Show this help.
|
-h, --help Show this help.
|
||||||
|
|||||||
@@ -21,6 +21,13 @@ plugins.security.ssl.transport.pemtrustedcas_filepath: ${OPENSEARCH_PATH_CONF}/c
|
|||||||
plugins.security.ssl.http.enabled: true
|
plugins.security.ssl.http.enabled: true
|
||||||
plugins.security.ssl.transport.enforce_hostname_verification: false
|
plugins.security.ssl.transport.enforce_hostname_verification: false
|
||||||
plugins.security.ssl.transport.resolve_hostname: false
|
plugins.security.ssl.transport.resolve_hostname: false
|
||||||
|
plugins.security.ssl.http.enabled_ciphers:
|
||||||
|
- "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
|
||||||
|
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
|
||||||
|
- "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
|
||||||
|
- "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
|
||||||
|
plugins.security.ssl.http.enabled_protocols:
|
||||||
|
- "TLSv1.2"
|
||||||
plugins.security.authcz.admin_dn:
|
plugins.security.authcz.admin_dn:
|
||||||
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
||||||
plugins.security.check_snapshot_restore_write_privileges: true
|
plugins.security.check_snapshot_restore_write_privileges: true
|
||||||
|
|||||||
@@ -21,6 +21,13 @@ plugins.security.ssl.transport.pemtrustedcas_filepath: ${OPENSEARCH_PATH_CONF}/c
|
|||||||
plugins.security.ssl.http.enabled: true
|
plugins.security.ssl.http.enabled: true
|
||||||
plugins.security.ssl.transport.enforce_hostname_verification: false
|
plugins.security.ssl.transport.enforce_hostname_verification: false
|
||||||
plugins.security.ssl.transport.resolve_hostname: false
|
plugins.security.ssl.transport.resolve_hostname: false
|
||||||
|
plugins.security.ssl.http.enabled_ciphers:
|
||||||
|
- "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
|
||||||
|
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
|
||||||
|
- "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
|
||||||
|
- "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
|
||||||
|
plugins.security.ssl.http.enabled_protocols:
|
||||||
|
- "TLSv1.2"
|
||||||
plugins.security.authcz.admin_dn:
|
plugins.security.authcz.admin_dn:
|
||||||
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
||||||
plugins.security.check_snapshot_restore_write_privileges: true
|
plugins.security.check_snapshot_restore_write_privileges: true
|
||||||
|
|||||||
@@ -21,6 +21,13 @@ plugins.security.ssl.transport.pemtrustedcas_filepath: ${OPENSEARCH_PATH_CONF}/c
|
|||||||
plugins.security.ssl.http.enabled: true
|
plugins.security.ssl.http.enabled: true
|
||||||
plugins.security.ssl.transport.enforce_hostname_verification: false
|
plugins.security.ssl.transport.enforce_hostname_verification: false
|
||||||
plugins.security.ssl.transport.resolve_hostname: false
|
plugins.security.ssl.transport.resolve_hostname: false
|
||||||
|
plugins.security.ssl.http.enabled_ciphers:
|
||||||
|
- "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
|
||||||
|
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
|
||||||
|
- "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
|
||||||
|
- "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
|
||||||
|
plugins.security.ssl.http.enabled_protocols:
|
||||||
|
- "TLSv1.2"
|
||||||
plugins.security.authcz.admin_dn:
|
plugins.security.authcz.admin_dn:
|
||||||
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
||||||
plugins.security.check_snapshot_restore_write_privileges: true
|
plugins.security.check_snapshot_restore_write_privileges: true
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ cluster.name: "wazuh-cluster"
|
|||||||
path.data: /var/lib/wazuh-indexer
|
path.data: /var/lib/wazuh-indexer
|
||||||
path.logs: /var/log/wazuh-indexer
|
path.logs: /var/log/wazuh-indexer
|
||||||
discovery.type: single-node
|
discovery.type: single-node
|
||||||
http.port: 9200-9299
|
|
||||||
transport.tcp.port: 9300-9399
|
|
||||||
compatibility.override_main_response_version: true
|
compatibility.override_main_response_version: true
|
||||||
plugins.security.ssl.http.pemcert_filepath: /usr/share/wazuh-indexer/config/certs/wazuh.indexer.pem
|
plugins.security.ssl.http.pemcert_filepath: /usr/share/wazuh-indexer/config/certs/wazuh.indexer.pem
|
||||||
plugins.security.ssl.http.pemkey_filepath: /usr/share/wazuh-indexer/config/certs/wazuh.indexer.key
|
plugins.security.ssl.http.pemkey_filepath: /usr/share/wazuh-indexer/config/certs/wazuh.indexer.key
|
||||||
@@ -16,6 +14,13 @@ plugins.security.ssl.transport.pemtrustedcas_filepath: /usr/share/wazuh-indexer/
|
|||||||
plugins.security.ssl.http.enabled: true
|
plugins.security.ssl.http.enabled: true
|
||||||
plugins.security.ssl.transport.enforce_hostname_verification: false
|
plugins.security.ssl.transport.enforce_hostname_verification: false
|
||||||
plugins.security.ssl.transport.resolve_hostname: false
|
plugins.security.ssl.transport.resolve_hostname: false
|
||||||
|
plugins.security.ssl.http.enabled_ciphers:
|
||||||
|
- "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
|
||||||
|
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
|
||||||
|
- "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
|
||||||
|
- "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
|
||||||
|
plugins.security.ssl.http.enabled_protocols:
|
||||||
|
- "TLSv1.2"
|
||||||
plugins.security.authcz.admin_dn:
|
plugins.security.authcz.admin_dn:
|
||||||
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
||||||
plugins.security.check_snapshot_restore_write_privileges: true
|
plugins.security.check_snapshot_restore_write_privileges: true
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- WAZUH_MANAGER_SERVER=<WAZUH_MANAGER_IP>
|
- WAZUH_MANAGER_SERVER=<WAZUH_MANAGER_IP>
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/wazuh-agent-conf:/wazuh-config-mount/etc/ossec.conf
|
- ./config/wazuh-agent-conf:/wazuh-config-mount/etc/ossec.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user