Skip to content

[RAC][Rule Registry] Updating old alerts by "reindexing" them into the current write index #111165

@banderror

Description

@banderror

Parent ticket: #101016

Summary

Background: #109276 (comment)

We should consider a "hybrid" approach in which an "update" means we write a document to the current write index (which we can assume to have the most recent mappings) and we delete the document from the index it was previously in. That would be almost like a reindex-on-write approach.

Benefits:

Risks/cons:

  • We don't have a transaction to make this operation atomic, so we might have intermittently missing or duplicate alert docs.
  • In Security we don't update @timestamp and other fields except the status, and the benefits are not that obvious for Security.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Detection AlertsSecurity Detection Alerts Area TeamTeam:Detections and RespSecurity Detection Response TeamTheme: raclabel obsolete

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions