From c7bb851ded898f0a64f3ad9d0618c954e20a78de Mon Sep 17 00:00:00 2001 From: Konrad Szwarc Date: Fri, 29 Sep 2023 10:17:30 +0200 Subject: [PATCH] [Osquery][Defend Workflows] No responses for alert on flyout (#166916) https://github.com/elastic/kibana/issues/166040 Inform user that there are no responses associated with and alert instead of returning `null`. ![Screenshot 2023-09-21 at 11 55 08](https://github.com/elastic/kibana/assets/29123534/7758f354-45f5-4ac1-9ea4-b650aca0c082) --- .../components/event_details/response_actions_view.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/response_actions_view.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/response_actions_view.tsx index c5680d943ba2d..06c9b18081aea 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/response_actions_view.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/response_actions_view.tsx @@ -10,6 +10,7 @@ import styled from 'styled-components'; import type { EuiTabbedContentTab } from '@elastic/eui'; import { EuiNotificationBadge, EuiSpacer } from '@elastic/eui'; import type { Ecs } from '@kbn/cases-plugin/common'; +import { FormattedMessage } from '@kbn/i18n-react'; import type { SearchHit } from '../../../../common/search_strategy'; import type { ExpandedEventFieldsObject, @@ -71,7 +72,12 @@ export const useResponseActionsView = ({ ruleName={ruleName} ecsData={ecsData} /> - ) : null} + ) : ( + + )} );