You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
The former config.yml got renamed to wazuh.yml, which brought some internal changes as well, the API settings will no longer be stored in the Elastic index named .wazuh, these settings got migrated to wazuh.yml.
The new behavior is like this:
The first time booting 3.11 Wazuh plugin detects if there's an .wazuh index and moves it to wazuh.yml, this info gets deleted from Elastic.
On the following restart cycles there will be no .wazuh index
Proposed workflow
Following a declarative approach we propose to always delete the .wazuh index if exists and write API settings to wazuh.yml. In the case the user updated the password, then the cookbook will override it in both the API and Kibana settings.
Tasks
Implement required changes to make Chef delete the .wazuh index
Add required variables to configure the API credentials in the wazuh.yml file
Create template to render the wazuh.yml file
Tests
The following scenarios should be tested:
New deployment
Upgrading from 3.10 to 3.11 (no other changes)
Upgrading from 3.10 to 3.11 (changing API settings)
The text was updated successfully, but these errors were encountered:
Implement changes to configure Wazuh API credentials
The Chef code now checks for existent .wazuh index and removes it in case it exists. Also, a template block has been added to configure the Wazuh API credentials for Kibana:
Description
Starting with
v3.11
the Wazuh plugin for Kibana has a new behavior when upgrading.Documented here: wazuh/wazuh-dashboard-plugins#1465
The former
config.yml
got renamed towazuh.yml
, which brought some internal changes as well, the API settings will no longer be stored in the Elastic index named.wazuh
, these settings got migrated towazuh.yml
.The new behavior is like this:
The first time booting
3.11
Wazuh plugin detects if there's an.wazuh
index and moves it towazuh.yml
, this info gets deleted from Elastic.On the following restart cycles there will be no
.wazuh
indexProposed workflow
Following a declarative approach we propose to always delete the
.wazuh
index if exists and write API settings towazuh.yml
. In the case the user updated the password, then the cookbook will override it in both the API and Kibana settings.Tasks
Implement required changes to make Chef delete the
.wazuh
indexAdd required variables to configure the API credentials in the
wazuh.yml
fileCreate template to render the
wazuh.yml
fileTests
The following scenarios should be tested:
3.10
to3.11
(no other changes)3.10
to3.11
(changing API settings)The text was updated successfully, but these errors were encountered: