Skip to content

Commit 9f3444a

Browse files
committed
Merge Wazuh documents
1 parent bb1bc7a commit 9f3444a

File tree

3 files changed

+36
-92
lines changed

3 files changed

+36
-92
lines changed

doc/source/configuration/wazuh.rst

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,20 @@
22
Wazuh
33
=====
44

5+
`Wazuh <https://wazuh.com>`_ is a security monitoring platform.
6+
It monitors for:
7+
8+
* Security-related system events.
9+
* Known vulnerabilities (CVEs) in versions of installed software.
10+
* Misconfigurations in system security.
11+
512
The short version
613
=================
714

815
#. Create an infrastructure VM for the Wazuh manager, and add it to the wazuh-manager group
916
#. Configure the infrastructure VM with kayobe: ``kayobe infra vm host configure``
1017
#. Edit your config under
11-
``etc/kayobe/inventory/group_vars/wazuh-manager/wazuh-manager``, in
18+
``$KAYOBE_CONFIG_PATHinventory/group_vars/wazuh-manager/wazuh-manager``, in
1219
particular the defaults assume that the ``provision_oc_net`` network will be
1320
used.
1421
#. Generate secrets: ``kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-secrets.yml``
@@ -233,9 +240,12 @@ You may need to modify some of the variables, including:
233240
- etc/kayobe/wazuh-manager.yml
234241
- etc/kayobe/inventory/group_vars/wazuh/wazuh-agent/wazuh-agent
235242

243+
You'll need to run ``wazuh-manager.yml`` playbook again to apply customisation.
244+
236245
Secrets
237246
-------
238247

248+
Wazuh requires that secrets or passwords are set for itself and the services with which it communiticates.
239249
Wazuh secrets playbook is located in ``etc/kayobe/ansible/wazuh-secrets.yml``.
240250
Running this playbook will generate and put pertinent security items into secrets
241251
vault file which will be placed in ``$KAYOBE_CONFIG_PATH/wazuh-secrets.yml``.
@@ -250,6 +260,10 @@ It will be used by wazuh secrets playbook to generate wazuh secrets vault file.
250260
251261
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-secrets.yml
252262
263+
.. note:: Use ``ansible-vault`` to view the secrets:
264+
265+
``ansible-vault view --vault-password-file ~/vault.password $KAYOBE_CONFIG_PATH/inventory/group_vars/wazuh-manager/wazuh-secrets.yml``
266+
253267
Configure Wazuh Dashboard's Server Host
254268
---------------------------------------
255269

@@ -390,6 +404,25 @@ Deploy the Wazuh agents:
390404

391405
``kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-agent.yml``
392406

407+
The Wazuh Agent is deployed to all hosts in the ``wazuh-agent``
408+
inventory group, comprising the ``seed`` group
409+
plus the ``overcloud`` group (containing all hosts in the
410+
OpenStack control plane).
411+
412+
.. code-block:: ini
413+
414+
[wazuh-agent:children]
415+
seed
416+
overcloud
417+
418+
The hosts running Wazuh Agent should automatically be registered
419+
and visible within the Wazuh Manager dashboard.
420+
421+
.. note:: It is good practice to use a `Kayobe deploy hook
422+
<https://docs.openstack.org/kayobe/latest/custom-ansible-playbooks.html#hooks>`_
423+
to automate deployment and configuration of the Wazuh Agent
424+
following a run of ``kayobe overcloud host configure``.
425+
393426
Verification
394427
------------
395428

doc/source/operations/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
=================
1+
==============
22
Operator Guide
3-
=================
3+
==============
44

55
This guide is for operators of the StackHPC Kayobe configuration project.
66

doc/source/operations/wazuh-operation.rst

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)