Skip to content

Commit e9ea6d1

Browse files
authored
Merge pull request #8486 from wazuh/bug/idr101-download-from-remote-location-4.8
Fix the section Download configuration files from remote location
2 parents 34f6d0f + 6ab3b92 commit e9ea6d1

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

source/user-manual/reference/centralized-configuration.rst

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ Whether for any reason you don't want to apply the shared configuration in a spe
322322
Download configuration files from remote location
323323
-------------------------------------------------
324324

325-
The Wazuh manager has the capability to download configuration files like ``merged.mg`` as well as other files to be merged for the groups that you want.
325+
The Wazuh manager can download configuration files such as ``merged.mg`` and other files to be merged for selected groups.
326326

327327
To use this feature, we need to put a yaml file named ``files.yml`` under the directory ``/var/ossec/etc/shared/``. When the **manager** starts, it will read and parse the file.
328328

@@ -343,15 +343,7 @@ The ``files.yml`` has the following structure as shown in the following example:
343343
agent.conf: https://example.com/agent.conf
344344
poll: 200
345345
346-
agents:
347-
001: my_group_1
348-
002: my_group_2
349-
003: another_group
350-
351-
Here we can distinguish the two main blocks: ``groups`` and ``agents``.
352-
353-
354-
1. In the ``groups`` block we define the group name from which we want to download the files.
346+
The ``groups`` block defines the group name from which to download the files.
355347

356348
- If the group doesn't exist, it will be created.
357349
- If a file has the name ``merged.mg``, only this file will be downloaded. Then it will be validated.
@@ -394,4 +386,4 @@ The information about the parsing is shown on the ``/var/ossec/logs/ossec.log``
394386
.. code-block:: none
395387
:class: output
396388
397-
ERROR: The downloaded file '/var/download/merged.mg' is corrupted.
389+
ERROR: The downloaded file '/var/download/merged.mg' is corrupted.

0 commit comments

Comments
 (0)