wazuh / wazuh-packages

Wazuh - Tools for packages creation
https://wazuh.com
GNU General Public License v2.0
103 stars 93 forks source link

Add an argument to the indexer-ism-init.sh script to modify the path of the wazuh-template.json #2730

Closed c-bordon closed 8 months ago

c-bordon commented 8 months ago

Description

related: https://github.com/wazuh/wazuh-automation/issues/1475#issuecomment-1871448731

The tests found problems in dockerized environments since the template is not hosted in /etc/wazuh-indexer but in /usr/share/wazuh-indexer. The script must allow modifying the path for this use case and for custom packages where /etc/wazuh-indexer is not used

Tasks

Validation