Skip to content

Commit 1938126

Browse files
authored
Merge 4.9.1 into 4.10.0 (#454)
* Prepare 4.9.1-rc2 (#436) * Update docker/README.md (#438) * Support new stage 4.9.1-rc3 (#443) * Update operational--integrations_maintenance_request.md (#449) Signed-off-by: Álex Ruiz <[email protected]> --------- Signed-off-by: Álex Ruiz <[email protected]>
1 parent 220c75d commit 1938126

File tree

7 files changed

+46
-59
lines changed

7 files changed

+46
-59
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Integrations maintenance request
3+
about: Used by the Indexer team to maintain third-party software integrations and track the results.
4+
title: Integrations maintenance request
5+
labels: level/task, request/operational, type/maintenance
6+
assignees: ""
7+
---
8+
9+
## Description
10+
11+
The Wazuh Indexer team is responsible for the maintenance of the third-party integrations hosted in the wazuh/wazuh-indexer repository. We must ensure these integrations work under new releases of the third-party software (Splunk, Elastic, Logstash, …) and our own.
12+
13+
For that, we need to:
14+
15+
- [ ] Create a pull request that upgrades the components to the latest version.
16+
- [ ] Update our testing environments to verify the integrations work under new versions.
17+
- [ ] Test the integrations, checking that:
18+
- The Docker Compose project starts without errors.
19+
- The data arrives to the destination.
20+
- All the dashboards can be imported successfully.
21+
- All the dashboards are populated with data.
22+
- [ ] Finally, upgrade the compatibility matrix in integrations/README.md with the new versions.
23+
24+
> [!NOTE]
25+
> * For Logstash, we use the logstash-oss image.
26+
> * For Wazuh Indexer and Wazuh Dashboard, we use the opensearch and opensearch-dashboards images. These must match the opensearch version that we support (e.g: for Wazuh 4.9.0 it is OpenSearch 2.13.0).
27+
28+
## Issues
29+
30+
- _List here the detected issues_

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1919

2020
### Security
2121

22-
[Unreleased 4.10.x]: https://github.com/wazuh/wazuh-indexer/compare/5a53a90d05a7bad0ca5803ac70025dea744d789a...4.10.0
22+
[Unreleased 4.10.x]: https://github.com/wazuh/wazuh-indexer/compare/95f1e12e409c9e1495c130633d064a174a73786e...4.10.0

distribution/packages/src/rpm/wazuh-indexer.rpm.spec

+2-2
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ exit 0
266266
%attr(750, %{name}, %{name}) %{product_dir}/performance-analyzer-rca/bin/*
267267

268268
%changelog
269-
* Mon Sep 23 2024 support <[email protected]> - 4.10.0
269+
* Thu Oct 10 2024 support <[email protected]> - 4.10.0
270270
- More info: https://documentation.wazuh.com/current/release-notes/release-4-10-0.html
271-
* Fri Sep 20 2024 support <[email protected]> - 4.9.1
271+
* Fri Sep 27 2024 support <[email protected]> - 4.9.1
272272
- More info: https://documentation.wazuh.com/current/release-notes/release-4-9-1.html
273273
* Thu Aug 15 2024 support <[email protected]> - 4.9.0
274274
- More info: https://documentation.wazuh.com/current/release-notes/release-4-9-0.html

docker/README.md

+11-50
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,19 @@
1-
# Indexer development environments
1+
# Docker environments
22

3-
Install [Docker Desktop][docker-desktop] as per its instructions, available for Windows, Mac
4-
and Linux (Ubuntu, Debian & Fedora).
5-
This ensures that the development experience between Linux, Mac and Windows is as
6-
similar as possible.
7-
8-
> IMPORTANT: be methodic during the installation of Docker Desktop, and proceed
9-
> step by step as described in their documentation. Make sure that your system
10-
> meets the system requirements before installing Docker Desktop, and read any
11-
> post-installation note, specially on Linux: [Differences between
12-
> Docker Desktop for Linux and Docker Engine][docker-variant].
3+
Multipurpose Docker environments to run, test and build `wazuh-indexer`.
134

145
## Pre-requisites
156

16-
1. Assign resources to [Docker Desktop][docker-desktop]. The requirements for the
17-
environments are:
7+
1. Install [Docker][docker] as per its instructions.
8+
9+
1. Your workstation must meet the minimum hardware requirements:
1810

1911
- 8 GB of RAM (minimum)
2012
- 4 cores
2113

2214
The more resources the better ☺
2315

24-
2. Clone the [wazuh-indexer][wi-repo].
25-
26-
3. Set up user permissions
27-
28-
The Docker volumes will be created by the internal Docker user, making them
29-
read-only. To prevent this, a new group named `docker-desktop` and GUID 100999
30-
needs to be created, then added to your user and the source code folder:
31-
32-
```bash
33-
sudo groupadd -g 100999 docker-desktop
34-
sudo useradd -u 100999 -g 100999 -M docker-desktop
35-
sudo chown -R docker-desktop:docker-desktop $WZD_HOME
36-
sudo usermod -aG docker-desktop $USER
37-
```
38-
39-
## Understanding Docker contexts
40-
41-
Before we begin starting Docker containers, we need to understand the
42-
differences between Docker Engine and Docker Desktop, more precisely, that the
43-
use different contexts.
44-
45-
Carefully read these two sections of the Docker documentation:
46-
47-
- [Differences between Docker Desktop for Linux and Docker Engine][docker-variant].
48-
- [Switch between Docker Desktop and Docker Engine][docker-context].
49-
50-
Docker Desktop will change to its context automatically at start, so be sure
51-
that any existing Docker container using the default context is **stopped**
52-
before starting Docker Desktop and any of the environments in this folder.
16+
1. Clone the [wazuh-indexer][wi-repo].
5317

5418
## Development environments
5519

@@ -61,27 +25,24 @@ Example:
6125
Usage: ./dev.sh {up|down|stop}
6226
```
6327

64-
Once the `wi-dev:x.y.z` container is up, attach a shell to it and run `./gradlew run`
65-
to start the application.
28+
Once the `wi-dev:x.y.z` container is up, attach a shell to it and run `./gradlew run` to start the application.
6629

6730
## Containers to generate packages
6831

6932
Use the `ci/ci.sh` script to start provisioned containers to generate packages.
7033

7134
```bash
72-
Usage: ./ci.sh {up|down|stop} [ci]
35+
Usage: ./ci.sh {up|down|stop}
7336
```
7437

75-
Refer to [scripts/README.md](../scripts/README.md) for details about how to build packages.
38+
Refer to [packaging_scripts/README.md](../packaging_scripts/README.md) for details about how to build packages.
7639

77-
[docker-desktop]: https://docs.docker.com/get-docker
78-
[docker-variant]: https://docs.docker.com/desktop/install/linux-install/#differences-between-docker-desktop-for-linux-and-docker-engine
79-
[docker-context]: https://docs.docker.com/desktop/install/linux-install/#context
40+
[docker]: https://docs.docker.com/engine/install
8041
[wi-repo]: https://github.com/wazuh/wazuh-indexer
8142

8243
## Building Docker images
8344

84-
The [prod](./prod) folder contains the code to build Docker images. A tarball of `wazuh-indexer` needs to be located at the same level that the Dockerfile. Below there is example of the command needed to build the image. Set the build arguments and the image tag accordingly.
45+
The [prod](./prod) folder contains the code to build Docker images. A tarball of `wazuh-indexer` needs to be located at the same level that the Dockerfile. Below there is an example of the command needed to build the image. Set the build arguments and the image tag accordingly.
8546

8647
```console
8748
docker build --build-arg="VERSION=4.10.0" --build-arg="INDEXER_TAR_NAME=wazuh-indexer-4.10.0-1_linux-x64_cfca84f.tar.gz" --tag=wazuh-indexer:4.10.0 --progress=plain --no-cache .

docker/ci/ci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3.9"
2-
31
services:
42
# Essentially wi-dev, but doesn't expose port 9200
53
wi-build:

docker/dev/dev.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3.9"
2-
31
services:
42
wi-dev:
53
image: wi-dev:${VERSION}

release-notes/wazuh.release-notes-4.9.1-rc1.md release-notes/wazuh.release-notes-4.9.1-rc3.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## 2024-09-20 Version 4.9.1-rc1 Release Notes
1+
## 2024-09-27 Version 4.9.1-rc2 Release Notes
22

3-
## [4.9.1-rc1]
3+
## [4.9.1-rc2]
44
### Added
55
-
66

0 commit comments

Comments
 (0)