wazuh-packages icon indicating copy to clipboard operation
wazuh-packages copied to clipboard

Wazuh indexer package should preserve config files upon upgrade

Open havidarou opened this issue 2 years ago • 0 comments

Wazuh version Install type Action performed Platform
4.3.x Wazuh indexer Install/Upgrade Any

When you upgrade the Wazuh indexer package, files stored under /usr/share/wazuh-indexer/plugins/opensearch-security/securityconfig are overwritten.

This potentially happens in other similar folders.

Even though this configuration, when loaded, is stored in a Wazuh indexer index, and even if generating a backup of the index before upgrading is preferable, the Wazuh indexer package should preserve these files.

I have tested this behavior in older Open Distro and OpenSearch RPM versions and they do indeed preserve these files.

Regards,

Javier.

havidarou avatar Sep 16 '22 15:09 havidarou