Skip to content

Commit 6e71ff1

Browse files
authored
Update Wazuh docs (#1058)
Update Wazuh docs
1 parent 6458834 commit 6e71ff1

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

doc/source/configuration/wazuh.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,33 @@ It will be used by wazuh secrets playbook to generate wazuh secrets vault file.
252252
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-secrets.yml
253253
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/wazuh-secrets.yml
254254
255+
Configure Wazuh Dashboard's Server Host
256+
---------------------------------------
257+
258+
It is common to want to configure the Wazuh dashboard to serve on a different network than the overcloud provisioning network used for Wazuh's internal communication.
259+
260+
In order to do so, either create or edit the ``$KAYOBE_CONFIG_PATH/environments/<env_name>/inventory/group_vars/wazuh-manager/wazuh-manager.yml`` configuration file to include the dashboard variable:
261+
262+
.. code-block:: yaml
263+
:caption: $KAYOBE_CONFIG_PATH/environments/<env_name>/inventory/group_vars/wazuh-manager/wazuh-manager.yml
264+
265+
dashboard_server_host: "{{ <network-name-prefix>_net_name | net_ip }}"
266+
267+
For example:
268+
269+
.. code-block:: yaml
270+
:caption: $KAYOBE_CONFIG_PATH/environments/<env_name>/inventory/group_vars/wazuh-manager/wazuh-manager.yml
271+
272+
dashboard_server_host: "{{ public_net_name | net_ip }}"
273+
274+
If this is being added post deployment the user will be required to re-run the ``wazuh-manager.yml`` ansible playbook via the following command:
275+
276+
.. code-block:: bash
277+
:caption: Deploy or re-run the ``wazuh-manager.yml`` ansible playbook to apply changes made to the configuration.
278+
279+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-manager.yml
280+
281+
More on the deployment of Wazuh dashboard can be found below in the :ref:`subsequent section <Deploy>`.
255282

256283
TLS (optional)
257284
--------------
@@ -316,6 +343,8 @@ the in-development policy here: https://github.com/wazuh/wazuh/pull/17810 To
316343
include this in your deployment, simply copy it to
317344
``{{ kayobe_env_config_path }}/wazuh/custom_sca_policies/cis_rocky_linux_9.yml``.
318345

346+
.. _Deploy:
347+
319348
Deploy
320349
------
321350

0 commit comments

Comments
 (0)