-
Notifications
You must be signed in to change notification settings - Fork 196
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
Set new API configuration behavior #342
Conversation
@@ -9,6 +9,14 @@ elastic_stack_version: 7.5.1 | |||
wazuh_version: 3.11.0 | |||
wazuh_app_url: https://packages.wazuh.com/wazuhapp/wazuhapp | |||
|
|||
# API credentials | |||
api_auth: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would go with wazuh_api_credentials
or wazuh_api_auth
and remove the api_
prefix for id
url
...
What are your thoughts about it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spotted. Fixed in latest commit.
status_code: 200, 404 | ||
ignore_errors: yes | ||
|
||
- name: Configure Wazuh Plugin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it to Configure Wazuh Kibana Plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 2d91a5c
password: "{{ elasticsearch_xpack_security_password }}" | ||
validate_certs: no | ||
status_code: 200, 404 | ||
ignore_errors: yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a comment to notify users that this curl can be skipped because the app does have a default config would be great IMO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 71e52de
Now it doesn't ignore errors on index removal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This fixes #339
It follows the proposed workflow on the issue, deleting the
.wazuh
index if it exists.