Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 4.8.2 into master #2751

Merged
merged 35 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
fa1a551
Added wazuh-filebeat template to Wazuh indexer
rauldpm Dec 19, 2023
1568ddb
Merge remote-tracking branch 'origin/4.8.0' into enhancement/2697-add…
rauldpm Dec 20, 2023
9e70e66
Double quotes removed in indexer IP
davidcr01 Dec 21, 2023
ce878c4
Update release date for 4.7.2
vikman90 Dec 22, 2023
6ac1f30
Merge pull request #2720 from wazuh/change/4.7.2-release-date
vikman90 Dec 22, 2023
85eed5a
Merge pull request #2712 from wazuh/enhancement/2697-add-filebeat-tem…
davidjiglesias Dec 22, 2023
b1300d9
Fixed Filebeat template URL in Wazuh indexer base
rauldpm Dec 26, 2023
c9b11d3
Merge pull request #2723 from wazuh/enhancement/2722-add-filebeat-tem…
Rebits Dec 27, 2023
dc6e1cb
Update indexer-ism-init.sh (#2726)
AlexRuiz7 Dec 27, 2023
19cafa2
The change was reverted to obtain the Wazuh version of the VERSION file
c-bordon Dec 27, 2023
88b3f81
Merge pull request #2727 from wazuh/change/2724-ova-generation-fails-…
teddytpc1 Dec 28, 2023
b85854a
fix: update indexer ism log path
Deblintrake09 Jan 3, 2024
b350dad
Merge pull request #2716 from wazuh/enhancement/2705-capturing-indexe…
teddytpc1 Jan 3, 2024
98a63db
fix: performance-analizer service exceution path
Deblintrake09 Dec 19, 2023
69e3ec7
fix deb performance-analyzer files rules
Deblintrake09 Dec 19, 2023
36d938f
fix: add OPENSEARCH_PATH_CONF enviroment variable
Deblintrake09 Dec 20, 2023
e4b1e9b
Update `indexer-ism-init.sh` (#2733)
AlexRuiz7 Jan 3, 2024
e1954e4
Merge pull request #2709 from wazuh/enhancement/2321-fix-indexer-perf…
davidjiglesias Jan 4, 2024
c8b576c
Merge pull request #2732 from wazuh/enhancement/2657-fix-indexder-ism…
davidjiglesias Jan 4, 2024
68157fa
Changed OVA description message
davidcr01 Jan 4, 2024
c9867c3
Bump version to 4.8.2
MarcelKemp Jan 4, 2024
88ac563
Merge pull request #2736 from wazuh/change/2734-bump-version
MarcelKemp Jan 4, 2024
b838cd3
Merge branch '4.7.2' into merge-4.7.2-into-4.8.0
pereyra-m Jan 5, 2024
c7d4df1
Fix source branch version
pereyra-m Jan 5, 2024
085aeb3
Merge pull request #2741 from wazuh/merge-4.7.2-into-4.8.0
MarcelKemp Jan 5, 2024
d483da8
Merge branch '4.8.0' into merge-4.8.0-into-4.8.1
MarcelKemp Jan 5, 2024
31d64bb
Fix source branch version
MarcelKemp Jan 5, 2024
c61cba1
Merge pull request #2735 from wazuh/bug/2729-shorten-ova-description
teddytpc1 Jan 5, 2024
57fb6c3
Merge pull request #2746 from wazuh/merge-4.8.0-into-4.8.1
MarcelKemp Jan 5, 2024
2fc0d7c
Merge branch '4.8.1' into merge-4.8.1-into-4.8.2
pereyra-m Jan 5, 2024
756bda4
Update 4.8.2 date
pereyra-m Jan 5, 2024
18e8de9
Fix source branch version
pereyra-m Jan 5, 2024
13674e9
Merge pull request #2750 from wazuh/merge-4.8.1-into-4.8.2
MarcelKemp Jan 8, 2024
b61a7b4
Merge branch '4.8.2' into merge-4.8.2-into-master
MarcelKemp Jan 8, 2024
1916ea1
Fix source branch version
MarcelKemp Jan 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.9.0

## [4.8.2]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.8.2

## [4.8.1]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.8.1

## [4.8.0]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.8.0
Expand Down
4 changes: 3 additions & 1 deletion aix/SPECS/wazuh-agent-aix.spec
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +292,13 @@ rm -fr %{buildroot}
%changelog
* Thu May 14 2024 support <[email protected]> - 4.9.0
- More info: https://documentation.wazuh.com/current/release-notes/release-4-9-0.html
* Wed Mar 26 2024 support <[email protected]> - 4.8.2
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-2.html
* Tue Feb 13 2024 support <[email protected]> - 4.8.1
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-1.html
* Wed Jan 31 2024 support <[email protected]> - 4.8.0
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-0.html
* Sun Dec 17 2023 support <[email protected]> - 4.7.2
* Tue Jan 09 2024 support <[email protected]> - 4.7.2
- More info: https://documentation.wazuh.com/current/release-notes/release-4-7-2.html
* Wed Dec 13 2023 support <[email protected]> - 4.7.1
- More info: https://documentation.wazuh.com/current/release-notes/release-4-7-1.html
Expand Down
8 changes: 7 additions & 1 deletion debs/SPECS/wazuh-agent/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ wazuh-agent (4.9.0-RELEASE) stable; urgency=low

-- Wazuh, Inc <[email protected]> Thu, 14 May 2024 00:00:00 +0000

wazuh-agent (4.8.2-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-8-2.html

-- Wazuh, Inc <[email protected]> Wed, 26 Mar 2024 00:00:00 +0000

wazuh-agent (4.8.1-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-8-1.html
Expand All @@ -20,7 +26,7 @@ wazuh-agent (4.7.2-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-7-2.html

-- Wazuh, Inc <[email protected]> Sun, 9 Jan 2024 00:00:00 +0000
-- Wazuh, Inc <[email protected]> Tue, 09 Jan 2024 00:00:00 +0000

wazuh-agent (4.7.1-RELEASE) stable; urgency=low

Expand Down
8 changes: 7 additions & 1 deletion debs/SPECS/wazuh-manager/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ wazuh-manager (4.9.0-RELEASE) stable; urgency=low

-- Wazuh, Inc <[email protected]> Thu, 14 May 2024 00:00:00 +0000

wazuh-manager (4.8.2-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-8-2.html

-- Wazuh, Inc <[email protected]> Wed, 26 Mar 2024 00:00:00 +0000

wazuh-manager (4.8.1-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-8-1.html
Expand All @@ -20,7 +26,7 @@ wazuh-manager (4.7.2-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-7-2.html

-- Wazuh, Inc <[email protected]> Sun, 9 Jan 2024 00:00:00 +0000
-- Wazuh, Inc <[email protected]> Tue, 09 Jan 2024 00:00:00 +0000

wazuh-manager (4.7.1-RELEASE) stable; urgency=low

Expand Down
2 changes: 1 addition & 1 deletion ova/generate_ova.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ build_ova() {
--product "Wazuh v${OVA_VERSION} OVA" \
--producturl "https://packages.wazuh.com/vm/wazuh-${OVA_VERSION}.ova" \
--vendor "Wazuh, inc <[email protected]>" --vendorurl "https://wazuh.com" \
--version "$OVA_VERSION" --description "Wazuh helps you to gain security visibility into your infrastructure by monitoring hosts at an operating system and application level. It provides the following capabilities: log analysis, file integrity monitoring, intrusions detection and policy and compliance monitoring." \
--version "$OVA_VERSION" --description "Wazuh enhances security visibility in your infrastructure by monitoring endpoints at the operating system and application levels. Its capabilities include log analysis, file integrity monitoring, intrusion detection, and compliance monitoring." \
|| clean 1

vagrant destroy -f
Expand Down
2 changes: 1 addition & 1 deletion ova/wazuh_ovf_template
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</ProductSection>
<AnnotationSection>
<Info>A human-readable annotation</Info>
<Annotation>Wazuh helps you to gain security visibility into your infrastructure by monitoring hosts at an operating system and application level. It provides the following capabilities: log analysis, file integrity monitoring, intrusions detection and policy and compliance monitoring.</Annotation>
<Annotation>Wazuh enhances security visibility in your infrastructure by monitoring endpoints at the operating system and application levels. Its capabilities include log analysis, file integrity monitoring, intrusion detection, and compliance monitoring.</Annotation>
</AnnotationSection>
<OperatingSystemSection ovf:id="101" vmw:osType="otherLinux64Guest">
<Info>The kind of installed guest operating system</Info>
Expand Down
4 changes: 3 additions & 1 deletion rpms/SPECS/wazuh-agent.spec
Original file line number Diff line number Diff line change
Expand Up @@ -627,11 +627,13 @@ rm -fr %{buildroot}
%changelog
* Thu May 14 2024 support <[email protected]> - 4.9.0
- More info: https://documentation.wazuh.com/current/release-notes/release-4-9-0.html
* Wed Mar 26 2024 support <[email protected]> - 4.8.2
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-2.html
* Tue Feb 13 2024 support <[email protected]> - 4.8.1
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-1.html
* Wed Jan 31 2024 support <[email protected]> - 4.8.0
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-0.html
* Sun Dec 17 2023 support <[email protected]> - 4.7.2
* Tue Jan 09 2024 support <[email protected]> - 4.7.2
- More info: https://documentation.wazuh.com/current/release-notes/release-4-7-2.html
* Wed Dec 13 2023 support <[email protected]> - 4.7.1
- More info: https://documentation.wazuh.com/current/release-notes/release-4-7-1.html
Expand Down
4 changes: 3 additions & 1 deletion rpms/SPECS/wazuh-manager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -855,11 +855,13 @@ rm -fr %{buildroot}
%changelog
* Thu May 14 2024 support <[email protected]> - 4.9.0
- More info: https://documentation.wazuh.com/current/release-notes/release-4-9-0.html
* Wed Mar 26 2024 support <[email protected]> - 4.8.2
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-2.html
* Tue Feb 13 2024 support <[email protected]> - 4.8.1
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-1.html
* Wed Jan 31 2024 support <[email protected]> - 4.8.0
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-0.html
* Sun Dec 17 2023 support <[email protected]> - 4.7.2
* Tue Jan 09 2024 support <[email protected]> - 4.7.2
- More info: https://documentation.wazuh.com/current/release-notes/release-4-7-2.html
* Wed Dec 13 2023 support <[email protected]> - 4.7.1
- More info: https://documentation.wazuh.com/current/release-notes/release-4-7-1.html
Expand Down
8 changes: 7 additions & 1 deletion stack/dashboard/deb/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ wazuh-dashboard (4.9.0-RELEASE) stable; urgency=low

-- Wazuh, Inc <[email protected]> Thu, 28 Mar 2024 00:00:00 +0000

wazuh-dashboard (4.8.2-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-8-2.html

-- Wazuh, Inc <[email protected]> Wed, 26 Mar 2024 00:00:00 +0000

wazuh-dashboard (4.8.1-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-8-1.html
Expand All @@ -20,7 +26,7 @@ wazuh-dashboard (4.7.2-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-7-2.html

-- Wazuh, Inc <[email protected]> Sun, 17 Dec 2023 00:00:00 +0000
-- Wazuh, Inc <[email protected]> Tue, 09 Jan 2024 00:00:00 +0000

wazuh-dashboard (4.7.1-RELEASE) stable; urgency=low

Expand Down
4 changes: 3 additions & 1 deletion stack/dashboard/rpm/wazuh-dashboard.spec
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,13 @@ rm -fr %{buildroot}
%changelog
* Thu May 14 2024 support <[email protected]> - 4.9.0
- More info: https://documentation.wazuh.com/current/release-notes/release-4-9-0.html
* Wed Mar 26 2024 support <[email protected]> - 4.8.2
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-2.html
* Tue Feb 13 2024 support <[email protected]> - 4.8.1
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-1.html
* Wed Jan 31 2024 support <[email protected]> - 4.8.0
- More info: https://documentation.wazuh.com/current/release-notes/release-4-8-0.html
* Sun Dec 17 2023 support <[email protected]> - 4.7.2
* Tue Jan 09 2024 support <[email protected]> - 4.7.2
- More info: https://documentation.wazuh.com/current/release-notes/release-4-7-2.html
* Wed Dec 13 2023 support <[email protected]> - 4.7.1
- More info: https://documentation.wazuh.com/current/release-notes/release-4-7-1.html
Expand Down
10 changes: 7 additions & 3 deletions stack/indexer/base/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ set -x
# License (version 2) as published by the FSF - Free Software
# Foundation.

set -e
set -ex

architecture="$1"
revision="$2"
future="$3"
reference="$4"
filebeat_module_reference="$3"
future="$4"
reference="$5"
opensearch_version="2.10.0"
base_dir=/opt/wazuh-indexer-base

Expand Down Expand Up @@ -64,6 +65,7 @@ mkdir -p ./etc/wazuh-indexer/
cp -r ./config/* ./etc/wazuh-indexer/
rm -rf ./config
cp -r /root/stack/indexer/base/files/etc/wazuh-indexer/* ./etc/wazuh-indexer/
curl -so ./etc/wazuh-indexer/wazuh-template.json "https://raw.githubusercontent.com/wazuh/wazuh/${filebeat_module_reference}/extensions/elasticsearch/7.x/wazuh-template.json"
cp -r /root/stack/indexer/base/files/etc/sysconfig ./etc/
cp -r /root/stack/indexer/base/files/etc/init.d ./etc/
cp -r /root/stack/indexer/base/files/usr ./
Expand All @@ -72,6 +74,8 @@ cp -r /root/stack/indexer/indexer-init.sh bin/
rm -rf ./plugins/opensearch-security/tools/install_demo_configuration.sh
cp /root/VERSION .



# -----------------------------------------------------------------------------

# Compile systemD module
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ PartOf=wazuh-indexer.service
After=wazuh-indexer.service

[Service]
ExecStart=/usr/share/wazuh-indexer/bin/performance-analyzer-agent-cli
ExecStart=/usr/share/wazuh-indexer/bin/opensearch-performance-analyzer/performance-analyzer-agent-cli
Restart=on-failure
User=wazuh-indexer
Group=wazuh-indexer
Environment=OPENSEARCH_HOME=/usr/share/wazuh-indexer
Environment=OPENSEARCH_PATH_CONF=/etc/wazuh-indexer/
WorkingDirectory=/usr/share/wazuh-indexer

[Install]
Expand Down
29 changes: 22 additions & 7 deletions stack/indexer/base/generate_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ container_name="indexer_base_builder"
architecture="x64"
future="no"
revision="1"
filebeat_module_reference=""

# -----------------------------------------------------------------------------

Expand Down Expand Up @@ -48,11 +49,11 @@ build_base() {
# Build the RPM package with a Docker container
if [ "${reference}" ];then
docker run -t --rm -v ${outdir}/:/tmp/output:Z \
${container_name} ${architecture} ${revision} ${future} ${reference} || return 1
${container_name} ${architecture} ${revision} ${filebeat_module_reference} ${future} ${reference} || return 1
else
docker run -t --rm -v ${outdir}/:/tmp/output:Z \
-v ${current_path}/../../..:/root:Z \
${container_name} ${architecture} ${revision} ${future} || return 1
${container_name} ${architecture} ${revision} ${filebeat_module_reference} ${future} || return 1
fi

echo "Base file $(ls -Art ${outdir} | tail -n 1) added to ${outdir}."
Expand All @@ -66,11 +67,12 @@ help() {
echo
echo "Usage: $0 [OPTIONS]"
echo
echo " -s, --store <path> [Optional] Set the destination path of package. By default, an output folder will be created."
echo " --reference <ref> [Optional] wazuh-packages branch or tag"
echo " --future [Optional] Build test future package 99.99.0 Used for development purposes."
echo " -r, --revision <rev> [Optional] Package revision. By default ${revision}"
echo " -h, --help Show this help."
echo " -s, --store <path> [Optional] Set the destination path of package. By default, an output folder will be created."
echo " --reference <ref> [Optional] wazuh-packages branch or tag."
echo " -f, --filebeat-module-reference [Optional] wazuh/wazuh Filebeat template branch or tag."
echo " --future [Optional] Build test future package 99.99.0 Used for development purposes."
echo " -r, --revision <rev> [Optional] Package revision. By default ${revision}"
echo " -h, --help Show this help."
echo
exit "${1}"
}
Expand Down Expand Up @@ -100,6 +102,14 @@ main() {
help 1
fi
;;
"-f"|"--filebeat-module-reference")
if [ -n "${2}" ]; then
filebeat_module_reference="${2}"
shift 2
else
help 1
fi
;;
"--future")
future="yes"
shift 1
Expand All @@ -112,11 +122,16 @@ main() {
help 1
fi
;;

*)
help 1
esac
done

if [ -z "${filebeat_module_reference}" ]; then
filebeat_module_reference=$(cat ${current_path}/../../../VERSION)
fi

build_base || clean 1

clean 0
Expand Down
34 changes: 24 additions & 10 deletions stack/indexer/deb/build_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ deb_builder_dockerfile="${current_path}/docker"
future="no"
base_cmd=""
build_base="yes"
filebeat_module_reference=""

trap ctrl_c INT

Expand All @@ -40,7 +41,7 @@ build_deb() {

# Copy the necessary files
cp ${current_path}/builder.sh ${dockerfile_path}

if [ "${build_base}" == "yes" ];then
# Base generation
if [ "${future}" == "yes" ];then
Expand All @@ -49,7 +50,7 @@ build_deb() {
if [ "${reference}" ];then
base_cmd+="--reference ${reference}"
fi
../base/generate_base.sh -s ${outdir} -r ${revision} ${base_cmd}
../base/generate_base.sh -s ${outdir} -r ${revision} -f ${filebeat_module_reference} ${base_cmd}
else
if [ "${reference}" ];then
version=$(curl -sL https://raw.githubusercontent.com/wazuh/wazuh-packages/${reference}/VERSION | cat)
Expand Down Expand Up @@ -107,14 +108,15 @@ help() {
echo
echo "Usage: $0 [OPTIONS]"
echo
echo " -a, --architecture <arch> [Optional] Target architecture of the package [amd64]."
echo " -b, --build-base <yes/no> [Optional] Build a new base or use a existing one. By default, yes."
echo " -r, --revision <rev> [Optional] Package revision. By default: 1."
echo " -s, --store <path> [Optional] Set the destination path of package. By default, an output folder will be created."
echo " --reference <ref> [Optional] wazuh-packages branch to download SPECs, not used by default."
echo " --dont-build-docker [Optional] Locally built docker image will be used instead of generating a new one."
echo " --future [Optional] Build test future package 99.99.0 Used for development purposes."
echo " -h, --help Show this help."
echo " -a, --architecture <arch> [Optional] Target architecture of the package [amd64]."
echo " -b, --build-base <yes/no> [Optional] Build a new base or use a existing one. By default, yes."
echo " -r, --revision <rev> [Optional] Package revision. By default: 1."
echo " -s, --store <path> [Optional] Set the destination path of package. By default, an output folder will be created."
echo " --reference <ref> [Optional] wazuh-packages branch to download SPECs, not used by default."
echo " -f, --filebeat-module-reference [Optional] wazuh/wazuh Filebeat template branch or tag."
echo " --dont-build-docker [Optional] Locally built docker image will be used instead of generating a new one."
echo " --future [Optional] Build test future package 99.99.0 Used for development purposes."
echo " -h, --help Show this help."
echo
exit $1
}
Expand Down Expand Up @@ -159,6 +161,14 @@ main() {
help 1
fi
;;
"-f"|"--filebeat-module-reference")
if [ -n "${2}" ]; then
filebeat_module_reference="${2}"
shift 2
else
help 1
fi
;;
"--dont-build-docker")
build_docker="no"
shift 1
Expand All @@ -180,6 +190,10 @@ main() {
esac
done

if [ -z "${filebeat_module_reference}" ]; then
filebeat_module_reference=$(cat ${current_path}/../../../VERSION)
fi

build || clean 1

clean 0
Expand Down
8 changes: 7 additions & 1 deletion stack/indexer/deb/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ wazuh-indexer (4.9.0-RELEASE) stable; urgency=low

-- Wazuh, Inc <[email protected]> Thu, 28 Mar 2024 00:00:00 +0000

wazuh-indexer (4.8.2-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-8-2.html

-- Wazuh, Inc <[email protected]> Wed, 26 Mar 2024 00:00:00 +0000

wazuh-indexer (4.8.1-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-8-1.html
Expand All @@ -20,7 +26,7 @@ wazuh-indexer (4.7.2-RELEASE) stable; urgency=low

* More info: https://documentation.wazuh.com/current/release-notes/release-4-7-2.html

-- Wazuh, Inc <[email protected]> Sun, 17 Dec 2023 00:00:00 +0000
-- Wazuh, Inc <[email protected]> Tue, 09 Jan 2024 00:00:00 +0000

wazuh-indexer (4.7.1-RELEASE) stable; urgency=low

Expand Down
3 changes: 3 additions & 0 deletions stack/indexer/deb/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ override_dh_fixperms:
chmod 660 $(TARGET_DIR)$(CONFIG_DIR)/jvm.options
chmod 750 $(TARGET_DIR)$(INSTALLATION_DIR)/modules/aggs-matrix-stats
chmod 660 $(TARGET_DIR)$(CONFIG_DIR)/opensearch.yml
chmod 660 $(TARGET_DIR)$(CONFIG_DIR)/wazuh-template.json
chmod 640 $(TARGET_DIR)$(CONFIG_DIR)/opensearch-security/roles_mapping.yml
chmod 640 $(TARGET_DIR)$(CONFIG_DIR)/opensearch-security/internal_users.yml
chmod 640 $(TARGET_DIR)$(CONFIG_DIR)/opensearch-security/roles.yml
Expand All @@ -167,6 +168,8 @@ override_dh_fixperms:
chmod 740 $(TARGET_DIR)$(INSTALLATION_DIR)/plugins/opensearch-security/tools/securityadmin.sh
chmod 740 $(TARGET_DIR)$(INSTALLATION_DIR)/plugins/opensearch-security/tools/wazuh-certs-tool.sh
chmod 740 $(TARGET_DIR)$(INSTALLATION_DIR)/plugins/opensearch-security/tools/wazuh-passwords-tool.sh
chmod 750 $(TARGET_DIR)$(INSTALLATION_DIR)/bin/opensearch-performance-analyzer/performance-analyzer-agent-cli
chmod 750 $(TARGET_DIR)$(INSTALLATION_DIR)/bin/opensearch-performance-analyzer/performance-analyzer-agent

find "$(TARGET_DIR)$(INSTALLATION_DIR)" -type d -exec chmod 750 {} \;
find "$(TARGET_DIR)$(INSTALLATION_DIR)" -type f -perm 644 -exec chmod 640 {} \;
Expand Down
Loading
Loading