Skip to content

Commit

Permalink
[Security Solution] use event to use current user and not kibana syst…
Browse files Browse the repository at this point in the history
…em (#157907)

FIX #157882

Security solution user needs to use the current user instead of using
kibana system user to fetch alert.

@michaelolo24 will push a follow up PR to write unit test so nobody can
change this value anymore!!!

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
XavierM and kibanamachine authored May 16, 2023
1 parent 3ca6559 commit 6733497
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export const AlertsTableComponent: FC<DetectionEngineAlertTableProps> = ({
});

const { DetailsPanel, SessionView } = useSessionView({
entityType: 'alerts',
entityType: 'events',
scopeId: tableId,
});

Expand Down

0 comments on commit 6733497

Please sign in to comment.