Skip to content

[Security Assistant] Register prompt context on click instead of on mount #219142

@stephmilovic

Description

@stephmilovic

We currently register assistant context on mount. This is fine when we show a button to open an alert in assistant from flyout, but if we want to open alert from the table it will create as many contexts as there are alerts on the page:

Image

If we change to register the context on click, we can show multiple context buttons at once like in this use case.

Once updated, please re-add the AssistantRowControlColumn to the alert_summary ActionsCell.

This is labeled as a bug because there is a bit of funkiness going on in Attack Discovery with the prompt context that would be resolved by this issue. Here is a video of this:

no.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Security Generative AISecurity Generative AIbugFixes for quality problems that affect the customer experience

    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