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

Indexer initialization plugin #9

Open
1 of 9 tasks
AlexRuiz7 opened this issue Jul 9, 2024 · 0 comments
Open
1 of 9 tasks

Indexer initialization plugin #9

AlexRuiz7 opened this issue Jul 9, 2024 · 0 comments
Assignees
Labels
level/task Task issue type/enhancement Enhancement issue

Comments

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Jul 9, 2024

Description

As part of the new Data Persistence Model to be implemented across Wazuh, we want to develop a plugin for the Wazuh Indexer to ensure that all of its requirements are ready during its initialization. The initialization process would consist of these currently identified requirements (these may change):

  • Creating the stateless stream indices and their index templates (mappings and settings).
  • Creating the stateful indices and their index templates (mappings and settings).
  • Creating the agent index and its index template (mappings and settings).
  • Creating the commands index and its index template (mappings and settings).
  • All necessary users and their minimum permissions (RBAC).
  • Rollover + alias configuration for stream indices.

On this issue, we will design, build and test an MVP of this plugin.

Functional requirements

  • The plugin's uses OpenSearch's lifecycle to initialize the features mentioned above.
  • The plugin includes error handling to notify the users of errors in an understandable manner.
  • The Wazuh Indexer will not allow indexing until it's being initialized correctly.

Implementation restrictions

  • We will use Java as the programming language.
  • The initialization plugin will be included in the Wazuh Indexer packages by default.

Plan

/* Each of the tasks above will be broken down into smaller tasks as needed, including testing and documentation.

@AlexRuiz7 AlexRuiz7 added level/task Task issue type/enhancement Enhancement issue labels Jul 9, 2024
@AlexRuiz7 AlexRuiz7 linked a pull request Jul 9, 2024 that will close this issue
@AlexRuiz7 AlexRuiz7 removed a link to a pull request Jul 9, 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/enhancement Enhancement issue
Projects
Status: In progress
Development

No branches or pull requests

2 participants