Skip to content
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

Add condition when trying to change API user credentials #3005

Add condition when trying to change API user credentials

7e0f02a
Select commit
Loading
Failed to load commit list.
Merged

Add condition when trying to change API user credentials #3005

Add condition when trying to change API user credentials
7e0f02a
Select commit
Loading
Failed to load commit list.
Wazuh CI / All In One - Ubuntu jammy installation succeeded Jun 17, 2024 in 12m 9s

Test_unattended

Below you have the stage output

Details

Ubuntu jammy log



--------------------------------
17/06/2024 11:15:24 DEBUG: Checking root permissions.
17/06/2024 11:15:24 DEBUG: Checking sudo package.
17/06/2024 11:15:24 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.1
17/06/2024 11:15:24 INFO: Verbose logging redirected to /var/log/wazuh-install.log
17/06/2024 11:15:24 DEBUG: APT package manager will be used.
17/06/2024 11:15:24 DEBUG: Checking system distribution.
17/06/2024 11:15:24 DEBUG: Detected distribution name: ubuntu
17/06/2024 11:15:24 DEBUG: Detected distribution version: 22
17/06/2024 11:15:24 DEBUG: Checking Wazuh installation.
17/06/2024 11:15:26 DEBUG: Checking system architecture.
17/06/2024 11:15:26 INFO: Verifying that your system meets the recommended minimum hardware requirements.
17/06/2024 11:15:26 DEBUG: CPU cores detected: 2
17/06/2024 11:15:26 DEBUG: Free RAM memory detected: 7871
17/06/2024 11:15:26 DEBUG: Installing check dependencies.
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy InRelease
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 3, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Reading package lists...
W: http://ppa.launchpad.net/deadsnakes/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code
17/06/2024 11:15:34 INFO: Wazuh web interface port will be 443.
17/06/2024 11:15:34 DEBUG: Checking ports availability.
17/06/2024 11:15:36 DEBUG: Installing prerequisites dependencies.
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy InRelease
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 3, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Reading package lists...
W: http://ppa.launchpad.net/deadsnakes/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code
17/06/2024 11:15:42 INFO: --- Dependencies ----
17/06/2024 11:15:42 INFO: Installing apt-transport-https.
Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: apt-transport-https 0 upgraded, 1 newly installed, 0 to remove and 258 n
ot upgraded. Need to get 1,510 B of archives. After this operation, 170 kB of additional disk space will be used. Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 apt-
transport-https all 2.4.12 [1,510 B] Fetched 1,510 B in 0s (89.2 kB/s) Selecting previously unselected package apt-transport-https.
 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 64436 files and directories currently installed.)
 Preparing to unpack .../apt-transport-https_2.4.12_all.deb ...
 Unpacking apt-transport-https (2.4.12) ...
 Setting up apt-transport-https (2.4.12) ...
 NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 5.15.0-1004-aws NEEDRESTART-KEXP: 5.15.0-1004-aws NEEDRESTART-KSTA: 1
17/06/2024 11:15:44 DEBUG: Checking curl tool version.
17/06/2024 11:15:45 DEBUG: Adding the Wazuh repository.
gpg: keyring '/usr/share/keyrings/wazuh.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 96B3EE5F29111145: public key "Wazuh.com (Wazuh Signing Key) <support@wazuh.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages-dev.wazuh.com/staging/apt/ unstable main
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy InRelease
Get:6 https://packages-dev.wazuh.com/staging/apt unstable InRelease [17.3 kB]
Get:7 https://packages-dev.wazuh.com/staging/apt unstable/main amd64 Packages [6,682 B]
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 3, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Fetched 24.0 kB in 1s (20.3 kB/s)
Reading package lists...
W: http://ppa.launchpad.net/deadsnakes/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code
17/06/2024 11:15:48 INFO: Wazuh development repository added.
17/06/2024 11:15:48 INFO: --- Configuration files ---
17/06/2024 11:15:48 INFO: Generating configuration files.
17/06/2024 11:15:48 DEBUG: Creating Wazuh certificates.
17/06/2024 11:15:48 DEBUG: Reading configuration file.
17/06/2024 11:15:48 DEBUG: Checking if 127.0.0.1 is private.
17/06/2024 11:15:48 DEBUG: Checking if 127.0.0.1 is private.
17/06/2024 11:15:48 DEBUG: Checking if 127.0.0.1 is private.
17/06/2024 11:15:48 INFO: Generating the root certificate.
17/06/2024 11:15:49 INFO: Generating Admin certificates.
17/06/2024 11:15:49 DEBUG: Generating Admin private key.
17/06/2024 11:15:49 DEBUG: Converting Admin private key to PKCS8 format.
17/06/2024 11:15:49 DEBUG: Generating Admin CSR.
17/06/2024 11:15:49 DEBUG: Creating Admin certificate.
17/06/2024 11:15:49 INFO: Generating Wazuh indexer certificates.
17/06/2024 11:15:49 DEBUG: Creating the certificates for wazuh-indexer indexer node.
17/06/2024 11:15:49 DEBUG: Generating certificate configuration.
17/06/2024 11:15:49 DEBUG: Creating the Wazuh indexer tmp key pair.
17/06/2024 11:15:50 DEBUG: Creating the Wazuh indexer certificates.
17/06/2024 11:15:50 INFO: Generating Filebeat certificates.
17/06/2024 11:15:50 DEBUG: Generating the certificates for wazuh-server server node.
17/06/2024 11:15:50 DEBUG: Generating certificate configuration.
17/06/2024 11:15:50 DEBUG: Creating the Wazuh server tmp key pair.
17/06/2024 11:15:50 DEBUG: Creating the Wazuh server certificates.
17/06/2024 11:15:51 INFO: Generating Wazuh dashboard certificates.
17/06/2024 11:15:51 DEBUG: Generating certificate configuration.
17/06/2024 11:15:51 DEBUG: Creating the Wazuh dashboard tmp key pair.
17/06/2024 11:15:51 DEBUG: Creating the Wazuh dashboard certificates.
17/06/2024 11:15:51 DEBUG: Cleaning certificate files.
17/06/2024 11:15:51 DEBUG: Generating password file.
17/06/2024 11:15:51 DEBUG: Generating random passwords.
17/06/2024 11:15:51 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
17/06/2024 11:15:51 DEBUG: Extracting Wazuh configuration.
17/06/2024 11:15:51 DEBUG: Reading configuration file.
17/06/2024 11:15:52 DEBUG: Checking if 127.0.0.1 is private.
17/06/2024 11:15:52 DEBUG: Checking if 127.0.0.1 is private.
17/06/2024 11:15:52 DEBUG: Checking if 127.0.0.1 is private.
17/06/2024 11:15:52 INFO: --- Wazuh indexer ---
17/06/2024 11:15:52 INFO: Starting Wazuh indexer installation.
Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: wazuh-indexer 0 upgraded, 1 newly installed, 0 to remove and 258 not upg
raded. Need to get 759 MB of archives. After this operation, 1,050 MB of additional disk space will be used. Get:1 https://packages-dev.wazuh.com/staging/apt unstable/main amd64 wazuh-indexer amd64 4.
8.1-1 [759 MB] Fetched 759 MB in 31s (24.8 MB/s) Selecting previously unselected package wazuh-indexer.
 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 64440 files and directories currently installed.)
 Preparing to unpack .../wazuh-indexer_4.8.1-1_amd64.deb ...
 Creating wazuh-indexer group... OK
 Creating wazuh-indexer user... OK
 Unpacking wazuh-indexer (4.8.1-1) ...
 Setting up wazuh-indexer (4.8.1-1) ...
 Created opensearch keystore in /etc/wazuh-indexer/opensearch.keystore
 Processing triggers for libc-bin (2.35-0ubuntu3) ...
 NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 5.15.0-1004-aws NEEDRESTART-KEXP: 5.15.0-1004-aws NEEDRESTART-KSTA: 1
17/06/2024 11:18:13 DEBUG: Checking Wazuh installation.
17/06/2024 11:18:15 DEBUG: There are Wazuh indexer remaining files.
17/06/2024 11:18:16 INFO: Wazuh indexer installation finished.
17/06/2024 11:18:16 DEBUG: Configuring Wazuh indexer.
17/06/2024 11:18:16 DEBUG: Copying Wazuh indexer certificates.
17/06/2024 11:18:16 INFO: Wazuh indexer post-install configuration finished.
17/06/2024 11:18:16 INFO: Starting service wazuh-indexer.
Created symlink /etc/systemd/system/multi-user.target.wants/wazuh-indexer.service ��� /lib/systemd/system/wazuh-indexer.service.
17/06/2024 11:18:43 INFO: wazuh-indexer service started.
17/06/2024 11:18:43 INFO: Initializing Wazuh indexer cluster security settings.
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755           **
**************************************************************************
Security Admin v7
Will connect to 127.0.0.1:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 2.10.0
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: GREEN
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index does not exists, attempt to create it ... done (0-all replicas)
Populate config from /etc/wazuh-indexer/opensearch-security/
Will update '/config' with /etc/wazuh-indexer/opensearch-security/config.yml 
   SUCC: Configuration for 'config' created or updated
Will update '/roles' with /etc/wazuh-indexer/opensearch-security/roles.yml 
   SUCC: Configuration for 'roles' created or updated
Will update '/rolesmapping' with /etc/wazuh-indexer/opensearch-security/roles_mapping.yml 
   SUCC: Configuration for 'rolesmapping' created or updated
Will update '/internalusers' with /etc/wazuh-indexer/opensearch-security/internal_users.yml 
   SUCC: Configuration for 'internalusers' created or updated
Will update '/actiongroups' with /etc/wazuh-indexer/opensearch-security/action_groups.yml 
   SUCC: Configuration for 'actiongroups' created or updated
Will update '/tenants' with /etc/wazuh-indexer/opensearch-security/tenants.yml 
   SUCC: Configuration for 'tenants' created or updated
Will update '/nodesdn' with /etc/wazuh-indexer/opensearch-security/nodes_dn.yml 
   SUCC: Configuration for 'nodesdn' created or updated
Will update '/whitelist' with /etc/wazuh-indexer/opensearch-security/whitelist.yml 
   SUCC: Configuration for 'whitelist' created or updated
Will update '/audit' with /etc/wazuh-indexer/opensearch-security/audit.yml 
   SUCC: Configuration for 'audit' created or updated
Will update '/allowlist' with /etc/wazuh-indexer/opensearch-security/allowlist.yml 
   SUCC: Configuration for 'allowlist' created or updated
SUCC: Expected 10 config types for node {"updated_config_types":["allowlist","tenants","rolesmapping","nodesdn","audit","roles","whitelist","internalusers","actiongroups","config"],"updated_config_siz
e":10,"message":null} is 10 (["allowlist","tenants","rolesmapping","nodesdn","audit","roles","whitelist","internalusers","actiongroups","config"]) due to: null
Done with success
17/06/2024 11:18:54 INFO: Wazuh indexer cluster security configuration initialized.
17/06/2024 11:18:54 INFO: Wazuh indexer cluster initialized.
17/06/2024 11:18:54 INFO: --- Wazuh server ---
17/06/2024 11:18:54 INFO: Starting the Wazuh manager installation.
Reading package lists... Building dependency tree... Reading state information... Suggested packages: expect The following NEW packages will be installed: wazuh-manager 0 upgraded, 1 newly installed, 
0 to remove and 259 not upgraded. Need to get 317 MB of archives. After this operation, 918 MB of additional disk space will be used. Get:1 https://packages-dev.wazuh.com/staging/apt unstable/main amd
64 wazuh-manager amd64 4.8.1-1 [317 MB] Fetched 317 MB in 14s (22.6 MB/s) Selecting previously unselected package wazuh-manager.
 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 65613 files and directories currently installed.)
 Preparing to unpack .../wazuh-manager_4.8.1-1_amd64.deb ...
 Unpacking wazuh-manager (4.8.1-1) ...
 Setting up wazuh-manager (4.8.1-1) ...
 NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 5.15.0-1004-aws NEEDRESTART-KEXP: 5.15.0-1004-aws NEEDRESTART-KSTA: 1
17/06/2024 11:20:45 DEBUG: Checking Wazuh installation.
17/06/2024 11:20:46 DEBUG: There are Wazuh remaining files.
17/06/2024 11:20:46 DEBUG: There are Wazuh indexer remaining files.
17/06/2024 11:20:47 INFO: Wazuh manager installation finished.
17/06/2024 11:20:47 DEBUG: Configuring Wazuh manager.
17/06/2024 11:20:47 DEBUG: Setting provisional Wazuh indexer password.
17/06/2024 11:20:48 INFO: Wazuh manager vulnerability detection configuration finished.
17/06/2024 11:20:48 INFO: Starting service wazuh-manager.
Created symlink /etc/systemd/system/multi-user.target.wants/wazuh-manager.service ��� /lib/systemd/system/wazuh-manager.service.
17/06/2024 11:21:10 INFO: wazuh-manager service started.
17/06/2024 11:21:10 INFO: Starting Filebeat installation.
Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: filebeat 0 upgraded, 1 newly installed, 0 to remove and 260 not upgraded
. Need to get 22.1 MB of archives. After this operation, 73.6 MB of additional disk space will be used. Get:1 https://packages-dev.wazuh.com/staging/apt unstable/main amd64 filebeat amd64 7.10.2 [22.1
 MB] Fetched 22.1 MB in 2s (9,168 kB/s) Selecting previously unselected package filebeat.
 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 87645 files and directories currently installed.)
 Preparing to unpack .../filebeat_7.10.2_amd64.deb ...
 Unpacking filebeat (7.10.2) ...
 Setting up filebeat (7.10.2) ...
 NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 5.15.0-1004-aws NEEDRESTART-KEXP: 5.15.0-1004-aws NEEDRESTART-KSTA: 1
17/06/2024 11:21:30 DEBUG: Checking Wazuh installation.
17/06/2024 11:21:31 DEBUG: There are Wazuh remaining files.
17/06/2024 11:21:32 DEBUG: There are Wazuh indexer remaining files.
17/06/2024 11:21:32 DEBUG: There are Filebeat remaining files.
17/06/2024 11:21:33 INFO: Filebeat installation finished.
17/06/2024 11:21:33 DEBUG: Configuring Filebeat.
17/06/2024 11:21:33 DEBUG: Filebeat template was download successfully.
wazuh/
wazuh/_meta/
wazuh/_meta/docs.asciidoc
wazuh/_meta/fields.yml
wazuh/_meta/config.yml
wazuh/alerts/
wazuh/alerts/config/
wazuh/alerts/config/alerts.yml
wazuh/alerts/manifest.yml
wazuh/alerts/ingest/
wazuh/alerts/ingest/pipeline.json
wazuh/module.yml
wazuh/archives/
wazuh/archives/config/
wazuh/archives/config/archives.yml
wazuh/archives/manifest.yml
wazuh/archives/ingest/
wazuh/archives/ingest/pipeline.json
17/06/2024 11:21:34 DEBUG: Filebeat module was downloaded successfully.
17/06/2024 11:21:34 DEBUG: Copying Filebeat certificates.
Created filebeat keystore
Successfully updated the keystore
Successfully updated the keystore
17/06/2024 11:21:35 INFO: Filebeat post-install configuration finished.
17/06/2024 11:21:35 INFO: Starting service filebeat.
Synchronizing state of filebeat.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable filebeat
Created symlink /etc/systemd/system/multi-user.target.wants/filebeat.service ��� /lib/systemd/system/filebeat.service.
17/06/2024 11:21:38 INFO: filebeat service started.
17/06/2024 11:21:38 INFO: --- Wazuh dashboard ---
17/06/2024 11:21:38 INFO: Starting Wazuh dashboard installation.
Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: wazuh-dashboard 0 upgraded, 1 newly installed, 0 to remove and 260 not u
pgraded. Need to get 186 MB of archives. After this operation, 998 MB of additional disk space will be used. Get:1 https://packages-dev.wazuh.com/staging/apt unstable/main amd64 wazuh-dashboard amd64 
4.8.1-1 [186 MB] Fetched 186 MB in 14s (13.3 MB/s) Selecting previously unselected package wazuh-dashboard.
 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 87964 files and directories currently installed.)
 Preparing to unpack .../wazuh-dashboard_4.8.1-1_amd64.deb ...
 Creating wazuh-dashboard group... OK
 Creating wazuh-dashboard user... OK
 Unpacking wazuh-dashboard (4.8.1-1) ...
 Setting up wazuh-dashboard (4.8.1-1) ...
 NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 5.15.0-1004-aws NEEDRESTART-KEXP: 5.15.0-1004-aws NEEDRESTART-KSTA: 1
17/06/2024 11:24:45 DEBUG: Checking Wazuh installation.
17/06/2024 11:24:45 DEBUG: There are Wazuh remaining files.
17/06/2024 11:24:46 DEBUG: There are Wazuh indexer remaining files.
17/06/2024 11:24:47 DEBUG: There are Filebeat remaining files.
17/06/2024 11:24:47 DEBUG: There are Wazuh dashboard remaining files.
17/06/2024 11:24:47 INFO: Wazuh dashboard installation finished.
17/06/2024 11:24:47 DEBUG: Configuring Wazuh dashboard.
17/06/2024 11:24:47 DEBUG: Copying Wazuh dashboard certificates.
17/06/2024 11:24:47 DEBUG: Wazuh dashboard certificate setup finished.
17/06/2024 11:24:47 INFO: Wazuh dashboard post-install configuration finished.
17/06/2024 11:24:47 INFO: Starting service wazuh-dashboard.
Created symlink /etc/systemd/system/multi-user.target.wants/wazuh-dashboard.service ��� /etc/systemd/system/wazuh-dashboard.service.
17/06/2024 11:24:49 INFO: wazuh-dashboard service started.
17/06/2024 11:24:49 DEBUG: Setting Wazuh indexer cluster passwords.
17/06/2024 11:24:49 DEBUG: Checking Wazuh installation.
17/06/2024 11:24:49 DEBUG: There are Wazuh remaining files.
17/06/2024 11:24:50 DEBUG: There are Wazuh indexer remaining files.
17/06/2024 11:24:51 DEBUG: There are Filebeat remaining files.
17/06/2024 11:24:51 DEBUG: There are Wazuh dashboard remaining files.
17/06/2024 11:24:51 INFO: Updating the internal users.
17/06/2024 11:24:51 DEBUG: Creating password backup.
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755           **
**************************************************************************
Security Admin v7
Will connect to 127.0.0.1:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 2.10.0
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: GREEN
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index already exists, so we do not need to create one.
Will retrieve '/config' into /etc/wazuh-indexer/backup/config.yml 
   SUCC: Configuration for 'config' stored in /etc/wazuh-indexer/backup/config.yml
Will retrieve '/roles' into /etc/wazuh-indexer/backup/roles.yml 
   SUCC: Configuration for 'roles' stored in /etc/wazuh-indexer/backup/roles.yml
Will retrieve '/rolesmapping' into /etc/wazuh-indexer/backup/roles_mapping.yml 
   SUCC: Configuration for 'rolesmapping' stored in /etc/wazuh-indexer/backup/roles_mapping.yml
Will retrieve '/internalusers' into /etc/wazuh-indexer/backup/internal_users.yml 
   SUCC: Configuration for 'internalusers' stored in /etc/wazuh-indexer/backup/internal_users.yml
Will retrieve '/actiongroups' into /etc/wazuh-indexer/backup/action_groups.yml 
   SUCC: Configuration for 'actiongroups' stored in /etc/wazuh-indexer/backup/action_groups.yml
Will retrieve '/tenants' into /etc/wazuh-indexer/backup/tenants.yml 
   SUCC: Configuration for 'tenants' stored in /etc/wazuh-indexer/backup/tenants.yml
Will retrieve '/nodesdn' into /etc/wazuh-indexer/backup/nodes_dn.yml 
   SUCC: Configuration for 'nodesdn' stored in /etc/wazuh-indexer/backup/nodes_dn.yml
Will retrieve '/whitelist' into /etc/wazuh-indexer/backup/whitelist.yml 
   SUCC: Configuration for 'whitelist' stored in /etc/wazuh-indexer/backup/whitelist.yml
Will retrieve '/allowlist' into /etc/wazuh-indexer/backup/allowlist.yml 
   SUCC: Configuration for 'allowlist' stored in /etc/wazuh-indexer/backup/allowlist.yml
Will retrieve '/audit' into /etc/wazuh-indexer/backup/audit.yml 
   SUCC: Configuration for 'audit' stored in /etc/wazuh-indexer/backup/audit.yml
17/06/2024 11:25:01 DEBUG: Password backup created in /etc/wazuh-indexer/backup.
17/06/2024 11:25:01 INFO: A backup of the internal users has been saved in the /etc/wazuh-indexer/internalusers-backup folder.
17/06/2024 11:25:01 DEBUG: The internal users have been updated before changing the passwords.
17/06/2024 11:25:04 DEBUG: Generating password hashes.
17/06/2024 11:25:16 DEBUG: Password hashes generated.
17/06/2024 11:25:16 DEBUG: Creating password backup.
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755           **
**************************************************************************
Security Admin v7
Will connect to 127.0.0.1:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 2.10.0
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: GREEN
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index already exists, so we do not need to create one.
Will retrieve '/config' into /etc/wazuh-indexer/backup/config.yml 
   SUCC: Configuration for 'config' stored in /etc/wazuh-indexer/backup/config.yml
Will retrieve '/roles' into /etc/wazuh-indexer/backup/roles.yml 
   SUCC: Configuration for 'roles' stored in /etc/wazuh-indexer/backup/roles.yml
Will retrieve '/rolesmapping' into /etc/wazuh-indexer/backup/roles_mapping.yml 
   SUCC: Configuration for 'rolesmapping' stored in /etc/wazuh-indexer/backup/roles_mapping.yml
Will retrieve '/internalusers' into /etc/wazuh-indexer/backup/internal_users.yml 
   SUCC: Configuration for 'internalusers' stored in /etc/wazuh-indexer/backup/internal_users.yml
Will retrieve '/actiongroups' into /etc/wazuh-indexer/backup/action_groups.yml 
   SUCC: Configuration for 'actiongroups' stored in /etc/wazuh-indexer/backup/action_groups.yml
Will retrieve '/tenants' into /etc/wazuh-indexer/backup/tenants.yml 
   SUCC: Configuration for 'tenants' stored in /etc/wazuh-indexer/backup/tenants.yml
Will retrieve '/nodesdn' into /etc/wazuh-indexer/backup/nodes_dn.yml 
   SUCC: Configuration for 'nodesdn' stored in /etc/wazuh-indexer/backup/nodes_dn.yml
Will retrieve '/whitelist' into /etc/wazuh-indexer/backup/whitelist.yml 
   SUCC: Configuration for 'whitelist' stored in /etc/wazuh-indexer/backup/whitelist.yml
Will retrieve '/allowlist' into /etc/wazuh-indexer/backup/allowlist.yml 
   SUCC: Configuration for 'allowlist' stored in /etc/wazuh-indexer/backup/allowlist.yml
Will retrieve '/audit' into /etc/wazuh-indexer/backup/audit.yml 
   SUCC: Configuration for 'audit' stored in /etc/wazuh-indexer/backup/audit.yml
17/06/2024 11:25:24 DEBUG: Password backup created in /etc/wazuh-indexer/backup.
Successfully updated the keystore
17/06/2024 11:25:24 DEBUG: Restarting filebeat service...
17/06/2024 11:25:24 DEBUG: filebeat started.
17/06/2024 11:25:25 DEBUG: Restarting wazuh-manager service...
17/06/2024 11:25:47 DEBUG: wazuh-manager started.
17/06/2024 11:25:49 DEBUG: Restarting wazuh-dashboard service...
17/06/2024 11:25:50 DEBUG: wazuh-dashboard started.
17/06/2024 11:25:50 DEBUG: Running security admin tool.
17/06/2024 11:25:50 DEBUG: Loading new passwords changes.
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755           **
**************************************************************************
Security Admin v7
Will connect to 127.0.0.1:9200 ... done
Connected as "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
OpenSearch Version: 2.10.0
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
Clustername: wazuh-cluster
Clusterstate: GREEN
Number of nodes: 1
Number of data nodes: 1
.opendistro_security index already exists, so we do not need to create one.
Populate config from /tmp/unattended/unattended_installer
Force type: internalusers
Will update '/internalusers' with /etc/wazuh-indexer/backup/internal_users.yml 
   SUCC: Configuration for 'internalusers' created or updated
SUCC: Expected 1 config types for node {"updated_config_types":["internalusers"],"updated_config_size":1,"message":null} is 1 (["internalusers"]) due to: null
Done with success
17/06/2024 11:25:57 DEBUG: Passwords changed.
17/06/2024 11:25:57 DEBUG: Changing API passwords.
17/06/2024 11:26:08 INFO: Initializing Wazuh dashboard web application.
17/06/2024 11:26:08 INFO: Wazuh dashboard web application not yet initialized. Waiting...
17/06/2024 11:26:23 INFO: Wazuh dashboard web application not yet initialized. Waiting...
17/06/2024 11:26:38 INFO: Wazuh dashboard web application initialized.
17/06/2024 11:26:38 INFO: --- Summary ---
17/06/2024 11:26:38 INFO: You can access the web interface https://<wazuh-dashboard-ip>:443
    User: admin
    Password: FQ*IfLZ6XnYB649P+.Vtda8p.LanmQhS
17/06/2024 11:26:38 DEBUG: Restoring Wazuh repository.
17/06/2024 11:26:38 INFO: Installation finished.