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
This issue aims to ensure that the Wazuh Indexer validates and sets up all required components during its initialization phase. This includes the creation and verification of necessary indices, pipelines, and security roles. By doing so, the Indexer avoids startup inconsistencies, reduces integration issues with Wazuh Servers, and simplifies the overall deployment process.
Functional requirements
The Wazuh Indexer must ensure all required components are initialized before accepting indexing requests. These include:
Stream indices, mappings, and ingest pipelines.
State indices, mappings, and ingest pipelines.
Role-Based Access Control (RBAC): Ensure required users exist with minimal necessary permissions.
Rollover and alias configuration for stream indices.
The Indexer plugin must use OpenSearch’s plugin and lifecycle APIs to initialize the features listed above during startup.
The Indexer plugin must include error handling that provides clear, actionable, and user-friendly error messages if any component fails to initialize.
The Wazuh Indexer must block ingestion and indexing operations until it confirms that all initialization tasks are complete and successful. This includes rejecting API requests during the unready state.
The plugin must ensure that the process to create and assign custom roles for built-in users is documented thoroughly, including permission scopes.
Non-functional requirements
Resilience: The plugin must gracefully handle and retry temporary failures (e.g., index service delays or permission issues), with configurable backoff.
Security: The plugin must follow the principle of least privilege when assigning default roles and permissions, and validate RBAC integrity before enabling indexing.
Observability: All steps of the initialization process must be clearly logged.
Performance: Initialization should complete within a defined timeout (e.g., 60 seconds by default).
Maintainability: Initialization logic must be modular and documented, allowing future updates to add support for new index types, roles, or mappings with minimal changes.
Implementation restrictions
This feature will be developed as an OpenSearch plugin.
The plugin must be implemented in Java, following OpenSearch plugin development standards.
The plugin will be included by default in Wazuh Indexer packages and initialized automatically at node startup.
Uh oh!
There was an error while loading. Please reload this page.
Description
This issue aims to ensure that the Wazuh Indexer validates and sets up all required components during its initialization phase. This includes the creation and verification of necessary indices, pipelines, and security roles. By doing so, the Indexer avoids startup inconsistencies, reduces integration issues with Wazuh Servers, and simplifies the overall deployment process.
Functional requirements
Non-functional requirements
Implementation restrictions
Plan
Spike
wazuh-statistics
andwazuh-monitoring
#468Development
wazuh-indexer-plugins
repo for 5.x #438Requirements traceability matrix
Notes
The text was updated successfully, but these errors were encountered: