Change Filebeat passwords only when installing Wazuh Server or changing passwords #3118
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The aim of this PR is to modify the Wazuh Installation Assistant to only update Filebeat Keystore passwords when installing the Wazuh Manager/Server or when using the Wazuh Password Tool itself and Filebeat is actually installed.
Tests
For the tests, I performed several installations on both
deb
andrpm
package managers using the Wazuh Installation Assistant. installing an AIO, component by component and offline. Also, I performed a change of passwords of all users using the Wazuh Passwords Tool to check the change works correctly not only when installing.All in One installation ✅
Ubuntu 22 ✅
Installation logs:
Tests logs:
Web Dashboard:
Landing page:
About:
Amazon Linux 2023 ✅
Installation logs:
Tests logs:
Web Dashboard:
Landing page:
About:
Component by component installation ✅
Ubuntu 22 ✅
Installation logs:
Tests logs:
Web Dashboard:
Landing page:
About:
Amazon Linux 2023 ✅
Installation logs:
Tests logs:
Web Dashboard:
Landing page:
About:
Offline installation ✅
Ubuntu 22 ✅
Installation logs:
Tests logs:
Web Dashboard:
Landing page:
About:
Amazon Linux 2023 ✅
Installation logs:
Tests logs:
Web Dashboard:
Landing page:
About: