Skip to content

Create index pattern in "Create threat detector" flow #722

@xeniatup

Description

@xeniatup

Is your feature request related to a problem?
A user who is investigating a security finding should not have to provide an index pattern to see surrounding documents. Creating an index pattern can be handled upstream, at the time of creating a detector.

Current experience
Kapture 2023-09-18 at 15 55 31

What solution would you like?
An index pattern should be created automatically for the data source (indexes or wildcard pattern) selected at the time of creating a threat detector.
There are three potential cases:

  1. An index pattern already exists for the data source - the section for creating a new index pattern is hidden
  2. There is no index pattern doesn't exists, and there is just one time field in the data source - an index pattern can be created behind the scenes with a default name and time field.
  3. There is no index pattern exists and there are multiple time fields - the "Index pattern" section is shown on the "Review" page of "Create detector" flow with the index pattern name prefilled and the selection of the time fields.
Screenshot 2023-09-18 at 4 00 39 PM

What alternatives have you considered?
Creating an index pattern with the default name and time fields as part of "View findings details -> View surrounding documents" workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions