diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.test.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.test.tsx
index fcc943f565895..0aa9c5601f87e 100644
--- a/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.test.tsx
+++ b/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.test.tsx
@@ -14,6 +14,7 @@ import { TimelineEventsDetailsItem } from '../../../../common/search_strategy';
import { useRuleWithFallback } from '../../../detections/containers/detection_engine/rules/use_rule_with_fallback';
import { TestProviders, TestProvidersComponent } from '../../mock';
+import { TimelineId } from '../../../../common';
import { mockBrowserFields } from '../../containers/source/mock';
jest.mock('../../lib/kibana');
@@ -49,6 +50,24 @@ describe('AlertSummaryView', () => {
expect(getByTestId('summary-view')).toBeInTheDocument();
});
+ test('it renders the action cell by default', () => {
+ const { getAllByTestId } = render(
+
+
+
+ );
+ expect(getAllByTestId('hover-actions-filter-for').length).toBeGreaterThan(0);
+ });
+
+ test('it does NOT render the action cell for the active timeline', () => {
+ const { queryAllByTestId } = render(
+
+
+
+ );
+ expect(queryAllByTestId('hover-actions-filter-for').length).toEqual(0);
+ });
+
test("render no investigation guide if it doesn't exist", async () => {
(useRuleWithFallback as jest.Mock).mockReturnValue({
rule: {
diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.tsx
index 19a23e5002567..82259aa2312ae 100644
--- a/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.tsx
+++ b/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.tsx
@@ -14,7 +14,7 @@ import { AlertSummaryRow, getSummaryColumns, SummaryRow } from './helpers';
import { ActionCell } from './table/action_cell';
import { FieldValueCell } from './table/field_value_cell';
-import { TimelineEventsDetailsItem } from '../../../../common';
+import { TimelineEventsDetailsItem, TimelineId } from '../../../../common';
import { getSummaryRows } from './get_alert_summary_rows';
@@ -37,15 +37,17 @@ const getDescription = ({
isDraggable={isDraggable}
values={values}
/>
-
+ {timelineId !== TimelineId.active && (
+
+ )}
>
);