mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[EDR Workflows] fix hidden saved query flyout and unskip test (#185004)
This commit is contained in:
parent
67cd12e8ce
commit
8119aac0fe
3 changed files with 12 additions and 4 deletions
1
.github/CODEOWNERS
vendored
1
.github/CODEOWNERS
vendored
|
@ -1634,6 +1634,7 @@ x-pack/test/security_solution_api_integration/test_suites/genai @elastic/securit
|
|||
/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions @elastic/security-defend-workflows
|
||||
/x-pack/plugins/security_solution/public/detection_engine/rule_response_actions @elastic/security-defend-workflows
|
||||
/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions @elastic/security-defend-workflows
|
||||
/x-pack/plugins/security_solution/public/detections/components/osquery @elastic/security-defend-workflows
|
||||
|
||||
# Cloud Defend
|
||||
/x-pack/plugins/cloud_defend/ @elastic/kibana-cloud-security-posture
|
||||
|
|
|
@ -22,8 +22,7 @@ import {
|
|||
} from '../../tasks/integrations';
|
||||
import { RESULTS_TABLE, RESULTS_TABLE_BUTTON } from '../../screens/live_query';
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/180852
|
||||
describe.skip(
|
||||
describe(
|
||||
'Alert Event Details',
|
||||
{
|
||||
tags: ['@ess', '@serverless'],
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* 2.0; you may not use this file except in compliance with the Elastic License
|
||||
* 2.0.
|
||||
*/
|
||||
|
||||
import {
|
||||
EuiFlyout,
|
||||
EuiTitle,
|
||||
|
@ -16,10 +15,11 @@ import {
|
|||
EuiFlexItem,
|
||||
EuiButtonEmpty,
|
||||
EuiButton,
|
||||
useEuiTheme,
|
||||
} from '@elastic/eui';
|
||||
import { FormProvider } from 'react-hook-form';
|
||||
|
||||
import React, { useCallback } from 'react';
|
||||
import React, { useCallback, useMemo } from 'react';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
import type { SavedQuerySOFormData, SavedQueryFormData } from './form/use_saved_query_form';
|
||||
|
@ -51,6 +51,13 @@ const SavedQueryFlyoutComponent: React.FC<AddQueryFlyoutProps> = ({ defaultValue
|
|||
},
|
||||
[createSavedQueryMutation, onClose, serializer]
|
||||
);
|
||||
const { euiTheme } = useEuiTheme();
|
||||
|
||||
// we need this flyout to be above the timeline flyout (which has a z-index of 1002)
|
||||
const maskProps = useMemo(
|
||||
() => ({ style: `z-index: ${(euiTheme.levels.flyout as number) + 3}` }),
|
||||
[euiTheme.levels.flyout]
|
||||
);
|
||||
|
||||
return (
|
||||
<EuiPortal>
|
||||
|
@ -60,6 +67,7 @@ const SavedQueryFlyoutComponent: React.FC<AddQueryFlyoutProps> = ({ defaultValue
|
|||
ownFocus
|
||||
onClose={onClose}
|
||||
aria-labelledby="flyoutTitle"
|
||||
maskProps={maskProps}
|
||||
>
|
||||
<EuiFlyoutHeader hasBorder>
|
||||
<EuiTitle size="s">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue