Remove filebeat references and replace wazuh.yml to opensearch_dashboards.yml in the password tool #539
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
On the one hand, the Filebeat references have been removed from the password tool.
On the other hand, starting from version 5.0, the file
/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.ymlwill no longer exist, as mentioned in this issue. For this reason, its references have been replaced withopensearch_dashboards.yml, which is where the API host configuration will now be defined.Tests 🧪
Several tests have been executed to verify that everything works correctly.
First, the password file was generated, confirming that there are no longer any references to Filebeat.
Passwords file
Second, all passwords were changed, including the API passwords.
Changing passwords proccess
When attempting to obtain the API token using the new password, the token is successfully retrieved.
Testing api connection
We verified that the password for
wazuh-wuiwas correctly updated inopensearch_dashboards.yml.Check wazuh-wui password
Lastly, after restarting the services, the dashboard can be accessed using the new admin user password.
Dashboard landing page