Open logeekal opened 1 day ago
Today Every table in Security Solution is wrapped in StatefulEventContext as it helps in communication the scope of Table to nested components.
StatefulEventContext
scope
Below is the structure of
// x-pack/plugins/security_solution/public/common/components/events_viewer/stateful_event_context.ts export interface StatefulEventContextType { tabType: string | undefined; timelineID: string; enableHostDetailsFlyout: boolean; enableIpDetailsFlyout: boolean; onRuleChange?: () => void;
We can see that it contains a lot of unrelated data. I think this should be reviewed or removed from security solution.
Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)
Summary
Today Every table in Security Solution is wrapped in
StatefulEventContext
as it helps in communication thescope
of Table to nested components.Below is the structure of
We can see that it contains a lot of unrelated data. I think this should be reviewed or removed from security solution.