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.10.2 into main #133

Merged
merged 22 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
9ff6ad6
change source branch
CarlosALgit Oct 18, 2024
bc4eb98
Merge pull request #117 from wazuh/enhancement/116-change-source-branch
Enaraque Oct 18, 2024
96cbf83
revert source branch to v4.10.0
CarlosALgit Oct 18, 2024
981694f
Merge pull request #118 from wazuh/enhancement/116-revert-source-branch
Enaraque Oct 18, 2024
c703915
fixed offline pre-release package download process
CarlosALgit Oct 23, 2024
bc71aea
updated changelog
CarlosALgit Oct 24, 2024
e868e74
Merge pull request #121 from wazuh/bug/119-offline-packages-download-…
c-bordon Oct 24, 2024
6b52e97
added fail case when trying to download a filebeat template that does…
CarlosALgit Oct 25, 2024
ff98d41
fixed condition order to show the correct message
CarlosALgit Oct 28, 2024
8930ac9
updated changelog
CarlosALgit Oct 28, 2024
7ac50be
Merge pull request #124 from wazuh/bug/122-download-filebeat-wazuh-te…
c-bordon Oct 28, 2024
b94b394
Updated changelog
c-bordon Nov 4, 2024
aae3d63
Merge branch '4.10.1' of github.com:wazuh/wazuh-installation-assistan…
c-bordon Nov 4, 2024
faaec03
Merge pull request #129 from wazuh/Merge-4.10.0-into-4.10.1
teddytpc1 Nov 4, 2024
b2a5e56
Updated changelog
c-bordon Nov 4, 2024
c3a9ebf
Merge pull request #130 from wazuh/Merge-4.9.2-into-4.10.0
teddytpc1 Nov 4, 2024
cb2cbfb
Merge branch 'merge-4.10.0-into-4.10.1' of github.com:wazuh/wazuh-ins…
c-bordon Nov 4, 2024
8914899
Merge pull request #131 from wazuh/merge-4.10.0-into-4.10.1
teddytpc1 Nov 4, 2024
f9bef1c
Merge branch 'merge-4.10.1-into-4.10.2' of github.com:wazuh/wazuh-ins…
c-bordon Nov 4, 2024
705862b
Merge branch '4.10.2' of github.com:wazuh/wazuh-installation-assistan…
c-bordon Nov 4, 2024
f20c184
Merge pull request #132 from wazuh/merge-4.10.1-into-4.10.2
teddytpc1 Nov 4, 2024
81b72f2
Merge branch 'main' of github.com:wazuh/wazuh-installation-assistant …
c-bordon Nov 4, 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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,18 @@ All notable changes to this project will be documented in this file.

### Fixed

- Fixed bug when trying to download nonexistent filebeat_wazuh_template ([#124](https://github.com/wazuh/wazuh-installation-assistant/pull/124))
- Fixed offline pre-release package download process ([#121](https://github.com/wazuh/wazuh-installation-assistant/pull/121))
- Changed GitHub Runner version to fix Python error ([#110](https://github.com/wazuh/wazuh-installation-assistant/pull/110))
- Fixed Wazuh API validation ([#29](https://github.com/wazuh/wazuh-installation-assistant/pull/29))
- Fixed token variable empty in Wazuh manager check ([#45](https://github.com/wazuh/wazuh-installation-assistant/pull/45))
- Fixed manager check in distributed deployment ([#52](https://github.com/wazuh/wazuh-installation-assistant/pull/52))
- Changed command order execution to get the TOKEN ([#57](https://github.com/wazuh/wazuh-installation-assistant/pull/57))

## [4.9.2]

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

## [4.9.1]

- https://github.com/wazuh/wazuh-packages/releases/tag/v4.9.1
Expand All @@ -94,6 +100,10 @@ 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
Expand Down
2 changes: 1 addition & 1 deletion install_functions/indexer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function indexer_startCluster() {
filebeat_wazuh_template="file://${offline_files_path}/wazuh-template.json"
fi
http_status=$(eval "common_curl --silent '${filebeat_wazuh_template}' --max-time 300 --retry 5 --retry-delay 5" | eval "common_curl -X PUT 'https://${indexer_node_ips[pos]}:9200/_template/wazuh' -H \'Content-Type: application/json\' -d @- -uadmin:admin -k --max-time 300 --silent --retry 5 --retry-delay 5 -w "%{http_code}" -o /dev/null")
if [ "${http_status}" -ne 200 ]; then
if [ -z "${http_status}" ] || [ "${http_status}" -ne 200 ]; then
common_logger -e "The wazuh-alerts template could not be inserted into the Wazuh indexer cluster."
exit 1
else
Expand Down
14 changes: 7 additions & 7 deletions install_functions/installVariables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@ readonly apt_lockfile="/var/lib/dpkg/lock"

## Offline Installation vars
readonly base_dest_folder="wazuh-offline"
readonly manager_deb_base_url="${base_url}/apt/pool/main/w/wazuh-manager"
manager_deb_base_url="${base_url}/apt/pool/main/w/wazuh-manager"
readonly filebeat_deb_base_url="${base_url}/apt/pool/main/f/filebeat"
readonly filebeat_deb_package="filebeat-oss-${filebeat_version}-amd64.deb"
readonly indexer_deb_base_url="${base_url}/apt/pool/main/w/wazuh-indexer"
readonly dashboard_deb_base_url="${base_url}/apt/pool/main/w/wazuh-dashboard"
readonly manager_rpm_base_url="${base_url}/yum"
indexer_deb_base_url="${base_url}/apt/pool/main/w/wazuh-indexer"
dashboard_deb_base_url="${base_url}/apt/pool/main/w/wazuh-dashboard"
manager_rpm_base_url="${base_url}/yum"
readonly filebeat_rpm_base_url="${base_url}/yum"
readonly filebeat_rpm_package="filebeat-oss-${filebeat_version}-x86_64.rpm"
readonly indexer_rpm_base_url="${base_url}/yum"
readonly dashboard_rpm_base_url="${base_url}/yum"
indexer_rpm_base_url="${base_url}/yum"
dashboard_rpm_base_url="${base_url}/yum"
readonly wazuh_gpg_key="https://${bucket}/key/GPG-KEY-WAZUH"
readonly filebeat_config_file="${resources}/tpl/wazuh/filebeat/filebeat.yml"
filebeat_config_file="${resources}/tpl/wazuh/filebeat/filebeat.yml"

adminUser="wazuh"
adminPassword="wazuh"
Expand Down
13 changes: 13 additions & 0 deletions install_functions/wazuh-offline-download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,19 @@ function offline_download() {
indexer_revision="1"
dashboard_revision="1"

if [ -n "${development}" ]; then
filebeat_config_file="https://${bucket}/${wazuh_major}/tpl/wazuh/filebeat/filebeat.yml"
if [ "${package_type}" == "rpm" ]; then
manager_rpm_base_url="${repobaseurl}/yum"
indexer_rpm_base_url="${repobaseurl}/yum"
dashboard_rpm_base_url="${repobaseurl}/yum"
elif [ "${package_type}" == "deb" ]; then
manager_deb_base_url="${repobaseurl}/apt/pool/main/w/wazuh-manager"
indexer_deb_base_url="${repobaseurl}/apt/pool/main/w/wazuh-indexer"
dashboard_deb_base_url="${repobaseurl}/apt/pool/main/w/wazuh-dashboard"
fi
fi

if [ "${package_type}" == "rpm" ]; then
manager_rpm_package="wazuh-manager-${wazuh_version}-${manager_revision}.x86_64.${package_type}"
indexer_rpm_package="wazuh-indexer-${wazuh_version}-${indexer_revision}.x86_64.${package_type}"
Expand Down
Loading