mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[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`.

This commit is contained in:
parent
280ba7786a
commit
c7bb851ded
1 changed files with 7 additions and 1 deletions
|
@ -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 = <T extends object = JSX.Element>({
|
|||
ruleName={ruleName}
|
||||
ecsData={ecsData}
|
||||
/>
|
||||
) : null}
|
||||
) : (
|
||||
<FormattedMessage
|
||||
id="xpack.securitySolution.eventDetails.responseActionsViewNoActions"
|
||||
defaultMessage="There are no response actions defined for this event."
|
||||
/>
|
||||
)}
|
||||
</TabContentWrapper>
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue