Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manual + buildkite changes
Browse files Browse the repository at this point in the history
gsoldevila committed Dec 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent b9ebfeb commit 4360ace
Showing 18 changed files with 53 additions and 59 deletions.
13 changes: 6 additions & 7 deletions .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
@@ -245,8 +245,8 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/plugins\/lists/,
/^x-pack\/plugins\/rule_registry\/common/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/solutions\/security\/solutions\/security\/plugins\/security_solution_ess/,
/^x-pack\/solutions\/security\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/plugins\/task_manager/,
/^x-pack\/solutions\/security\/plugins\/timelines/,
/^x-pack\/plugins\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/,
@@ -255,7 +255,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/bedrock/,
/^x-pack\/plugins\/usage_collection\/public/,
/^x-pack\/solutions\/security\/plugins\/elastic_assistant/,
/^x-pack\/packages\/security-solution/,
/^x-pack\/solutions\/security\/packages/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant-common/,
/^x-pack\/test\/functional\/es_archives\/security_solution/,
@@ -290,7 +290,6 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^packages\/kbn-es-query/,
/^packages\/kbn-i18n/,
/^packages\/kbn-i18n-react/,
/^x-pack\/solutions\/security\/packages\/expandable-flyout/,
/^packages\/kbn-grouping/,
/^packages\/kbn-resizable-layout/,
/^packages\/kbn-rison/,
@@ -323,16 +322,16 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^src\/plugins\/unified_search/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant-common/,
/^x-pack\/packages\/security-solution/,
/^x-pack\/solutions\/security\/packages/,
/^x-pack\/plugins\/alerting/,
/^x-pack\/plugins\/cases/,
/^x-pack\/plugins\/data_views\/common/,
/^x-pack\/solutions\/security\/plugins\/elastic_assistant/,
/^x-pack\/plugins\/lists/,
/^x-pack\/plugins\/rule_registry\/common/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/solutions\/security\/solutions\/security\/plugins\/security_solution_ess/,
/^x-pack\/solutions\/security\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/plugins\/task_manager/,
/^x-pack\/solutions\/security\/plugins\/threat_intelligence/,
/^x-pack\/solutions\/security\/plugins\/timelines/,
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
*/

/**
* Adapted from x-pack/plugins/security_solution/public/detections/components/alerts_table/alerts_grouping.test.tsx
* Adapted from x-pack/solutions/security/plugins/security_solution/public/detections/components/alerts_table/alerts_grouping.test.tsx
*/
import React from 'react';
import { render, within, screen } from '@testing-library/react';
1 change: 1 addition & 0 deletions packages/kbn-babel-preset/styled_components_files.js
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ module.exports = {
/x-pack[\/\\]test[\/\\]plugin_functional[\/\\]plugins[\/\\]resolver_test[\/\\]/,
/x-pack[\/\\]packages[\/\\]elastic_assistant[\/\\]/,
/x-pack[\/\\]solutions[\/\\]security[\/\\]packages[\/\\]ecs_data_quality_dashboard[\/\\]/,
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\]security_solution[\/\\]/,
/x-pack[\/\\]platform[\/\\]packages[\/\\]shared[\/\\]kbn-elastic-assistant[\/\\]/,
],
};
6 changes: 3 additions & 3 deletions x-pack/plugins/fleet/package.json
Original file line number Diff line number Diff line change
@@ -5,14 +5,14 @@
"private": true,
"license": "Elastic License 2.0",
"scripts": {
"cypress_space_awareness": "NODE_OPTIONS=--openssl-legacy-provider node ../security_solution/scripts/start_cypress_parallel --config-file ../fleet/cypress.config.space_awareness.ts --ftr-config-file ../../../x-pack/test/fleet_cypress/cli_config.space_awareness",
"cypress_space_awareness": "NODE_OPTIONS=--openssl-legacy-provider node ../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel --config-file ../../plugins/fleet/cypress.config.space_awareness.ts --ftr-config-file ../../../x-pack/test/fleet_cypress/cli_config.space_awareness",
"cypress_space_awareness:open": "yarn cypress_space_awareness open",
"cypress_space_awareness:run": "yarn cypress_space_awareness run",
"cypress_space_awareness:run:reporter": "yarn cypress_space_awareness run --reporter ../../../node_modules/cypress-multi-reporters --reporter-options configFile=../fleet/cypress/reporter_config.json",
"cypress": "NODE_OPTIONS=--openssl-legacy-provider node ../security_solution/scripts/start_cypress_parallel --config-file ../fleet/cypress.config.ts --ftr-config-file ../../../x-pack/test/fleet_cypress/cli_config",
"cypress": "NODE_OPTIONS=--openssl-legacy-provider node ../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel --config-file ../../plugins/fleet/cypress.config.ts --ftr-config-file ../../../x-pack/test/fleet_cypress/cli_config",
"cypress:open": "yarn cypress open",
"cypress:run": "yarn cypress run",
"cypress:run:reporter": "yarn cypress run --reporter ../../../node_modules/cypress-multi-reporters --reporter-options configFile=../fleet/cypress/reporter_config.json",
"cypress:run:reporter": "yarn cypress run --reporter ../../../node_modules/cypress-multi-reporters --reporter-options configFile=cypress/reporter_config.json",
"junit:merge": "../../../node_modules/.bin/mochawesome-merge ../../../target/kibana-fleet/cypress/results/mochawesome*.json > ../../../target/kibana-fleet/cypress/results/output.json && ../../../node_modules/.bin/marge ../../../target/kibana-fleet/cypress/results/output.json --reportDir ../../../target/kibana-fleet/cypress/results && mkdir -p ../../../target/junit && cp ../../../target/kibana-fleet/cypress/results/*.xml ../../../target/junit/",
"openapi:build": "npx @redocly/openapi-cli bundle --ext yaml --output ./common/openapi/bundled.yaml ./common/openapi/entrypoint.yaml && npx @redocly/openapi-cli bundle --ext json --output ./common/openapi/bundled.json ./common/openapi/entrypoint.yaml",
"openapi:lint": "npx @redocly/cli lint ./common/openapi/bundled.yaml",
Original file line number Diff line number Diff line change
@@ -10,13 +10,13 @@
"cypress": "NODE_OPTIONS=--openssl-legacy-provider ../../../../../node_modules/.bin/cypress",
"cypress:burn": "yarn cypress:dw run --env burn=2 --headed",
"cypress:changed-specs-only": "yarn cypress:dw run --changed-specs-only --env burn=2",
"cypress:dw": "NODE_OPTIONS=--openssl-legacy-provider node ./scripts/start_cypress_parallel --config-file ./public/management/cypress/cypress.config.ts --ftr-config-file ../../../../test/defend_workflows_cypress/cli_config",
"cypress:dw": "NODE_OPTIONS=--openssl-legacy-provider node ./scripts/start_cypress_parallel --config-file plugins/security_solution/public/management/cypress/cypress.config.ts --ftr-config-file ../../../../test/defend_workflows_cypress/cli_config",
"cypress:dw:open": "yarn cypress:dw open",
"cypress:dw:run": "yarn cypress:dw run",
"cypress:dw:serverless": "NODE_OPTIONS=--openssl-legacy-provider node ./scripts/start_cypress_parallel --config-file ./public/management/cypress/cypress_serverless.config.ts --ftr-config-file ../../../../test/defend_workflows_cypress/serverless_config",
"cypress:dw:serverless": "NODE_OPTIONS=--openssl-legacy-provider node ./scripts/start_cypress_parallel --config-file plugins/security_solution/public/management/cypress/cypress_serverless.config.ts --ftr-config-file ../../../../test/defend_workflows_cypress/serverless_config",
"cypress:dw:serverless:open": "yarn cypress:dw:serverless open",
"cypress:dw:serverless:run": "yarn cypress:dw:serverless run",
"cypress:dw:qa:serverless": "NODE_OPTIONS=--openssl-legacy-provider node ./scripts/start_cypress_parallel_serverless --config-file ./public/management/cypress/cypress_serverless_qa.config.ts",
"cypress:dw:qa:serverless": "NODE_OPTIONS=--openssl-legacy-provider node ./scripts/start_cypress_parallel_serverless --config-file plugins/security_solution/public/management/cypress/cypress_serverless_qa.config.ts",
"cypress:dw:qa:serverless:run": "yarn cypress:dw:qa:serverless run",
"cypress:dw:serverless:changed-specs-only": "yarn cypress:dw:serverless run --changed-specs-only --env burn=2",
"cypress:dw:endpoint": "echo '\n** WARNING **: Run script `cypress:dw:endpoint` no longer valid! Use `cypress:dw` instead\n'",
@@ -36,4 +36,4 @@
"openapi:bundle:entity-analytics": "node scripts/openapi/bundle_entity_analytics",
"openapi:bundle:endpoint-management": "node scripts/openapi/bundle_endpoint_management"
}
}
}
Original file line number Diff line number Diff line change
@@ -19,57 +19,57 @@ export * from './utils';
export * from './errors';

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
export interface AppToast extends Toast {
// FunFact: In a very rare case of errors this can be something other than array. We have a unit test case for it and am leaving it like this type for now.
errors?: string[];
}

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
interface ToastState {
toasts: AppToast[];
}

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
const initialToasterState: ToastState = {
toasts: [],
};

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
export type ActionToaster =
| { type: 'addToaster'; toast: AppToast }
| { type: 'deleteToaster'; id: string }
| { type: 'toggleWaitToShowNextToast' };

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
export const StateToasterContext = createContext<[ToastState, Dispatch<ActionToaster>]>([
initialToasterState,
() => noop,
]);

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
export const useStateToaster = () => useContext(StateToasterContext);

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
interface ManageGlobalToasterProps {
children: React.ReactNode;
}

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
export const ManageGlobalToaster = ({ children }: ManageGlobalToasterProps) => {
const reducerToaster = (state: ToastState, action: ActionToaster) => {
@@ -91,7 +91,7 @@ export const ManageGlobalToaster = ({ children }: ManageGlobalToasterProps) => {
};

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
const GlobalToasterListContainer = styled.div`
position: absolute;
@@ -100,14 +100,14 @@ const GlobalToasterListContainer = styled.div`
`;

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
interface GlobalToasterProps {
toastLifeTimeMs?: number;
}

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
export const GlobalToaster = ({ toastLifeTimeMs = 5000 }: GlobalToasterProps) => {
const [{ toasts }, dispatch] = useStateToaster();
@@ -145,7 +145,7 @@ export const GlobalToaster = ({ toastLifeTimeMs = 5000 }: GlobalToasterProps) =>
};

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
const formatToErrorToastIfNeeded = (
toast: AppToast,
@@ -169,13 +169,13 @@ const formatToErrorToastIfNeeded = (
};

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
const ErrorToastContainer = styled.div`
text-align: right;
`;

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
ErrorToastContainer.displayName = 'ErrorToastContainer';
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ import type { AppToast } from '.';
import * as i18n from './translations';

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
interface FullErrorProps {
isShowing: boolean;
@@ -33,7 +33,7 @@ interface FullErrorProps {
}

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
const ModalAllErrorsComponent: React.FC<FullErrorProps> = ({ isShowing, toast, toggle }) => {
const handleClose = useCallback(() => toggle(toast), [toggle, toast]);
@@ -73,18 +73,18 @@ const ModalAllErrorsComponent: React.FC<FullErrorProps> = ({ isShowing, toast, t
};

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
export const ModalAllErrors = React.memo(ModalAllErrorsComponent);

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
const MyEuiCodeBlock = styled(EuiCodeBlock)`
margin-top: 4px;
`;

/**
* @deprecated Use x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
* @deprecated Use x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts instead
*/
MyEuiCodeBlock.displayName = 'MyEuiCodeBlock';
Original file line number Diff line number Diff line change
@@ -18,14 +18,8 @@ import { useKibana } from '../lib/kibana';
import { URL_PARAM_KEY } from './use_url_state';

/**
* Unfortunately the url change initiated when clicking the button to otherObjectPath doesn't seem to be
* respected by the useSetInitialStateFromUrl here: x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx
*
* FYI: It looks like the routing causes replaceStateInLocation to be called instead:
* x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts
*
* Potentially why the markdown component needs a click handler as well for timeline?
* see: /x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/processor.tsx
* see: x-pack/solutions/security/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/processor.tsx
*/
export const useResolveConflict = () => {
const { search, pathname } = useLocation();
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ export const AlertDetailsRedirect = () => {
const timestamp = searchParams.get('timestamp');
// Although we use the 'default' space here when an index isn't provided or accidentally deleted
// It's a safe catch all as we reset the '.internal.alerts-*` indices with the correct space in the flyout
// Here: x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/helpers.tsx
// Here: x-pack/solutions/security/plugins/security_solution/public/timelines/components/side_panel/event_details/helpers.tsx
const index = searchParams.get('index') ?? `.internal${DEFAULT_ALERTS_INDEX}-default`;

const getInputSelector = useMemo(() => inputsSelectors.inputsSelector(), []);
Original file line number Diff line number Diff line change
@@ -259,8 +259,8 @@ export const useExceptionsListCard = ({
]
);

// routes to x-pack/plugins/security_solution/public/exceptions/routes.tsx
// details component is here: x-pack/plugins/security_solution/public/exceptions/pages/list_detail_view/index.tsx
// routes to x-pack/solutions/security/plugins/security_solution/public/exceptions/routes.tsx
// details component is here: x-pack/solutions/security/plugins/security_solution/public/exceptions/pages/list_detail_view/index.tsx
const { onClick: goToExceptionDetail } = useGetSecuritySolutionLinkProps()({
deepLinkId: SecurityPageName.exceptions,
path: `/details/${exceptionsList.list_id}`,
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ import { startCase } from 'lodash';
import type { GetFieldsData } from './hooks/use_get_fields_data';

/**
* Helper function to retrieve a field's value (used in combination with the custom hook useGetFieldsData (https://github.com/elastic/kibana/blob/main/x-pack/plugins/security_solution/public/common/hooks/use_get_fields_data.ts)
* Helper function to retrieve a field's value (used in combination with the custom hook useGetFieldsData (x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/shared/hooks/use_get_fields_data.ts)
* @param field type unknown or unknown[]
* @param emptyValue optional parameter to return if field is incorrect
* @return the field's value, or null/emptyValue
Original file line number Diff line number Diff line change
@@ -1250,7 +1250,7 @@ describe('query tab with unified timeline', () => {
);
/*
* Above event is alert and not an event but `getEventType` in
*x-pack/plugins/security_solution/public/timelines/components/timeline/body/helpers.tsx
* x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/body/helpers.tsx
* returns it has event and not an alert even though, it has event.kind as signal.
* Need to see if it is okay
*
@@ -1313,7 +1313,7 @@ describe('query tab with unified timeline', () => {
);
/*
* Above event is alert and not an event but `getEventType` in
* x-pack/plugins/security_solution/public/timelines/components/timeline/body/helpers.tsx
* x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/body/helpers.tsx
* returns it has event and not an alert even though, it has event.kind as signal.
* Need to see if it is okay
*
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ ${JSON.stringify(argv, null, 2)}
`);

const isOpen = argv._.includes('open');
const cypressConfigFilePath = require.resolve(`../../${argv.configFile}`) as string;
const cypressConfigFilePath = require.resolve(`../../../../${argv.configFile}`) as string;
const cypressConfigFile = await import(cypressConfigFilePath);

if (cypressConfigFile.env?.TOOLING_LOG_LEVEL) {
Original file line number Diff line number Diff line change
@@ -346,7 +346,7 @@ ${JSON.stringify(argv, null, 2)}
`);

const isOpen = argv._.includes('open');
const cypressConfigFilePath = require.resolve(`../../${argv.configFile}`) as string;
const cypressConfigFilePath = require.resolve(`../../../../${argv.configFile}`) as string;
const cypressConfigFile = await import(cypressConfigFilePath);

// if KIBANA_MKI_QUALITY_GATE exists and has a value, we are running the tests against the Kibana QA quality gate.
Original file line number Diff line number Diff line change
@@ -25,8 +25,8 @@ export interface BlockListFlyoutProps {
/**
* Component calling the block list flyout (retrieved from the SecuritySolution plugin via context).
* This reuses a lot of components passed down via context from the Security Solution plugin:
* - the flyout component: https://github.com/elastic/kibana/blob/main/x-pack/plugins/security_solution/public/management/components/artifact_list_page/components/artifact_flyout.tsx
* - the form component: https://github.com/elastic/kibana/blob/main/x-pack/plugins/security_solution/public/management/pages/blocklist/view/components/blocklist_form.tsx
* - the flyout component: https://github.com/elastic/kibana/blob/main/x-pack/solutions/security/plugins/security_solution/public/management/components/artifact_list_page/components/artifact_flyout.tsx
* - the form component: https://github.com/elastic/kibana/blob/main/x-pack/solutions/security/plugins/security_solution/public/management/pages/blocklist/view/components/blocklist_form.tsx
*/
export const BlockListFlyout: VFC<BlockListFlyoutProps> = ({ indicatorFileHash }) => {
const { setBlockListIndicatorValue } = useBlockListContext();
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ export interface InvestigateInTimelineProps {
}

/**
* Investigate in timeline button, uses the InvestigateInTimelineAction component (x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/investigate_in_timeline_action.tsx)
* Investigate in timeline button, uses the InvestigateInTimelineAction component (x-pack/solutions/security/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/investigate_in_timeline_action.tsx)
* retrieved from the SecuritySolutionContext.
*
* This component renders an {@link EuiContextMenu}.
@@ -65,7 +65,7 @@ export const InvestigateInTimelineContextMenu: VFC<InvestigateInTimelineProps> =
};

/**
* Investigate in timeline button uses the InvestigateInTimelineAction component (x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/investigate_in_timeline_action.tsx)
* Investigate in timeline button uses the InvestigateInTimelineAction component (x-pack/solutions/security/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/investigate_in_timeline_action.tsx)
* retrieved from the SecuritySolutionContext.
*
* This component renders an {@link EuiButtonIcon}.
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ const LazyIndicatorsPageWrapper = React.lazy(() => import('./containers/indicato

/**
* This is used here:
* x-pack/plugins/security_solution/public/threat_intelligence/routes.tsx
* x-pack/solutions/security/plugins/security_solution/public/threat_intelligence/routes.tsx
*/
export const createApp =
(services: Services) =>
10 changes: 5 additions & 5 deletions x-pack/test/security_solution_cypress/package.json
Original file line number Diff line number Diff line change
@@ -10,18 +10,18 @@
"cypress:entity_analytics:run:ess": "yarn cypress:ess --spec './cypress/e2e/entity_analytics/**/*.cy.ts'",
"cypress:run:cases:ess": "yarn cypress:ess --spec './cypress/e2e/explore/cases/*.cy.ts'",
"cypress:ess": "TZ=UTC NODE_OPTIONS=--openssl-legacy-provider node ../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel run --config-file ../../test/security_solution_cypress/cypress/cypress_ci.config.ts --ftr-config-file ../../test/security_solution_cypress/cli_config",
"cypress:rule_management:run:ess":"yarn cypress:ess --spec './cypress/e2e/detection_response/rule_management/!(prebuilt_rules)/**/*.cy.ts'",
"cypress:rule_management:run:ess": "yarn cypress:ess --spec './cypress/e2e/detection_response/rule_management/!(prebuilt_rules)/**/*.cy.ts'",
"cypress:rule_management:prebuilt_rules:run:ess": "yarn cypress:ess --spec './cypress/e2e/detection_response/rule_management/prebuilt_rules/**/*.cy.ts'",
"cypress:detection_engine:run:ess":"yarn cypress:ess --spec './cypress/e2e/detection_response/detection_engine/!(exceptions)/**/*.cy.ts'",
"cypress:detection_engine:run:ess": "yarn cypress:ess --spec './cypress/e2e/detection_response/detection_engine/!(exceptions)/**/*.cy.ts'",
"cypress:detection_engine:exceptions:run:ess": "yarn cypress:ess --spec './cypress/e2e/detection_response/detection_engine/exceptions/**/*.cy.ts'",
"cypress:ai_assistant:run:ess":"yarn cypress:ess --spec './cypress/e2e/ai_assistant/**/*.cy.ts'",
"cypress:ai_assistant:run:ess": "yarn cypress:ess --spec './cypress/e2e/ai_assistant/**/*.cy.ts'",
"cypress:run:respops:ess": "yarn cypress:ess --spec './cypress/e2e/detection_response/**/*.cy.ts'",
"cypress:investigations:run:ess": "yarn cypress:ess --spec './cypress/e2e/investigations/**/*.cy.ts'",
"cypress:explore:run:ess": "yarn cypress:ess --spec './cypress/e2e/explore/**/*.cy.ts'",
"cypress:changed-specs-only:ess": "yarn cypress:ess --changed-specs-only --env burn=5",
"cypress:cloud_security_posture:run:ess": "yarn cypress:ess --spec './cypress/e2e/cloud_security_posture/**/*.cy.ts'",
"cypress:burn:ess": "yarn cypress:ess --env burn=5",
"junit:merge": "../../../node_modules/.bin/mochawesome-merge ../../../target/kibana-security-solution/cypress/results/mochawesome*.json > ../../../target/kibana-security-solution/cypress/results/output.json && ../../../node_modules/.bin/marge ../../../target/kibana-security-solution/cypress/results/output.json --reportDir ../../../target/kibana-security-solution/cypress/results && yarn junit:transform && mkdir -p ../../../target/junit && cp ../../../target/kibana-security-solution/cypress/results/*.xml ../../../target/junit/",
"junit:merge": "../../../node_modules/.bin/mochawesome-merge ../../../../../target/kibana-security-solution/cypress/results/mochawesome*.json > ../../../../../target/kibana-security-solution/cypress/results/output.json && ../../../node_modules/.bin/marge ../../../../../target/kibana-security-solution/cypress/results/output.json --reportDir ../../../../../target/kibana-security-solution/cypress/results && yarn junit:transform && mkdir -p ../../../../../target/junit && cp ../../../../../target/kibana-security-solution/cypress/results/*.xml ../../../../../target/junit/",
"junit:transform": "node ../../solutions/security/plugins/security_solution/scripts/junit_transformer --pathPattern '../../../target/kibana-security-solution/cypress/results/*.xml' --rootDirectory ../../../ --reportName 'Security Solution Cypress' --writeInPlace",
"cypress:serverless": "TZ=UTC NODE_OPTIONS=--openssl-legacy-provider node ../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel --config-file ../../test/security_solution_cypress/cypress/cypress_ci_serverless.config.ts --ftr-config-file ../../test/security_solution_cypress/serverless_config",
"cypress:cloud:serverless": "TZ=UTC NODE_OPTIONS=--openssl-legacy-provider NODE_TLS_REJECT_UNAUTHORIZED=0 ../../../node_modules/.bin/cypress",
@@ -51,4 +51,4 @@
"cypress:run:qa:serverless:ai_assistant": "yarn cypress:qa:serverless --spec './cypress/e2e/ai_assistant/**/*.cy.ts'",
"cypress:run:qa:serverless:cloud_security_posture": "yarn cypress:qa:serverless --spec './cypress/e2e/cloud_security_posture/**/*.cy.ts"
}
}
}

0 comments on commit 4360ace

Please sign in to comment.