diff --git a/x-pack/plugins/security_solution/public/detections/components/alerts_table/actions.tsx b/x-pack/plugins/security_solution/public/detections/components/alerts_table/actions.tsx index ef08db6f93fc..46e439d38f81 100644 --- a/x-pack/plugins/security_solution/public/detections/components/alerts_table/actions.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/alerts_table/actions.tsx @@ -403,7 +403,7 @@ const createThresholdTimeline = async ( estypes.SearchResponse<{ '@timestamp': string; [key: string]: unknown }> >(DETECTION_ENGINE_QUERY_SIGNALS_URL, { method: 'POST', - body: JSON.stringify(buildAlertsQuery([ecsData._id] ?? [])), + body: JSON.stringify(buildAlertsQuery([ecsData._id])), }); const formattedAlertData = alertResponse?.hits.hits.reduce((acc, { _id, _index, _source = {} }) => {