Skip to content

[🐛 Bug]: [Alert enrichment] when changing status of incident, other enrichments of alerts are gone #5259

@bbcorp

Description

@bbcorp

Describe the bug
Alert enrichment: I've noticed when you acknowledge an incident, it acknowledges the alert too by adding the enrichment "status": "acknowledged" but all other previous enrichments are gone. Same goes when you resolve and incident.

To Reproduce
Steps to reproduce the behavior:

  1. Send an alert
  2. Click on the alert details
  3. Add some enrichment
  4. Create a ticket from alert
  5. Acknowledge or Resolve the ticket
  6. See that your previous enrichments on alert are gone.

Expected behavior
Merge status and current enrichments of alerts.

Additional context
The code uses batch_enrich in keep/api/bl/enrichments_bl https://github.com/keephq/keep/blob/main/keep/api/bl/enrichments_bl.py#L641-L650

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions