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

Fixed API password change to match the user in wazuh.yml #81

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

c-bordon
Copy link
Member

related: wazuh/wazuh#22751
related: #78

Test

root@ubuntu-jammy:~# bash wazuh-passwords-tool.sh -a -A -au wazuh-wui -ap 8faZTnNdWa12ZlImls7r?iN8IFIK8Wn0
27/09/2024 14:44:33 INFO: Updating the internal users.
27/09/2024 14:44:35 INFO: A backup of the internal users has been saved in the /etc/wazuh-indexer/internalusers-backup folder.
27/09/2024 14:44:41 INFO: The filebeat.yml file has been updated to use the Filebeat Keystore username and password.
27/09/2024 14:45:04 INFO: The password for user admin is cjMnxB.BU6F1Mpd3Ly6qDW?x9JqgiZ7V
27/09/2024 14:45:04 INFO: The password for user anomalyadmin is pW*GfV9nyFN3w35Md8mjr8RL2X3ltzTM
27/09/2024 14:45:04 INFO: The password for user kibanaserver is 6NSFKVfUHjTGTH56bIghkuhenCcZNan*
27/09/2024 14:45:04 INFO: The password for user kibanaro is 3E0C**r7sE9xEQ*1EKeRJeEyTSxDUZ4L
27/09/2024 14:45:04 INFO: The password for user logstash is UHm+?lBntfG4HainQBvE6duu0fW77*AT
27/09/2024 14:45:04 INFO: The password for user readall is OPHafT?uCq8i9j21HhgELfKETKGGM2lM
27/09/2024 14:45:04 INFO: The password for user snapshotrestore is 7rq4f89psdngE?1E?pZey1d3Ou*.UPrx
27/09/2024 14:45:04 WARNING: Wazuh indexer passwords changed. Remember to update the password in the Wazuh dashboard, Wazuh server, and Filebeat nodes if necessary, and restart the services.
27/09/2024 14:45:04 INFO: The password for Wazuh API user wazuh is 8djgQVKPi*zi?NX5vq5PnroxYw3nLVW4
27/09/2024 14:45:06 INFO: The password for Wazuh API user wazuh-wui is begAJ?sdGz62xWl0K4cIZp?wRNE1Xp+E
27/09/2024 14:45:06 INFO: Updated wazuh-wui user password in wazuh dashboard. Remember to restart the service.

@c-bordon c-bordon requested a review from a team September 27, 2024 14:58
@c-bordon c-bordon self-assigned this Sep 27, 2024
@c-bordon c-bordon linked an issue Sep 27, 2024 that may be closed by this pull request
11 tasks
davidcr01
davidcr01 previously approved these changes Sep 27, 2024
teddytpc1
teddytpc1 previously approved these changes Sep 27, 2024
@c-bordon c-bordon dismissed stale reviews from teddytpc1 and davidcr01 via fdc9cab September 27, 2024 15:10
@c-bordon c-bordon merged commit a928365 into main Sep 27, 2024
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate 5.0.0 PRs from wazuh-package to the new repository
3 participants