Skip to content

Add related alerts support #221037

@kfirpeled

Description

@kfirpeled

Motivation

The current graph API is hardcoded to query the logs-* index pattern. This limits its flexibility and makes it difficult to adapt to different datasets or environments. By allowing the index pattern to be passed as an optional parameter, we enable broader use cases and improve integration with user-defined data sources.
Additionally, we want to ensure that relevant alerts are identified and returned clearly as part of the response to enhance the context of graph-based investigations.

Definition of done

  • Add optional indexPattern parameter to the graph API (default to logs-*)
  • Ensure alerts within the result set are correctly identified and marked as alerts
  • Make sure we use the security data view in the graph visualization component

Out of scope

  • Support for non-logs indices that require schema transformation

Related tasks/epics

Team tag

@elastic/kibana-cloud-security-posture

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions