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 fetching network host in Password tool #2561

Merged

Conversation

davidcr01
Copy link
Contributor

Related issue
#1958

Description

The aim of this PR is to improve the fetching of the network host value of the opensearch.yml file of the passwords_getNetworkHost function. If a commented line like #network.host: "XXX.XXX.XXX.XXX" was included in the file, and the function fetched it.

With this change, these kinds of lines are ignored.

The testing is in: #1958 (comment)

@davidcr01 davidcr01 self-assigned this Oct 26, 2023
@teddytpc1 teddytpc1 merged commit ac92595 into 4.7.1 Oct 26, 2023
5 of 7 checks passed
@teddytpc1 teddytpc1 deleted the bug/1958-wazuh-passwords-toolsh-fails-with-line-comments branch October 26, 2023 11:20
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.

wazuh-passwords-tool.sh fails with specific /etc/wazuh-indexer/opensearch.yml configuration
4 participants