Skip to content

Commit 48e06bf

Browse files
authored
Merge pull request #907 from stackhpc/docs/wazuh
Update wazuh docs
2 parents 6c14370 + 8ed7c54 commit 48e06bf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/source/configuration/wazuh.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,12 @@ You may need to modify some of the variables, including:
226226

227227
.. note::
228228

229-
NOTE:
230229
If you are using multiple environments, and you need to customise Wazuh in
231230
each environment, create override files in an appropriate directory,
232-
for example `etc/kayobe/environments/production/inventory/group_vars/`
231+
for example ``etc/kayobe/environments/production/inventory/group_vars/``.
232+
233233
Files which values can be overridden (in the context of Wazuh):
234+
234235
- etc/kayobe/inventory/group_vars/wazuh/wazuh-manager/wazuh-manager
235236
- etc/kayobe/wazuh-manager.yml
236237
- etc/kayobe/inventory/group_vars/wazuh/wazuh-agent/wazuh-agent
@@ -316,6 +317,9 @@ If you are using the wazuh generated certificates,
316317
this will result in the creation of some certificates and keys (in case of custom certs adjust path to it).
317318
Encrypt the keys (and remember to commit to git):
318319

320+
``ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/environments/<environment>/wazuh/wazuh-certificates/*.key``
321+
322+
If using the kayobe environments feature, otherwise:
319323

320324
``ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/ansible/wazuh/certificates/certs/*.key``
321325

0 commit comments

Comments
 (0)