Skip to content

Commit

Permalink
Merge pull request #7955 from wazuh/merge-4.9.2-into-4.9
Browse files Browse the repository at this point in the history
Merge 4.9.2 into 4.9
  • Loading branch information
javimed authored Nov 4, 2024
2 parents 023035a + edbc695 commit fe10f5b
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 15 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Change Log
All notable changes to this project will be documented in this file.

# [v4.9.2]

### Added

- Updated the API host default value. ([#7933](https://github.com/wazuh/wazuh-documentation/pull/7933))

## [v4.9.1]

### Added
Expand Down
1 change: 1 addition & 0 deletions source/_static/js/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ redirections.push(
newUrls['4.9'] = [
'/release-notes/release-4-9-0.html',
'/release-notes/release-4-9-1.html',
'/release-notes/release-4-9-2.html',
'/deployment-options/offline-installation/index.html',
'/deployment-options/offline-installation/step-by-step.html',
'/deployment-options/offline-installation/installation-assistant.html',
Expand Down
4 changes: 2 additions & 2 deletions source/_variables/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# The full version, including alpha/beta/rc tags
# Important: use a valid branch (4.0) or, preferably, tag name (v4.0.0)

release = '4.9.1'
api_tag = 'v4.9.1'
release = '4.9.2'
api_tag = 'v4.9.2'

apiURL = 'https://raw.githubusercontent.com/wazuh/wazuh/'+api_tag+'/api/api/spec/spec.yaml'
Original file line number Diff line number Diff line change
Expand Up @@ -732,9 +732,9 @@ Wazuh API variables
$wazuh_api_host
IP address or hostname of the Wazuh manager where the Wazuh API is running.

`Default 0.0.0.0`
`Default ['0.0.0.0', '::']`

`Type String`
`Type List`

$wazuh_api_port
Port where the Wazuh API will listen.
Expand Down
4 changes: 2 additions & 2 deletions source/development/rbac-database-integrity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ After upgrading from a Wazuh version with RBAC database version 0 to 1, ``WAZUH_
2022/06/17 09:44:04 INFO: RBAC database migration required. Current version is 0 but it should be 1. Upgrading RBAC database to version 1
2022/06/17 09:44:09 INFO: /var/ossec/api/configuration/security/rbac.db database upgraded successfully
2022/06/17 09:44:09 INFO: RBAC database integrity check finished successfully
2022/06/17 09:44:12 INFO: Listening on 0.0.0.0:55000..
2022/06/17 09:44:12 INFO: Listening on ['0.0.0.0', '::']:55000..
After upgrading from a Wazuh version with RBAC database version 0 to 1, with the old DB having a user that is a default user in the new version:

Expand All @@ -72,7 +72,7 @@ After upgrading from a Wazuh version with RBAC database version 0 to 1, with the
2022/06/17 10:00:25 WARNING: User 100 (example) is part of the new default users. Renaming it to 'example_user'
2022/06/17 10:00:26 INFO: /var/ossec/api/configuration/security/rbac.db database upgraded successfully
2022/06/17 10:00:26 INFO: RBAC database integrity check finished successfully
2022/06/17 10:00:29 INFO: Listening on 0.0.0.0:55000..
2022/06/17 10:00:29 INFO: Listening on ['0.0.0.0', '::']:55000..
``GET /security/users`` response:

Expand Down
2 changes: 2 additions & 0 deletions source/release-notes/index-4x.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This section summarizes the most important features of each Wazuh 4.x release.
============================================= ====================
Wazuh version Release date
============================================= ====================
:doc:`4.9.2 </release-notes/release-4-9-2>` 4 November 2024
:doc:`4.9.1 </release-notes/release-4-9-1>` 17 October 2024
:doc:`4.9.0 </release-notes/release-4-9-0>` 5 September 2024
:doc:`4.8.2 </release-notes/release-4-8-2>` 20 August 2024
Expand Down Expand Up @@ -70,6 +71,7 @@ Wazuh version Release date
.. rst-class:: d-none

.. toctree::
4.9.2 Release notes <release-4-9-2>
4.9.1 Release notes <release-4-9-1>
4.9.0 Release notes <release-4-9-0>
4.8.2 Release notes <release-4-8-2>
Expand Down
1 change: 1 addition & 0 deletions source/release-notes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This section summarizes the most important features of each Wazuh release.
============================================== ====================
Wazuh version Release date
============================================== ====================
:doc:`4.9.2 </release-notes/release-4-9-2>` 4 November 2024
:doc:`4.9.1 </release-notes/release-4-9-1>` 17 October 2024
:doc:`4.9.0 </release-notes/release-4-9-0>` 5 September 2024
:doc:`4.8.2 </release-notes/release-4-8-2>` 20 August 2024
Expand Down
49 changes: 49 additions & 0 deletions source/release-notes/release-4-9-2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
.. Copyright (C) 2015, Wazuh, Inc.
.. meta::
:description: Wazuh 4.9.2 has been released. Check out our release notes to discover the changes and additions of this release.

4.9.2 Release notes - 4 November 2024
=====================================

This section lists the changes in version 4.9.2. Every update of the Wazuh solution is cumulative and includes all enhancements and fixes from previous releases.

Resolved issues
---------------

This release resolves known issues as the following:

Wazuh manager
^^^^^^^^^^^^^

- `#26453 <https://github.com/wazuh/wazuh/pull/26453>`__ Fixed an unhandled exception during IPC event parsing.

Wazuh dashboard
^^^^^^^^^^^^^^^

- `#7128 <https://github.com/wazuh/wazuh-dashboard-plugins/pull/7128>`__ Fixed vulnerabilities inventory table scroll.

Changelogs
----------

The repository changelogs provide more details about the changes.

Product repositories
^^^^^^^^^^^^^^^^^^^^

- `wazuh/wazuh <https://github.com/wazuh/wazuh/blob/v4.9.2/CHANGELOG.md>`__
- `wazuh/wazuh-dashboard-plugins <https://github.com/wazuh/wazuh-dashboard-plugins/blob/v4.9.2/CHANGELOG.md>`__
- `wazuh/wazuh-packages <https://github.com/wazuh/wazuh-packages/blob/v4.9.2/CHANGELOG.md>`__

Auxiliary repositories
^^^^^^^^^^^^^^^^^^^^^^^

- `wazuh/wazuh-ansible <https://github.com/wazuh/wazuh-ansible/blob/v4.9.2/CHANGELOG.md>`__
- `wazuh/wazuh-kubernetes <https://github.com/wazuh/wazuh-kubernetes/blob/v4.9.2/CHANGELOG.md>`__
- `wazuh/wazuh-puppet <https://github.com/wazuh/wazuh-puppet/blob/v4.9.2/CHANGELOG.md>`__
- `wazuh/wazuh-docker <https://github.com/wazuh/wazuh-docker/blob/v4.9.2/CHANGELOG.md>`__

- `wazuh/wazuh-qa <https://github.com/wazuh/wazuh-qa/blob/v4.9.2/CHANGELOG.md>`__
- `wazuh/qa-integration-framework <https://github.com/wazuh/qa-integration-framework/blob/v4.9.2/CHANGELOG.md>`__

- `wazuh/wazuh-documentation <https://github.com/wazuh/wazuh-documentation/blob/v4.9.2/CHANGELOG.md>`__
12 changes: 6 additions & 6 deletions source/user-manual/api/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Here are all the available settings for the ``/var/ossec/api/configuration/api.y

.. code-block:: yaml
host: 0.0.0.0
host: ['0.0.0.0', '::']
port: 55000
drop_privileges: yes
Expand Down Expand Up @@ -96,11 +96,11 @@ API configuration options
host
^^^^

+----------------------------------+---------------+--------------------------------------------------------------------------------------+
| Allowed values | Default value | Description |
+==================================+===============+======================================================================================+
| Any valid IP address or hostname | 0.0.0.0 | IP address or hostname of the Wazuh manager where the Wazuh server API is running. |
+----------------------------------+---------------+--------------------------------------------------------------------------------------+
+-------------------------------------------+---------------------+------------------------------------------------------------------------------------------+
| Allowed values | Default value | Description |
+===========================================+=====================+==========================================================================================+
| A list of valid IP addresses or hostnames | ['0.0.0.0', '::'] | IP addresses or hostnames of the Wazuh manager where the Wazuh server API is running. |
+-------------------------------------------+---------------------+------------------------------------------------------------------------------------------+

port
^^^^
Expand Down
6 changes: 3 additions & 3 deletions source/user-manual/api/securing-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ You can change the default password for the administrative users ``wazuh`` and
3. Change the default host and port
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

By default, the ``host`` is set to ``0.0.0.0``, allowing the Wazuh server API to accept incoming connections on all available network interfaces. To restrict access, edit the Wazuh server API configuration in ``/var/ossec/api/configuration/api.yaml``:
By default, the ``host`` is set to ``['0.0.0.0', '::']``, allowing the Wazuh server API to accept incoming connections on all available network interfaces. To restrict access, edit the Wazuh server API configuration in ``/var/ossec/api/configuration/api.yaml``:

.. code-block:: yaml
host: 0.0.0.0
host: ['0.0.0.0', '::']
You can also change the default port:

Expand Down Expand Up @@ -120,4 +120,4 @@ To protect against brute force attacks, you can limit login attempts from the sa

By default, you're allowed 50 login attempts per 300-second period. To adjust these limits, edit the ``max_login_attempts`` and/or ``block_time`` settings in ``/var/ossec/api/configuration/api.yaml``.

You can find a complete Wazuh server API configuration guide :doc:`here <configuration>`.
You can find a complete Wazuh server API configuration guide :doc:`here <configuration>`.

0 comments on commit fe10f5b

Please sign in to comment.