Skip to content

Commit 9c52e66

Browse files
authored
Merge pull request #8944 from wazuh/enhancement/idr361-update-wazuh-central-components-upgrade-guide
Update the Wazuh central components upgrade guide
2 parents 5a2e699 + c279408 commit 9c52e66

File tree

2 files changed

+43
-10
lines changed

2 files changed

+43
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ All notable changes to this project will be documented in this file.
99

1010
### Changed
1111

12-
- **Post-release**: Updated curl commands in the Upgrade guide. ([#8934](https://github.com/wazuh/wazuh-documentation/pull/8934))
13-
- **Post-release**: Updated the upgrade guide steps for upgrading the Wazuh indexer. ([#8941](https://github.com/wazuh/wazuh-documentation/pull/8941))
12+
- **Post-release**: Updated the upgrade guide for Wazuh central components. ([#8934](https://github.com/wazuh/wazuh-documentation/pull/8934)) ([#8941](https://github.com/wazuh/wazuh-documentation/pull/8941)) ([#8944](https://github.com/wazuh/wazuh-documentation/pull/8944))
1413

1514
## [v4.13.0]
1615

source/upgrade-guide/upgrading-central-components.rst

Lines changed: 42 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -379,27 +379,57 @@ Upgrading the Wazuh manager
379379
#. Upgrade the Wazuh manager to the latest version:
380380

381381
.. tabs::
382-
382+
383383
.. group-tab:: Yum
384-
384+
385385
.. code-block:: console
386-
386+
387387
# yum upgrade wazuh-manager|WAZUH_MANAGER_RPM_PKG_INSTALL|
388-
388+
389389
.. group-tab:: APT
390-
390+
391391
.. code-block:: console
392-
392+
393393
# apt-get install wazuh-manager|WAZUH_MANAGER_DEB_PKG_INSTALL|
394-
394+
395395
.. warning::
396-
396+
397397
If the ``/var/ossec/etc/ossec.conf`` configuration file was modified, it will not be replaced by the upgrade. You will therefore have to add the settings of the new capabilities manually. More information can be found in the :doc:`/user-manual/index`.
398398

399399
#. Run the following command on the Wazuh manager node(s) to start the Wazuh manager service if you stopped it earlier:
400400

401401
.. include:: /_templates/common/start_manager.rst
402402

403+
Configuring CDB lists
404+
^^^^^^^^^^^^^^^^^^^^^
405+
406+
When upgrading from Wazuh 4.12.x or earlier, follow these steps to configure the newly added CDB lists.
407+
408+
#. Edit the ``/var/ossec/etc/ossec.conf`` file and update the ``<ruleset>`` block with the CDB lists highlighted below.
409+
410+
.. code-block:: xml
411+
:emphasize-lines: 9-11
412+
413+
<ruleset>
414+
<!-- Default ruleset -->
415+
<decoder_dir>ruleset/decoders</decoder_dir>
416+
<rule_dir>ruleset/rules</rule_dir>
417+
<rule_exclude>0215-policy_rules.xml</rule_exclude>
418+
<list>etc/lists/audit-keys</list>
419+
<list>etc/lists/amazon/aws-eventnames</list>
420+
<list>etc/lists/security-eventchannel</list>
421+
<list>etc/lists/malicious-ioc/malware-hashes</list>
422+
<list>etc/lists/malicious-ioc/malicious-ip</list>
423+
<list>etc/lists/malicious-ioc/malicious-domains</list>
424+
<!-- User-defined ruleset -->
425+
<decoder_dir>etc/decoders</decoder_dir>
426+
<rule_dir>etc/rules</rule_dir>
427+
</ruleset>
428+
429+
#. Restart the Wazuh manager to apply the configuration changes
430+
431+
.. include:: /_templates/common/start_manager.rst
432+
403433
.. _configuring_vulnerability_detection:
404434

405435
Configuring vulnerability detection
@@ -468,6 +498,10 @@ When upgrading from Wazuh version 4.7.x or earlier, follow these steps to config
468498
469499
If you have forgotten your Wazuh indexer password, refer to the :doc:`password management guide </user-manual/user-administration/password-management>` to reset it.
470500

501+
#. Restart the Wazuh manager to apply the configuration changes
502+
503+
.. include:: /_templates/common/start_manager.rst
504+
471505
.. _configuring_filebeat:
472506

473507
Configuring Filebeat

0 commit comments

Comments
 (0)