Browse Source

wazuh: suggest apg to generate a password

keep-around/e59966cbdea5210f35ad25d6b0e35d093b7a1080
Loïc Dachary 8 months ago
parent
commit
9a715117c8
Signed by: dachary GPG Key ID: 992D23B392F9E4F2
  1. 8
      docs/services/ids.rst

8
docs/services/ids.rst

@ -14,15 +14,15 @@ to register on the server. For instance:
$ cat ~/.enough/example.com/group_vars/all/wazuh.yml
---
wazuh_api_username: apiuser
wazuh_api_password: .S3cur3Pa75w0rd-#
wazuh_mailto: contact@enough.community
wazuh_email_from: contact@enough.community
wazuh_api_username: apiuser
wazuh_api_password: .S3cur3Pa75w0rd-#
.. note::
The password must obey the `wazuh requirements <https://github.com/wazuh/wazuh/blob/79e4d3fd09b28c65fb7990148821b47742d867c4/framework/wazuh/security.py#L22>`__ to be valid. They are complex and the best way
to make sure is to try the regular expression manually.
The password must obey the `wazuh requirements <https://github.com/wazuh/wazuh/blob/79e4d3fd09b28c65fb7990148821b47742d867c4/framework/wazuh/security.py#L22>`__ to be valid.
The command line `apg -n 1 -M SNCL -m 8 -x 16` will generate a suitable password.
The service is created on the host specified by the `--host` argument:

Loading…
Cancel
Save