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

Fix bug replacing AWS secret key in ossec.conf file #62

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

mgmacias95
Copy link
Collaborator

Issue #, if available:
#61

Description of changes:
AWS secret keys can contain the / character. That made the sed expression to fail (the secret key doesn't always contain / so it wasn't always failing). I changed the sed expression in order to prevent it from failing again, now it uses : which I think it's not contained in AWS secret keys.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mgmacias95 mgmacias95 added bug Something isn't working wazuh aws Related to Wazuh technologies aws Related to AWS technologies labels Jan 23, 2019
Copy link
Owner

@sonofagl1tch sonofagl1tch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws Related to AWS technologies bug Something isn't working wazuh aws Related to Wazuh technologies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants