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

Add wazuh-template.json to distribution packages #82

Closed
AlexRuiz7 opened this issue Dec 18, 2023 · 3 comments · Fixed by #116
Closed

Add wazuh-template.json to distribution packages #82

AlexRuiz7 opened this issue Dec 18, 2023 · 3 comments · Fixed by #116
Assignees
Labels
level/task Task issue type/change Change performed in a resource or Wazuh Cloud environment

Comments

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Dec 18, 2023

Description

Related issues:

The packages' generation must be updated to include the wazuh template to:

  • Archives (tar): wazuh-indexer/config/wazuh-template.json
  • Packages (deb/rpm): /etc/wazuh-indexer/wazuh-template.json

The template will be downloaded from wazuh/wazuh.

@AlexRuiz7 AlexRuiz7 added level/task Task issue type/change Change performed in a resource or Wazuh Cloud environment labels Dec 18, 2023
@wazuhci wazuhci moved this to Backlog in Release 4.9.0 Dec 18, 2023
@AlexRuiz7
Copy link
Member Author

Option 1: include wazuh-template in minified packages (preferable)

  1. Download the wazuh-template.json from the wazuh/wazuh repo from the build.sh script, before calling gradlew. The download path is to be defined.
  2. Update distribution/build.gradle to include the wazuh-template in the packages, placing it on the expected path, which is /etc/wazuh-indexer/wazuh-template.json

Option 2: include the wazuh-template in assembled packages only

  1. Download the wazuh-template.json from the wazuh/wazuh repo from the assemble.sh script.
  2. Having the minified packages extracted, include the wazuh-template to the expected path.

@f-galland f-galland self-assigned this Jan 11, 2024
@wazuhci wazuhci moved this from Backlog to In progress in Release 4.9.0 Jan 11, 2024
@f-galland f-galland linked a pull request Jan 11, 2024 that will close this issue
7 tasks
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.9.0 Jan 11, 2024
@AlexRuiz7
Copy link
Member Author

Check review in PR #116 (review)

@wazuhci wazuhci moved this from Pending review to Backlog in Release 4.9.0 Jan 12, 2024
@wazuhci wazuhci moved this from Backlog to In progress in Release 4.9.0 Jan 12, 2024
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.9.0 Jan 16, 2024
@wazuhci wazuhci moved this from Pending review to Backlog in Release 4.9.0 Jan 17, 2024
@wazuhci wazuhci moved this from Backlog to Pending review in Release 4.9.0 Jan 17, 2024
@wazuhci wazuhci moved this from Pending review to In review in Release 4.9.0 Jan 18, 2024
@AlexRuiz7
Copy link
Member Author

Blocking this issue as we need better Docker environments to reliable test the feature.

See #116 (review)

@wazuhci wazuhci moved this from In review to Blocked in Release 4.9.0 Jan 18, 2024
@wazuhci wazuhci moved this from Blocked to Done in Release 4.9.0 Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/change Change performed in a resource or Wazuh Cloud environment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants