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
On start, the Content Manager will initialize the internal index to manage the context's metadata. The index name will be wazuh-content for now. This index will be read and written by other modules of the Content Manager:
The CTI client writes the latest offset and the snapshot URL for the given context.
The Content Updater reads the latest offset and the current offset to fetch the changes on the context. It updates the context's offset on each successful update.
On initialization, the context's offset is set to 0, to force an initialization from a snapshot. The context name is used as the document's ID (vd_1.0.0), and the consumer name as the object key for the metadata (vd_4.8.0).
Functional requirements
The Content Manager initializes the wazuh-content index on start up, if it does not exist.
The context's name is used as the document's ID.
Implementation restrictions
The context and consumer names are set as constants in the code.
JSON schema (mappings):
offset --> int
last_offset --> int
snapshot --> URL
hash --> string
The text was updated successfully, but these errors were encountered:
AlexRuiz7
changed the title
Add a context and consumer configuration API endpoint to the Content Manager plugin
Context and Consumer registration
Jan 30, 2025
AlexRuiz7
changed the title
Context and Consumer registration
Initialization of the wazuh-content index
Jan 31, 2025
Description
On start, the Content Manager will initialize the internal index to manage the context's metadata. The index name will be
wazuh-content
for now. This index will be read and written by other modules of the Content Manager:On initialization, the context's offset is set to 0, to force an initialization from a snapshot. The context name is used as the document's ID (
vd_1.0.0
), and the consumer name as the object key for the metadata (vd_4.8.0
).Functional requirements
wazuh-content
index on start up, if it does not exist.Implementation restrictions
The text was updated successfully, but these errors were encountered: