Skip to content

Update Wazuh docs #1058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions doc/source/configuration/wazuh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,33 @@ It will be used by wazuh secrets playbook to generate wazuh secrets vault file.
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-secrets.yml
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/wazuh-secrets.yml

Configure Wazuh Dashboard's Server Host
---------------------------------------

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.

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:

.. code-block:: yaml
:caption: $KAYOBE_CONFIG_PATH/environments/<env_name>/inventory/group_vars/wazuh-manager/wazuh-manager.yml

dashboard_server_host: "{{ <network-name-prefix>_net_name | net_ip }}"

For example:

.. code-block:: yaml
:caption: $KAYOBE_CONFIG_PATH/environments/<env_name>/inventory/group_vars/wazuh-manager/wazuh-manager.yml

dashboard_server_host: "{{ public_net_name | net_ip }}"

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:

.. code-block:: bash
:caption: Deploy or re-run the ``wazuh-manager.yml`` ansible playbook to apply changes made to the configuration.

kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-manager.yml

More on the deployment of Wazuh dashboard can be found below in the :ref:`subsequent section <Deploy>`.

TLS (optional)
--------------
Expand Down Expand Up @@ -318,6 +345,8 @@ the in-development policy here: https://github.com/wazuh/wazuh/pull/17810 To
include this in your deployment, simply copy it to
``{{ kayobe_env_config_path }}/wazuh/custom_sca_policies/cis_rocky_linux_9.yml``.

.. _Deploy:

Deploy
------

Expand Down