mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 03:01:21 -04:00
[Security Solution] expandable flyout - remove expand/collapse functionality on rule description (#162821)
This commit is contained in:
parent
c237e11a60
commit
da9d875826
10 changed files with 12 additions and 159 deletions
|
@ -16,7 +16,6 @@ import {
|
||||||
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_ABOUT_SECTION_HEADER,
|
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_ABOUT_SECTION_HEADER,
|
||||||
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_ANALYZER_TREE,
|
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_ANALYZER_TREE,
|
||||||
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_DETAILS,
|
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_DETAILS,
|
||||||
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_EXPAND_BUTTON,
|
|
||||||
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_TITLE,
|
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_TITLE,
|
||||||
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_OPEN_RULE_PREVIEW_BUTTON,
|
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_OPEN_RULE_PREVIEW_BUTTON,
|
||||||
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_HIGHLIGHTED_FIELDS_DETAILS,
|
DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_HIGHLIGHTED_FIELDS_DETAILS,
|
||||||
|
@ -107,14 +106,6 @@ describe(
|
||||||
cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_DETAILS)
|
cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_DETAILS)
|
||||||
.should('be.visible')
|
.should('be.visible')
|
||||||
.and('have.text', rule.description);
|
.and('have.text', rule.description);
|
||||||
cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_EXPAND_BUTTON)
|
|
||||||
.should('be.visible')
|
|
||||||
.and('have.text', 'Expand');
|
|
||||||
cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_EXPAND_BUTTON).click();
|
|
||||||
cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_EXPAND_BUTTON).should(
|
|
||||||
'have.text',
|
|
||||||
'Collapse'
|
|
||||||
);
|
|
||||||
|
|
||||||
cy.log('reason');
|
cy.log('reason');
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ import {
|
||||||
ABOUT_SECTION_HEADER_TEST_ID,
|
ABOUT_SECTION_HEADER_TEST_ID,
|
||||||
ANALYZER_TREE_TEST_ID,
|
ANALYZER_TREE_TEST_ID,
|
||||||
DESCRIPTION_DETAILS_TEST_ID,
|
DESCRIPTION_DETAILS_TEST_ID,
|
||||||
DESCRIPTION_EXPAND_BUTTON_TEST_ID,
|
|
||||||
DESCRIPTION_TITLE_TEST_ID,
|
DESCRIPTION_TITLE_TEST_ID,
|
||||||
RULE_SUMMARY_BUTTON_TEST_ID,
|
RULE_SUMMARY_BUTTON_TEST_ID,
|
||||||
ENTITIES_CONTENT_TEST_ID,
|
ENTITIES_CONTENT_TEST_ID,
|
||||||
|
@ -60,8 +59,6 @@ export const DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_DETAILS = getDataT
|
||||||
);
|
);
|
||||||
export const DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_OPEN_RULE_PREVIEW_BUTTON =
|
export const DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_OPEN_RULE_PREVIEW_BUTTON =
|
||||||
getDataTestSubjectSelector(RULE_SUMMARY_BUTTON_TEST_ID);
|
getDataTestSubjectSelector(RULE_SUMMARY_BUTTON_TEST_ID);
|
||||||
export const DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_DESCRIPTION_EXPAND_BUTTON =
|
|
||||||
getDataTestSubjectSelector(DESCRIPTION_EXPAND_BUTTON_TEST_ID);
|
|
||||||
export const DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_REASON_TITLE =
|
export const DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_REASON_TITLE =
|
||||||
getDataTestSubjectSelector(REASON_TITLE_TEST_ID);
|
getDataTestSubjectSelector(REASON_TITLE_TEST_ID);
|
||||||
export const DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_REASON_DETAILS =
|
export const DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_REASON_DETAILS =
|
||||||
|
|
|
@ -44,7 +44,7 @@ const wrapper = (children: React.ReactNode, panelContextValue: RightPanelContext
|
||||||
</div>
|
</div>
|
||||||
</RightPanelContext.Provider>
|
</RightPanelContext.Provider>
|
||||||
);
|
);
|
||||||
export const RuleExpand: Story<void> = () => {
|
export const Rule: Story<void> = () => {
|
||||||
const panelContextValue = {
|
const panelContextValue = {
|
||||||
dataFormattedForFieldBrowser: [ruleUuid, ruleDescription],
|
dataFormattedForFieldBrowser: [ruleUuid, ruleDescription],
|
||||||
} as unknown as RightPanelContext;
|
} as unknown as RightPanelContext;
|
||||||
|
@ -52,14 +52,6 @@ export const RuleExpand: Story<void> = () => {
|
||||||
return wrapper(<Description />, panelContextValue);
|
return wrapper(<Description />, panelContextValue);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const RuleCollapse: Story<void> = () => {
|
|
||||||
const panelContextValue = {
|
|
||||||
dataFormattedForFieldBrowser: [ruleUuid, ruleDescription],
|
|
||||||
} as unknown as RightPanelContext;
|
|
||||||
|
|
||||||
return wrapper(<Description expanded={true} />, panelContextValue);
|
|
||||||
};
|
|
||||||
|
|
||||||
export const Document: Story<void> = () => {
|
export const Document: Story<void> = () => {
|
||||||
const panelContextValue = {
|
const panelContextValue = {
|
||||||
dataFormattedForFieldBrowser: [
|
dataFormattedForFieldBrowser: [
|
||||||
|
@ -90,11 +82,11 @@ export const EmptyDescription: Story<void> = () => {
|
||||||
],
|
],
|
||||||
} as unknown as RightPanelContext;
|
} as unknown as RightPanelContext;
|
||||||
|
|
||||||
return wrapper(<Description expanded={true} />, panelContextValue);
|
return wrapper(<Description />, panelContextValue);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const Empty: Story<void> = () => {
|
export const Empty: Story<void> = () => {
|
||||||
const panelContextValue = {} as unknown as RightPanelContext;
|
const panelContextValue = {} as unknown as RightPanelContext;
|
||||||
|
|
||||||
return wrapper(<Description expanded={true} />, panelContextValue);
|
return wrapper(<Description />, panelContextValue);
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,17 +7,8 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { render } from '@testing-library/react';
|
import { render } from '@testing-library/react';
|
||||||
import {
|
import { DESCRIPTION_TITLE_TEST_ID, RULE_SUMMARY_BUTTON_TEST_ID } from './test_ids';
|
||||||
DESCRIPTION_EXPAND_BUTTON_TEST_ID,
|
import { DOCUMENT_DESCRIPTION_TITLE, RULE_DESCRIPTION_TITLE } from './translations';
|
||||||
DESCRIPTION_TITLE_TEST_ID,
|
|
||||||
RULE_SUMMARY_BUTTON_TEST_ID,
|
|
||||||
} from './test_ids';
|
|
||||||
import {
|
|
||||||
DOCUMENT_DESCRIPTION_COLLAPSE_BUTTON,
|
|
||||||
DOCUMENT_DESCRIPTION_EXPAND_BUTTON,
|
|
||||||
DOCUMENT_DESCRIPTION_TITLE,
|
|
||||||
RULE_DESCRIPTION_TITLE,
|
|
||||||
} from './translations';
|
|
||||||
import { Description } from './description';
|
import { Description } from './description';
|
||||||
import { TestProviders } from '../../../common/mock';
|
import { TestProviders } from '../../../common/mock';
|
||||||
import { RightPanelContext } from '../context';
|
import { RightPanelContext } from '../context';
|
||||||
|
@ -54,7 +45,7 @@ jest.mock('../../../common/lib/kibana');
|
||||||
jest.mock('../../../common/components/link_to');
|
jest.mock('../../../common/components/link_to');
|
||||||
|
|
||||||
describe('<Description />', () => {
|
describe('<Description />', () => {
|
||||||
it('should render the component collapsed', () => {
|
it('should render the component', () => {
|
||||||
const panelContextValue = {
|
const panelContextValue = {
|
||||||
dataFormattedForFieldBrowser: [ruleUuid, ruleDescription, ruleName],
|
dataFormattedForFieldBrowser: [ruleUuid, ruleDescription, ruleName],
|
||||||
} as unknown as RightPanelContext;
|
} as unknown as RightPanelContext;
|
||||||
|
@ -72,58 +63,6 @@ describe('<Description />', () => {
|
||||||
expect(getByTestId(DESCRIPTION_TITLE_TEST_ID)).toBeInTheDocument();
|
expect(getByTestId(DESCRIPTION_TITLE_TEST_ID)).toBeInTheDocument();
|
||||||
expect(getByTestId(DESCRIPTION_TITLE_TEST_ID)).toHaveTextContent(RULE_DESCRIPTION_TITLE);
|
expect(getByTestId(DESCRIPTION_TITLE_TEST_ID)).toHaveTextContent(RULE_DESCRIPTION_TITLE);
|
||||||
expect(getByTestId(RULE_SUMMARY_BUTTON_TEST_ID)).toBeInTheDocument();
|
expect(getByTestId(RULE_SUMMARY_BUTTON_TEST_ID)).toBeInTheDocument();
|
||||||
expect(getByTestId(DESCRIPTION_EXPAND_BUTTON_TEST_ID)).toBeInTheDocument();
|
|
||||||
expect(getByTestId(DESCRIPTION_EXPAND_BUTTON_TEST_ID)).toHaveTextContent(
|
|
||||||
DOCUMENT_DESCRIPTION_EXPAND_BUTTON
|
|
||||||
);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should render the component expanded', () => {
|
|
||||||
const panelContextValue = {
|
|
||||||
dataFormattedForFieldBrowser: [ruleUuid, ruleDescription, ruleName],
|
|
||||||
} as unknown as RightPanelContext;
|
|
||||||
|
|
||||||
const { getByTestId } = render(
|
|
||||||
<TestProviders>
|
|
||||||
<RightPanelContext.Provider value={panelContextValue}>
|
|
||||||
<ThemeProvider theme={mockTheme}>
|
|
||||||
<Description expanded={true} />
|
|
||||||
</ThemeProvider>
|
|
||||||
</RightPanelContext.Provider>
|
|
||||||
</TestProviders>
|
|
||||||
);
|
|
||||||
|
|
||||||
expect(getByTestId(DESCRIPTION_TITLE_TEST_ID)).toBeInTheDocument();
|
|
||||||
expect(getByTestId(DESCRIPTION_TITLE_TEST_ID)).toHaveTextContent(RULE_DESCRIPTION_TITLE);
|
|
||||||
expect(getByTestId(RULE_SUMMARY_BUTTON_TEST_ID)).toBeInTheDocument();
|
|
||||||
expect(getByTestId(DESCRIPTION_EXPAND_BUTTON_TEST_ID)).toBeInTheDocument();
|
|
||||||
expect(getByTestId(DESCRIPTION_EXPAND_BUTTON_TEST_ID)).toHaveTextContent(
|
|
||||||
DOCUMENT_DESCRIPTION_COLLAPSE_BUTTON
|
|
||||||
);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should render expand and collapse when clicking on the button', () => {
|
|
||||||
const panelContextValue = {
|
|
||||||
dataFormattedForFieldBrowser: [ruleUuid, ruleDescription, ruleName],
|
|
||||||
} as unknown as RightPanelContext;
|
|
||||||
|
|
||||||
const { getByTestId } = render(
|
|
||||||
<TestProviders>
|
|
||||||
<RightPanelContext.Provider value={panelContextValue}>
|
|
||||||
<ThemeProvider theme={mockTheme}>
|
|
||||||
<Description />
|
|
||||||
</ThemeProvider>
|
|
||||||
</RightPanelContext.Provider>
|
|
||||||
</TestProviders>
|
|
||||||
);
|
|
||||||
|
|
||||||
expect(getByTestId(DESCRIPTION_EXPAND_BUTTON_TEST_ID)).toHaveTextContent(
|
|
||||||
DOCUMENT_DESCRIPTION_EXPAND_BUTTON
|
|
||||||
);
|
|
||||||
getByTestId(DESCRIPTION_EXPAND_BUTTON_TEST_ID).click();
|
|
||||||
expect(getByTestId(DESCRIPTION_EXPAND_BUTTON_TEST_ID)).toHaveTextContent(
|
|
||||||
DOCUMENT_DESCRIPTION_COLLAPSE_BUTTON
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should not render rule preview button if rule name is not available', () => {
|
it('should not render rule preview button if rule name is not available', () => {
|
||||||
|
@ -145,6 +84,7 @@ describe('<Description />', () => {
|
||||||
expect(getByTestId(DESCRIPTION_TITLE_TEST_ID)).toHaveTextContent(RULE_DESCRIPTION_TITLE);
|
expect(getByTestId(DESCRIPTION_TITLE_TEST_ID)).toHaveTextContent(RULE_DESCRIPTION_TITLE);
|
||||||
expect(queryByTestId(RULE_SUMMARY_BUTTON_TEST_ID)).not.toBeInTheDocument();
|
expect(queryByTestId(RULE_SUMMARY_BUTTON_TEST_ID)).not.toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should render document title if document is not an alert', () => {
|
it('should render document title if document is not an alert', () => {
|
||||||
const panelContextValue = {
|
const panelContextValue = {
|
||||||
dataFormattedForFieldBrowser: [ruleDescription],
|
dataFormattedForFieldBrowser: [ruleDescription],
|
||||||
|
|
|
@ -6,22 +6,18 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { EuiButtonEmpty, EuiFlexGroup, EuiFlexItem, EuiTitle } from '@elastic/eui';
|
import { EuiButtonEmpty, EuiFlexGroup, EuiFlexItem, EuiTitle } from '@elastic/eui';
|
||||||
import type { VFC } from 'react';
|
import type { FC } from 'react';
|
||||||
import React, { useState, useMemo, useCallback } from 'react';
|
import React, { useMemo, useCallback } from 'react';
|
||||||
import { css } from '@emotion/react';
|
|
||||||
import { isEmpty } from 'lodash';
|
import { isEmpty } from 'lodash';
|
||||||
import { useExpandableFlyoutContext } from '@kbn/expandable-flyout';
|
import { useExpandableFlyoutContext } from '@kbn/expandable-flyout';
|
||||||
import { useRightPanelContext } from '../context';
|
import { useRightPanelContext } from '../context';
|
||||||
import { useBasicDataFromDetailsData } from '../../../timelines/components/side_panel/event_details/helpers';
|
import { useBasicDataFromDetailsData } from '../../../timelines/components/side_panel/event_details/helpers';
|
||||||
import {
|
import {
|
||||||
DESCRIPTION_DETAILS_TEST_ID,
|
DESCRIPTION_DETAILS_TEST_ID,
|
||||||
DESCRIPTION_EXPAND_BUTTON_TEST_ID,
|
|
||||||
DESCRIPTION_TITLE_TEST_ID,
|
DESCRIPTION_TITLE_TEST_ID,
|
||||||
RULE_SUMMARY_BUTTON_TEST_ID,
|
RULE_SUMMARY_BUTTON_TEST_ID,
|
||||||
} from './test_ids';
|
} from './test_ids';
|
||||||
import {
|
import {
|
||||||
DOCUMENT_DESCRIPTION_COLLAPSE_BUTTON,
|
|
||||||
DOCUMENT_DESCRIPTION_EXPAND_BUTTON,
|
|
||||||
DOCUMENT_DESCRIPTION_TITLE,
|
DOCUMENT_DESCRIPTION_TITLE,
|
||||||
RULE_DESCRIPTION_TITLE,
|
RULE_DESCRIPTION_TITLE,
|
||||||
RULE_SUMMARY_TEXT,
|
RULE_SUMMARY_TEXT,
|
||||||
|
@ -29,22 +25,11 @@ import {
|
||||||
} from './translations';
|
} from './translations';
|
||||||
import { PreviewPanelKey, type PreviewPanelProps } from '../../preview';
|
import { PreviewPanelKey, type PreviewPanelProps } from '../../preview';
|
||||||
|
|
||||||
export interface DescriptionProps {
|
|
||||||
/**
|
|
||||||
* Boolean to allow the component to be expanded or collapsed on first render
|
|
||||||
*/
|
|
||||||
expanded?: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays the description of a document.
|
* Displays the description of a document.
|
||||||
* If the document is an alert we show the rule description. If the document is of another type, we show -.
|
* If the document is an alert we show the rule description. If the document is of another type, we show -.
|
||||||
* By default, the text is truncated to only shows 2 lines.
|
|
||||||
* The Expand/Collapse button allows the user to see the whole description.
|
|
||||||
*/
|
*/
|
||||||
export const Description: VFC<DescriptionProps> = ({ expanded = false }) => {
|
export const Description: FC = () => {
|
||||||
const [isExpanded, setIsExpanded] = useState(expanded);
|
|
||||||
|
|
||||||
const { dataFormattedForFieldBrowser, scopeId, eventId, indexName } = useRightPanelContext();
|
const { dataFormattedForFieldBrowser, scopeId, eventId, indexName } = useRightPanelContext();
|
||||||
const { isAlert, ruleDescription, ruleName, ruleId } = useBasicDataFromDetailsData(
|
const { isAlert, ruleDescription, ruleName, ruleId } = useBasicDataFromDetailsData(
|
||||||
dataFormattedForFieldBrowser
|
dataFormattedForFieldBrowser
|
||||||
|
@ -94,9 +79,6 @@ export const Description: VFC<DescriptionProps> = ({ expanded = false }) => {
|
||||||
|
|
||||||
const hasRuleDescription = ruleDescription && ruleDescription.length > 0;
|
const hasRuleDescription = ruleDescription && ruleDescription.length > 0;
|
||||||
|
|
||||||
// TODO look into hiding the expand/collapse button if the description is short
|
|
||||||
// see https://github.com/elastic/security-team/issues/6248
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<EuiFlexGroup direction="column" gutterSize="s">
|
<EuiFlexGroup direction="column" gutterSize="s">
|
||||||
<EuiFlexItem data-test-subj={DESCRIPTION_TITLE_TEST_ID}>
|
<EuiFlexItem data-test-subj={DESCRIPTION_TITLE_TEST_ID}>
|
||||||
|
@ -113,38 +95,9 @@ export const Description: VFC<DescriptionProps> = ({ expanded = false }) => {
|
||||||
)}
|
)}
|
||||||
</EuiTitle>
|
</EuiTitle>
|
||||||
</EuiFlexItem>
|
</EuiFlexItem>
|
||||||
<EuiFlexItem>
|
<EuiFlexItem data-test-subj={DESCRIPTION_DETAILS_TEST_ID}>
|
||||||
<EuiFlexGroup direction="column" gutterSize="xs" alignItems="flexStart">
|
|
||||||
<EuiFlexItem
|
|
||||||
data-test-subj={DESCRIPTION_DETAILS_TEST_ID}
|
|
||||||
css={css`
|
|
||||||
word-break: break-word;
|
|
||||||
${!isExpanded &&
|
|
||||||
`
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-line-clamp: 2;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
overflow: hidden;
|
|
||||||
`}
|
|
||||||
`}
|
|
||||||
>
|
|
||||||
{hasRuleDescription ? ruleDescription : '-'}
|
{hasRuleDescription ? ruleDescription : '-'}
|
||||||
</EuiFlexItem>
|
</EuiFlexItem>
|
||||||
{hasRuleDescription ? (
|
|
||||||
<EuiFlexItem grow={false}>
|
|
||||||
<EuiButtonEmpty
|
|
||||||
size="s"
|
|
||||||
onClick={() => setIsExpanded((preIsExpanded) => !preIsExpanded)}
|
|
||||||
data-test-subj={DESCRIPTION_EXPAND_BUTTON_TEST_ID}
|
|
||||||
>
|
|
||||||
{isExpanded
|
|
||||||
? DOCUMENT_DESCRIPTION_COLLAPSE_BUTTON
|
|
||||||
: DOCUMENT_DESCRIPTION_EXPAND_BUTTON}
|
|
||||||
</EuiButtonEmpty>
|
|
||||||
</EuiFlexItem>
|
|
||||||
) : null}
|
|
||||||
</EuiFlexGroup>
|
|
||||||
</EuiFlexItem>
|
|
||||||
</EuiFlexGroup>
|
</EuiFlexGroup>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -35,8 +35,6 @@ export const RULE_SUMMARY_BUTTON_TEST_ID = 'securitySolutionDocumentDetailsFlyou
|
||||||
export const DESCRIPTION_TITLE_TEST_ID = 'securitySolutionDocumentDetailsFlyoutDescriptionTitle';
|
export const DESCRIPTION_TITLE_TEST_ID = 'securitySolutionDocumentDetailsFlyoutDescriptionTitle';
|
||||||
export const DESCRIPTION_DETAILS_TEST_ID =
|
export const DESCRIPTION_DETAILS_TEST_ID =
|
||||||
'securitySolutionDocumentDetailsFlyoutDescriptionDetails';
|
'securitySolutionDocumentDetailsFlyoutDescriptionDetails';
|
||||||
export const DESCRIPTION_EXPAND_BUTTON_TEST_ID =
|
|
||||||
'securitySolutionDocumentDetailsFlyoutDescriptionExpandButton';
|
|
||||||
export const REASON_TITLE_TEST_ID = 'securitySolutionDocumentDetailsFlyoutReasonTitle';
|
export const REASON_TITLE_TEST_ID = 'securitySolutionDocumentDetailsFlyoutReasonTitle';
|
||||||
export const REASON_DETAILS_TEST_ID = 'securitySolutionDocumentDetailsFlyoutReasonDetails';
|
export const REASON_DETAILS_TEST_ID = 'securitySolutionDocumentDetailsFlyoutReasonDetails';
|
||||||
export const MITRE_ATTACK_TITLE_TEST_ID = 'securitySolutionAlertDetailsFlyoutMitreAttackTitle';
|
export const MITRE_ATTACK_TITLE_TEST_ID = 'securitySolutionAlertDetailsFlyoutMitreAttackTitle';
|
||||||
|
|
|
@ -79,18 +79,6 @@ export const DOCUMENT_DESCRIPTION_TITLE = i18n.translate(
|
||||||
defaultMessage: 'Document description',
|
defaultMessage: 'Document description',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
export const DOCUMENT_DESCRIPTION_EXPAND_BUTTON = i18n.translate(
|
|
||||||
'xpack.securitySolution.flyout.documentDetails.documentDescriptionExpandButton',
|
|
||||||
{
|
|
||||||
defaultMessage: 'Expand',
|
|
||||||
}
|
|
||||||
);
|
|
||||||
export const DOCUMENT_DESCRIPTION_COLLAPSE_BUTTON = i18n.translate(
|
|
||||||
'xpack.securitySolution.flyout.documentDetails.documentDescriptionCollapseButton',
|
|
||||||
{
|
|
||||||
defaultMessage: 'Collapse',
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
export const ALERT_REASON_TITLE = i18n.translate(
|
export const ALERT_REASON_TITLE = i18n.translate(
|
||||||
'xpack.securitySolution.flyout.documentDetails.alertReasonTitle',
|
'xpack.securitySolution.flyout.documentDetails.alertReasonTitle',
|
||||||
|
|
|
@ -33405,8 +33405,6 @@
|
||||||
"xpack.securitySolution.flyout.documentDetails.collapseDetailButton": "Réduire les détails de l'alerte",
|
"xpack.securitySolution.flyout.documentDetails.collapseDetailButton": "Réduire les détails de l'alerte",
|
||||||
"xpack.securitySolution.flyout.documentDetails.correlationsButton": "Corrélations",
|
"xpack.securitySolution.flyout.documentDetails.correlationsButton": "Corrélations",
|
||||||
"xpack.securitySolution.flyout.documentDetails.correlationsTitle": "Corrélations",
|
"xpack.securitySolution.flyout.documentDetails.correlationsTitle": "Corrélations",
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentDescriptionCollapseButton": "Réduire",
|
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentDescriptionExpandButton": "Développer",
|
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentDescriptionTitle": "Description du document",
|
"xpack.securitySolution.flyout.documentDetails.documentDescriptionTitle": "Description du document",
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentReasonTitle": "Motif du document",
|
"xpack.securitySolution.flyout.documentDetails.documentReasonTitle": "Motif du document",
|
||||||
"xpack.securitySolution.flyout.documentDetails.entitiesButton": "Entités",
|
"xpack.securitySolution.flyout.documentDetails.entitiesButton": "Entités",
|
||||||
|
|
|
@ -33404,8 +33404,6 @@
|
||||||
"xpack.securitySolution.flyout.documentDetails.collapseDetailButton": "アラート詳細を折りたたむ",
|
"xpack.securitySolution.flyout.documentDetails.collapseDetailButton": "アラート詳細を折りたたむ",
|
||||||
"xpack.securitySolution.flyout.documentDetails.correlationsButton": "相関関係",
|
"xpack.securitySolution.flyout.documentDetails.correlationsButton": "相関関係",
|
||||||
"xpack.securitySolution.flyout.documentDetails.correlationsTitle": "相関関係",
|
"xpack.securitySolution.flyout.documentDetails.correlationsTitle": "相関関係",
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentDescriptionCollapseButton": "縮小",
|
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentDescriptionExpandButton": "拡張",
|
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentDescriptionTitle": "ドキュメント説明",
|
"xpack.securitySolution.flyout.documentDetails.documentDescriptionTitle": "ドキュメント説明",
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentReasonTitle": "ドキュメント理由",
|
"xpack.securitySolution.flyout.documentDetails.documentReasonTitle": "ドキュメント理由",
|
||||||
"xpack.securitySolution.flyout.documentDetails.entitiesButton": "エンティティ",
|
"xpack.securitySolution.flyout.documentDetails.entitiesButton": "エンティティ",
|
||||||
|
|
|
@ -33400,8 +33400,6 @@
|
||||||
"xpack.securitySolution.flyout.documentDetails.collapseDetailButton": "折叠告警详情",
|
"xpack.securitySolution.flyout.documentDetails.collapseDetailButton": "折叠告警详情",
|
||||||
"xpack.securitySolution.flyout.documentDetails.correlationsButton": "相关性",
|
"xpack.securitySolution.flyout.documentDetails.correlationsButton": "相关性",
|
||||||
"xpack.securitySolution.flyout.documentDetails.correlationsTitle": "相关性",
|
"xpack.securitySolution.flyout.documentDetails.correlationsTitle": "相关性",
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentDescriptionCollapseButton": "折叠",
|
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentDescriptionExpandButton": "展开",
|
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentDescriptionTitle": "文档描述",
|
"xpack.securitySolution.flyout.documentDetails.documentDescriptionTitle": "文档描述",
|
||||||
"xpack.securitySolution.flyout.documentDetails.documentReasonTitle": "文档原因",
|
"xpack.securitySolution.flyout.documentDetails.documentReasonTitle": "文档原因",
|
||||||
"xpack.securitySolution.flyout.documentDetails.entitiesButton": "实体",
|
"xpack.securitySolution.flyout.documentDetails.entitiesButton": "实体",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue