From c8ffb1a2d6ff51048682980bdc2178c6d8972113 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Wed, 10 Jan 2024 05:49:01 -0300 Subject: [PATCH 1/2] add reset password process --- .../wazuh-puppet-module/index.rst | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/source/deployment-options/deploying-with-puppet/wazuh-puppet-module/index.rst b/source/deployment-options/deploying-with-puppet/wazuh-puppet-module/index.rst index 7e5e744a87..071fb0fefe 100644 --- a/source/deployment-options/deploying-with-puppet/wazuh-puppet-module/index.rst +++ b/source/deployment-options/deploying-with-puppet/wazuh-puppet-module/index.rst @@ -68,6 +68,45 @@ Place the file at ``/etc/puppetlabs/code/environments/production/manifests/`` in # puppet agent -t +Change Password for Wazuh users +------------------------------- + +Follow the instructions in the :doc:`Password Management ` section to change your Wazuh user passwords. Once you change them, set the new passwords within the classes used for deploying the Wazuh Stack. + +Indexer users +^^^^^^^^^^^^^ + +- ``admin`` user: + + .. code-block:: puppet + + node "puppet-agent.com" { + class { 'wazuh::dashboard': + dashboard_password => '' + } + } +- ``kibanaserver`` user: + + .. code-block:: puppet + + node "puppet-agent.com" { + class { 'wazuh::filebeat_oss': + filebeat_oss_elastic_password => '' + } + } + +Wazuh API users +^^^^^^^^^^^^^^^ + +- ``wazuh-wui`` user: + + .. code-block:: puppet + node "puppet-agent.com" { + class { 'wazuh::dashboard': + dashboard_wazuh_api_credentials => '' + } + } + Install Wazuh agent via Puppet ------------------------------ From d1816908f7301048bcc454a5a1cd61830cb60a8f Mon Sep 17 00:00:00 2001 From: Javier Medeot Date: Wed, 10 Jan 2024 10:38:17 -0300 Subject: [PATCH 2/2] Fix compilation error --- .../deploying-with-puppet/wazuh-puppet-module/index.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/deployment-options/deploying-with-puppet/wazuh-puppet-module/index.rst b/source/deployment-options/deploying-with-puppet/wazuh-puppet-module/index.rst index 071fb0fefe..2194cac238 100644 --- a/source/deployment-options/deploying-with-puppet/wazuh-puppet-module/index.rst +++ b/source/deployment-options/deploying-with-puppet/wazuh-puppet-module/index.rst @@ -85,6 +85,7 @@ Indexer users dashboard_password => '' } } + - ``kibanaserver`` user: .. code-block:: puppet @@ -101,6 +102,7 @@ Wazuh API users - ``wazuh-wui`` user: .. code-block:: puppet + node "puppet-agent.com" { class { 'wazuh::dashboard': dashboard_wazuh_api_credentials => ''