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

Index management #258

Open
AlexRuiz7 opened this issue Jan 31, 2025 · 0 comments
Open

Index management #258

AlexRuiz7 opened this issue Jan 31, 2025 · 0 comments
Assignees
Labels
level/task Task issue type/enhancement Enhancement issue

Comments

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Jan 31, 2025

Description

The Index module of the Content Manager is responsible for managing the indices the plugin has access to, which are the content metadata index wazuh-content and the contexts' indices, named after them.

The module provided basic features for other modules to read and write data. It also takes care of preparing the indices, by creating them or creating index templates.

---
title: Content Manager - Index module
---
classDiagram
    direction RL
    namespace index {
        class ContextIndex{
            -string index
            +getAll()
            +get(context)
            +set(context)
            +create()
        }
        class ContentIndex{
            -string index
            +index(document)
            +patch(jsonPatch)
            +create()
        }
    }
Loading

Functional requirements

  • On start, the Content Manager will initialize the internal index to manage the context's metadata.
  • The Index module provides functionality to get all the contexts in the internal index.
  • The Index module provides functionality to get a context.
  • The index module provides functionality to update a context.

Implementation restrictions

  • The content indices and the internal index are managed by different classes.
  • Classes belong to the index Java module.

Plan

  • Implement the management of the internal index for context metadata.
  • Implement the management of the content indices.
@AlexRuiz7 AlexRuiz7 added level/task Task issue type/enhancement Enhancement issue labels Jan 31, 2025
@wazuhci wazuhci moved this to Blocked in XDR+SIEM/Release 5.0.0 Jan 31, 2025
@wazuhci wazuhci moved this from Blocked to Backlog in XDR+SIEM/Release 5.0.0 Jan 31, 2025
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: Backlog
Development

No branches or pull requests

2 participants