From 49df29609e10429809f3710d6b8b1d5efbc833a7 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Thu, 26 Dec 2024 15:49:50 +0100 Subject: [PATCH] Sustainable Kibana Architecture: Move modules owned by `@elastic/response-ops` (#202836) ## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > * This PR has been auto-generated. > * Any manual contributions will be lost if the 'relocate' script is re-run. > * Try to obtain the missing reviews / approvals before applying manual fixes, and/or keep your changes in a .patch / git stash. > * Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe [here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E). #### 9 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/actions-plugin` | `x-pack/platform/plugins/shared/actions` | | `@kbn/alerting-plugin` | `x-pack/platform/plugins/shared/alerting` | | `@kbn/cases-plugin` | `x-pack/platform/plugins/shared/cases` | | `@kbn/event-log-plugin` | `x-pack/platform/plugins/shared/event_log` | | `@kbn/rule-registry-plugin` | `x-pack/platform/plugins/shared/rule_registry` | | `@kbn/stack-alerts-plugin` | `x-pack/platform/plugins/shared/stack_alerts` | | `@kbn/stack-connectors-plugin` | `x-pack/platform/plugins/shared/stack_connectors` | | `@kbn/task-manager-plugin` | `x-pack/platform/plugins/shared/task_manager` | | `@kbn/triggers-actions-ui-plugin` | `x-pack/platform/plugins/shared/triggers_actions_ui` | #### 12 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/actions-types` | `src/platform/packages/shared/kbn-actions-types` | | `@kbn/alerting-comparators` | `x-pack/platform/packages/shared/kbn-alerting-comparators` | | `@kbn/alerting-state-types` | `x-pack/platform/packages/private/kbn-alerting-state-types` | | `@kbn/alerting-types` | `src/platform/packages/shared/kbn-alerting-types` | | `@kbn/alerts-as-data-utils` | `src/platform/packages/shared/kbn-alerts-as-data-utils` | | `@kbn/alerts-grouping` | `x-pack/solutions/observability/packages/kbn-alerts-grouping` | | `@kbn/alerts-ui-shared` | `src/platform/packages/shared/kbn-alerts-ui-shared` | | `@kbn/cases-components` | `src/platform/packages/shared/kbn-cases-components` | | `@kbn/grouping` | `src/platform/packages/shared/kbn-grouping` | | `@kbn/response-ops-rule-params` | `src/platform/packages/private/response-ops/rule_params` | | `@kbn/rrule` | `src/platform/packages/shared/kbn-rrule` | | `@kbn/triggers-actions-ui-types` | `src/platform/packages/shared/kbn-triggers-actions-ui-types` |
Script errors ``` Cannot replace multiple occurrences of "../../.." in the same line, please fix manually: /Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/alerting/README.md:257 Cannot replace multiple occurrences of "../../.." in the same line, please fix manually: /Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/stack_connectors/README.md:411 ```
Updated relative paths ``` src/platform/packages/private/response-ops/rule_params/jest.config.js:12 src/platform/packages/private/response-ops/rule_params/tsconfig.json:2 src/platform/packages/private/response-ops/rule_params/tsconfig.type_check.json:2 src/platform/packages/private/response-ops/rule_params/tsconfig.type_check.json:20 src/platform/packages/shared/kbn-actions-types/jest.config.js:12 src/platform/packages/shared/kbn-actions-types/tsconfig.json:2 src/platform/packages/shared/kbn-actions-types/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-actions-types/tsconfig.type_check.json:22 src/platform/packages/shared/kbn-alerting-types/jest.config.js:12 src/platform/packages/shared/kbn-alerting-types/tsconfig.json:2 src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:25 src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:34 src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:40 src/platform/packages/shared/kbn-alerting-types/tsconfig.type_check.json:43 src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js:12 src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json:2 src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js:12 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json:2 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:121 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:28 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:49 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:52 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:61 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:64 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:73 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:79 src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.type_check.json:82 src/platform/packages/shared/kbn-cases-components/jest.config.js:12 src/platform/packages/shared/kbn-cases-components/tsconfig.json:2 src/platform/packages/shared/kbn-cases-components/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-grouping/jest.config.js:12 src/platform/packages/shared/kbn-grouping/tsconfig.json:2 src/platform/packages/shared/kbn-grouping/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-grouping/tsconfig.type_check.json:24 src/platform/packages/shared/kbn-grouping/tsconfig.type_check.json:36 src/platform/packages/shared/kbn-rrule/jest.config.js:12 src/platform/packages/shared/kbn-rrule/tsconfig.json:2 src/platform/packages/shared/kbn-rrule/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js:12 src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json:2 src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.type_check.json:2 x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js:10 x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json:2 x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.type_check.json:2 x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.type_check.json:20 x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js:10 x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json:2 x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/actions/docs/openapi/README.md:5 x-pack/platform/plugins/shared/actions/jest.config.js:10 x-pack/platform/plugins/shared/actions/jest.integration.config.js:10 x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts:35 x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts:34 x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts:24 x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js:46 x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md:358 x-pack/platform/plugins/shared/actions/tsconfig.json:2 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:100 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:103 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:106 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:112 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:115 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:118 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:121 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:124 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:19 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:46 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:49 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:52 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:55 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:58 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:61 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:64 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:67 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:70 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:73 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:76 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:79 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:82 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:85 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:88 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:91 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:94 x-pack/platform/plugins/shared/actions/tsconfig.type_check.json:97 x-pack/platform/plugins/shared/alerting/README.md:257 x-pack/platform/plugins/shared/alerting/README.md:274 x-pack/platform/plugins/shared/alerting/README.md:281 x-pack/platform/plugins/shared/alerting/jest.config.js:10 x-pack/platform/plugins/shared/alerting/jest.integration.config.js:10 x-pack/platform/plugins/shared/alerting/tsconfig.json:2 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:100 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:103 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:106 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:109 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:112 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:115 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:118 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:121 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:124 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:127 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:130 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:133 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:136 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:139 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:142 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:145 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:148 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:154 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:157 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:160 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:163 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:166 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:169 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:172 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:175 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:178 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:181 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:184 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:187 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:19 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:190 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:193 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:196 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:199 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:202 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:205 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:208 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:49 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:52 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:55 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:58 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:61 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:64 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:67 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:70 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:73 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:76 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:79 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:82 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:85 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:88 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:91 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:94 x-pack/platform/plugins/shared/alerting/tsconfig.type_check.json:97 x-pack/platform/plugins/shared/cases/jest.config.js:10 x-pack/platform/plugins/shared/cases/tsconfig.json:10 x-pack/platform/plugins/shared/cases/tsconfig.json:2 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:100 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:103 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:106 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:112 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:115 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:118 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:12 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:121 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:124 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:127 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:130 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:133 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:136 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:139 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:142 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:145 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:148 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:151 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:154 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:157 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:160 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:163 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:166 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:172 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:178 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:181 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:184 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:187 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:19 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:190 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:193 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:196 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:199 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:202 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:205 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:208 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:43 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:46 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:49 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:52 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:55 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:58 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:61 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:64 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:67 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:70 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:73 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:76 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:79 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:82 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:91 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:94 x-pack/platform/plugins/shared/cases/tsconfig.type_check.json:97 x-pack/platform/plugins/shared/event_log/README.md:330 x-pack/platform/plugins/shared/event_log/jest.config.js:10 x-pack/platform/plugins/shared/event_log/jest.integration.config.js:10 x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js:257 x-pack/platform/plugins/shared/event_log/server/es/context.test.ts:14 x-pack/platform/plugins/shared/event_log/server/es/names.test.ts:10 x-pack/platform/plugins/shared/event_log/tsconfig.json:2 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:20 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:26 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:29 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:32 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:35 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:38 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:41 x-pack/platform/plugins/shared/event_log/tsconfig.type_check.json:47 x-pack/platform/plugins/shared/rule_registry/jest.config.js:10 x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js:19 x-pack/platform/plugins/shared/rule_registry/tsconfig.json:12 x-pack/platform/plugins/shared/rule_registry/tsconfig.json:2 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:13 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:20 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:23 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:32 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:35 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:38 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:41 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:44 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:50 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:53 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:56 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:59 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:62 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:65 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:68 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:71 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:74 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:77 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:80 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:83 x-pack/platform/plugins/shared/rule_registry/tsconfig.type_check.json:86 x-pack/platform/plugins/shared/stack_alerts/jest.config.js:10 x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/README.md:125 x-pack/platform/plugins/shared/stack_alerts/tsconfig.json:2 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:100 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:103 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:106 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:109 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:112 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:115 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:118 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:121 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:124 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:127 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:130 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:133 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:136 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:139 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:142 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:148 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:151 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:154 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:19 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:31 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:34 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:40 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:43 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:46 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:49 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:52 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:55 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:58 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:61 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:64 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:67 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:70 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:73 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:76 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:79 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:82 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:85 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:88 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:91 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:94 x-pack/platform/plugins/shared/stack_alerts/tsconfig.type_check.json:97 x-pack/platform/plugins/shared/stack_connectors/README.md:411 x-pack/platform/plugins/shared/stack_connectors/README.md:417 x-pack/platform/plugins/shared/stack_connectors/jest.config.js:10 x-pack/platform/plugins/shared/stack_connectors/tsconfig.json:2 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:101 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:107 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:110 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:113 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:20 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:29 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:32 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:35 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:38 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:41 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:44 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:50 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:53 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:56 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:59 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:62 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:65 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:68 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:71 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:74 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:77 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:80 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:83 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:89 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:92 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:95 x-pack/platform/plugins/shared/stack_connectors/tsconfig.type_check.json:98 x-pack/platform/plugins/shared/task_manager/README.md:64 x-pack/platform/plugins/shared/task_manager/jest.config.js:10 x-pack/platform/plugins/shared/task_manager/jest.integration.config.js:10 x-pack/platform/plugins/shared/task_manager/tsconfig.json:2 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:18 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:21 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:24 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:27 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:30 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:33 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:36 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:39 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:42 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:45 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:48 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:51 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:54 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:57 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:60 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:63 x-pack/platform/plugins/shared/task_manager/tsconfig.type_check.json:69 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1229 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1283 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1332 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1404 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1418 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1419 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1534 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1548 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1618 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:1632 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:312 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:335 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:336 x-pack/platform/plugins/shared/triggers_actions_ui/README.md:393 x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js:10 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json:12 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json:2 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:102 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:105 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:108 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:111 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:114 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:117 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:120 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:123 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:126 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:129 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:132 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:135 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:138 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:14 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:144 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:147 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:153 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:156 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:159 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:162 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:165 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:171 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:174 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:177 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:180 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:183 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:186 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:189 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:192 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:195 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:198 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:2 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:21 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:33 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:36 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:39 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:42 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:45 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:48 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:51 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:57 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:60 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:63 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:66 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:72 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:75 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:78 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:81 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:87 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:90 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:93 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:96 x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.type_check.json:99 x-pack/solutions/observability/packages/kbn-alerts-grouping/jest.config.js:12 x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.json:2 x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.type_check.json:2 x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.type_check.json:39 ```
--------- Co-authored-by: pgayvallet Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../pipelines/pull_request/pipeline.ts | 44 +- .buildkite/scripts/steps/checks/event_log.sh | 4 +- .eslintrc.js | 18 +- .github/CODEOWNERS | 88 +- .github/codeql/codeql-config.yml | 4 +- .i18nrc.json | 10 +- docs/action-type-template.asciidoc | 4 +- docs/developer/plugin-list.asciidoc | 18 +- docs/redirects.asciidoc | 2 +- docs/settings/cases-settings.asciidoc | 2 +- oas_docs/overlays/alerting.overlays.yaml | 8 +- oas_docs/overlays/connectors.overlays.yaml | 224 +- oas_docs/scripts/merge_ess_oas.js | 4 +- package.json | 42 +- packages/kbn-alerts-grouping/index.ts | 16 - packages/kbn-alerts-grouping/src/constants.ts | 12 - packages/kbn-alerts-grouping/src/index.ts | 12 - packages/kbn-alerts-ui-shared/jest.config.js | 15 - packages/kbn-cases-components/jest.config.js | 15 - ...get_i18n_identifier_from_file_path.test.ts | 7 +- .../helpers/get_app_name.test.ts | 10 +- .../helpers/get_app_name.ts | 47 +- packages/kbn-grouping/jest.config.js | 27 - packages/kbn-grouping/setup_tests.ts | 11 - .../lib/babel_register_for_test_plugins.js | 2 +- .../jest.config.js | 14 - src/dev/precommit_hook/casing_check_config.js | 2 +- src/dev/storybook/aliases.ts | 6 +- .../response-ops/rule_params/README.md | 0 .../response-ops/rule_params/index.ts | 0 .../response-ops/rule_params/jest.config.js | 4 +- .../response-ops/rule_params/kibana.jsonc | 0 .../response-ops/rule_params}/latest.ts | 0 .../response-ops/rule_params/package.json | 0 .../response-ops/rule_params/tsconfig.json | 2 +- .../private}/response-ops/rule_params/v1.ts | 0 .../shared/deeplinks/security/deep_links.ts | 2 +- .../shared}/kbn-actions-types/README.md | 0 .../shared}/kbn-actions-types/action_types.ts | 0 .../shared}/kbn-actions-types/index.ts | 0 .../shared/kbn-actions-types}/jest.config.js | 4 +- .../shared}/kbn-actions-types/kibana.jsonc | 0 .../shared}/kbn-actions-types/package.json | 0 .../rewrite_request_case_types.ts | 0 .../shared}/kbn-actions-types/tsconfig.json | 2 +- .../shared}/kbn-alerting-types/README.md | 0 .../kbn-alerting-types/action_group_types.ts | 0 .../kbn-alerting-types/action_variable.ts | 0 .../kbn-alerting-types/alert_fields_type.ts | 0 .../shared}/kbn-alerting-types/alert_type.ts | 0 .../alerting_framework_health_types.ts | 0 .../builtin_action_groups_types.ts | 0 .../circuit_breaker_message_header.ts | 0 .../kbn-alerting-types/flapping}/latest.ts | 0 .../shared}/kbn-alerting-types/flapping/v1.ts | 0 .../shared}/kbn-alerting-types/index.ts | 0 .../shared}/kbn-alerting-types/jest.config.js | 4 +- .../shared}/kbn-alerting-types/kibana.jsonc | 0 .../shared}/kbn-alerting-types/package.json | 0 .../kbn-alerting-types/r_rule_types.ts | 0 .../rule_notify_when_type.ts | 0 .../kbn-alerting-types/rule_settings.ts | 0 .../kbn-alerting-types/rule_type_types.ts | 0 .../shared}/kbn-alerting-types/rule_types.ts | 0 .../search_strategy_types.ts | 0 .../shared}/kbn-alerting-types/tsconfig.json | 2 +- .../shared}/kbn-alerts-as-data-utils/index.ts | 0 .../kbn-alerts-as-data-utils}/jest.config.js | 4 +- .../kbn-alerts-as-data-utils/kibana.jsonc | 0 .../kbn-alerts-as-data-utils/package.json | 0 .../src/field_maps/alert_field_map.ts | 0 .../src/field_maps/ecs_field_map.ts | 0 .../src/field_maps/index.ts | 0 .../src/field_maps/legacy_alert_field_map.ts | 0 .../legacy_experimental_field_map.ts | 0 .../src/field_maps/types.ts | 0 .../schemas/create_schema_from_field_map.ts | 0 .../src/schemas/generated/alert_schema.ts | 0 .../src/schemas/generated/default_schema.ts | 0 .../src/schemas/generated/ecs_schema.ts | 0 .../schemas/generated/legacy_alert_schema.ts | 0 .../ml_anomaly_detection_health_schema.ts | 0 .../generated/ml_anomaly_detection_schema.ts | 0 .../generated/observability_apm_schema.ts | 0 .../generated/observability_logs_schema.ts | 0 .../generated/observability_metrics_schema.ts | 0 .../generated/observability_slo_schema.ts | 0 .../observability_threshold_schema.ts | 0 .../generated/observability_uptime_schema.ts | 0 .../src/schemas/generated/security_schema.ts | 0 .../src/schemas/generated/stack_schema.ts | 0 .../generated/transform_health_schema.ts | 0 .../src/schemas/index.ts | 0 .../src/schemas/lib/line_writer.ts | 0 .../src/search/index.ts | 0 .../security/build_fields_request.test.ts | 0 .../search/security/build_fields_request.ts | 0 .../src/search/security/fields.ts | 0 .../src/search/security/index.ts | 0 .../kbn-alerts-as-data-utils/tsconfig.json | 2 +- .../shared}/kbn-alerts-ui-shared/README.mdx | 0 .../shared}/kbn-alerts-ui-shared/index.ts | 0 .../kbn-alerts-ui-shared}/jest.config.js | 8 +- .../shared}/kbn-alerts-ui-shared/kibana.jsonc | 0 .../kbn-alerts-ui-shared/lib/README.md | 0 .../shared}/kbn-alerts-ui-shared/lib/index.ts | 0 .../shared}/kbn-alerts-ui-shared/package.json | 0 .../kbn-alerts-ui-shared}/setup_tests.ts | 0 .../src/action_variables/action_variables.ts | 0 .../get_available_action_variables.ts | 0 .../src/action_variables/index.ts | 0 .../src/action_variables/transforms.test.ts | 0 .../src/action_variables/transforms.ts | 0 .../add_message_variables.scss | 0 .../src/add_message_variables/index.test.tsx | 0 .../src/add_message_variables/index.tsx | 0 .../src/add_message_variables/translations.ts | 0 .../add_message_variables/truncated_text.tsx | 0 .../src/alert_fields_table/index.test.tsx | 0 .../src/alert_fields_table/index.tsx | 0 .../alert_filter_controls.test.tsx | 0 .../alert_filter_controls.tsx | 0 .../src/alert_filter_controls/buttons.tsx | 0 .../src/alert_filter_controls/constants.ts | 0 .../alert_filter_controls/context_menu.tsx | 0 .../filter_group.test.tsx | 0 .../alert_filter_controls/filter_group.tsx | 0 .../filter_group_context.tsx | 0 .../filters_changed_banner.tsx | 0 ...use_control_group_sync_to_local_storage.ts | 0 .../hooks/use_filters.ts | 0 .../use_filters_sync_to_local_storage.test.ts | 0 .../hooks/use_view_edit_mode.ts | 0 .../src/alert_filter_controls/index.scss | 0 .../src/alert_filter_controls/index.ts | 0 .../src/alert_filter_controls/loading.tsx | 0 .../mocks/control_group.ts | 0 .../mocks/control_group_renderer.tsx | 0 .../src/alert_filter_controls/mocks/data.ts | 0 .../src/alert_filter_controls/mocks/index.tsx | 0 .../src/alert_filter_controls/translations.ts | 0 .../src/alert_filter_controls/types.ts | 0 .../src/alert_filter_controls/utils.test.ts | 0 .../src/alert_filter_controls/utils.ts | 0 .../index.test.tsx | 0 .../alert_lifecycle_status_badge/index.tsx | 0 .../src/alerts_search_bar/constants.ts | 0 .../src/alerts_search_bar/index.test.tsx | 0 .../src/alerts_search_bar/index.tsx | 0 .../src/alerts_search_bar/translations.ts | 0 .../src/alerts_search_bar/types.ts | 0 .../check_action_type_enabled.scss | 0 .../check_action_type_enabled.test.ts | 0 .../check_action_type_enabled.ts | 0 .../get_license_check_result.tsx | 0 .../src/check_action_type_enabled/index.ts | 0 .../fetch_alerting_framework_health.test.ts | 0 .../fetch_alerting_framework_health.ts | 0 .../fetch_alerting_framework_health/index.ts | 0 ...ransform_alerting_framework_health.test.ts | 0 ...form_alerting_framework_health_response.ts | 0 .../fetch_alerts_fields.test.ts | 0 .../fetch_alerts_fields.ts | 0 .../common/apis/fetch_alerts_fields/index.ts | 0 .../common/apis/fetch_alerts_fields/types.ts | 0 .../fetch_alerts_index_names.test.ts | 0 .../fetch_alerts_index_names.ts | 0 .../apis/fetch_alerts_index_names/index.ts | 0 .../apis/fetch_alerts_index_names/types.ts | 0 .../fetch_connector_types.test.ts | 0 .../fetch_connector_types.ts | 0 .../apis/fetch_connector_types/index.ts | 0 ...transform_connector_types_response.test.ts | 0 .../transform_connector_types_response.ts | 0 .../fetch_connectors/fetch_connectors.test.ts | 0 .../apis/fetch_connectors/fetch_connectors.ts | 0 .../src/common/apis/fetch_connectors/index.ts | 0 .../transform_connectors_response.test.ts | 0 .../transform_connectors_response.ts | 0 .../fetch_flapping_settings.test.ts | 0 .../fetch_flapping_settings.ts | 0 .../apis/fetch_flapping_settings/index.ts | 0 ...ansform_flapping_settings_response.test.ts | 0 .../transform_flapping_settings_response.ts | 0 ...etch_rule_type_aad_template_fields.test.ts | 0 .../fetch_rule_type_aad_template_fields.ts | 0 .../index.ts | 0 .../src/common/apis/fetch_rule_types.ts | 0 .../fetch_ui_health_status.test.ts | 0 .../fetch_ui_health_status.ts | 0 .../apis/fetch_ui_health_status/index.ts | 0 .../apis/fetch_ui_health_status/types.ts | 0 .../src/common/apis/index.ts | 0 .../apis/search_alerts/search_alerts.test.tsx | 0 .../apis/search_alerts/search_alerts.ts | 0 .../src/common/constants/alerts.ts | 0 .../src/common/constants/i18n_weekdays.ts | 0 .../src/common/constants/index.ts | 0 .../src/common/constants/routes.ts | 0 .../src/common/constants/rule_flapping.ts | 0 .../common/contexts/alerts_query_context.ts | 0 .../src/common/hooks/index.ts | 0 .../hooks/use_alerts_data_view.test.tsx | 0 .../src/common/hooks/use_alerts_data_view.ts | 0 .../use_fetch_alerts_fields_query.test.tsx | 0 .../hooks/use_fetch_alerts_fields_query.ts | 0 ...se_fetch_alerts_index_names_query.test.tsx | 0 .../use_fetch_alerts_index_names_query.ts | 0 .../use_fetch_flapping_settings.test.tsx | 0 .../hooks/use_fetch_flapping_settings.ts | 0 .../hooks/use_find_alerts_query.test.tsx | 0 .../src/common/hooks/use_find_alerts_query.ts | 0 ...t_alerts_group_aggregations_query.test.tsx | 0 ...use_get_alerts_group_aggregations_query.ts | 0 .../common/hooks/use_health_check.test.tsx | 0 .../src/common/hooks/use_health_check.tsx | 0 .../use_load_alerting_framework_health.ts | 0 .../common/hooks/use_load_rule_types_query.ts | 0 .../src/common/hooks/use_load_ui_health.ts | 0 .../hooks/use_search_alerts_query.test.tsx | 0 .../common/hooks/use_search_alerts_query.ts | 0 .../use_virtual_data_view_query.test.tsx | 0 .../hooks/use_virtual_data_view_query.ts | 0 .../kbn-alerts-ui-shared/src/common/index.ts | 0 .../test_utils/action_type_registry.mock.ts | 0 .../test_utils/test_query_client_config.ts | 0 .../src/common/transformations/index.ts | 0 .../transformations/transform_action.ts | 0 .../src/common/type_registry.test.ts | 0 .../src/common/type_registry.ts | 0 .../src/common/types/action_types.ts | 0 .../src/common/types/alerts_types.ts | 0 .../src/common/types/index.ts | 0 .../src/common/types/rule_types.ts | 0 .../types/tanstack_query_utility_types.ts | 0 .../src/maintenance_window_callout/api.ts | 0 .../maintenance_window_callout/constants.ts | 0 .../maintenance_window_callout/index.test.tsx | 0 .../src/maintenance_window_callout/index.tsx | 0 .../src/maintenance_window_callout/mock.ts | 0 .../translations.ts | 0 .../src/maintenance_window_callout/types.ts | 0 .../use_fetch_active_maintenance_windows.ts | 0 .../src/rule_settings/index.ts | 0 .../rule_settings_flapping_form.tsx | 0 .../rule_settings_flapping_inputs.tsx | 0 .../rule_settings_flapping_message.tsx | 0 .../rule_settings_flapping_title_tooltip.tsx | 0 .../rule_settings_range_input.tsx | 0 .../kbn-alerts-ui-shared/tsconfig.json | 2 +- .../kbn-cases-components/.storybook/main.js | 0 .../shared}/kbn-cases-components/README.md | 0 .../shared}/kbn-cases-components/index.ts | 0 .../kbn-cases-components/jest.config.js | 17 + .../shared}/kbn-cases-components/kibana.jsonc | 0 .../shared}/kbn-cases-components/package.json | 0 .../kbn-cases-components}/setup_tests.ts | 0 .../src/__stories__/tooltip.stories.tsx | 0 .../kbn-cases-components/src/status/config.ts | 0 .../src/status/status.test.tsx | 0 .../src/status/status.tsx | 0 .../src/status/translations.ts | 0 .../kbn-cases-components/src/status/types.ts | 2 +- .../src/tooltip/icon_with_count.test.tsx | 0 .../src/tooltip/icon_with_count.tsx | 0 .../src/tooltip/skeleton.tsx | 0 .../src/tooltip/tooltip.test.tsx | 0 .../src/tooltip/tooltip.tsx | 0 .../src/tooltip/tooltip_content.tsx | 0 .../src/tooltip/translations.ts | 0 .../kbn-cases-components/src/tooltip/types.ts | 0 .../src/tooltip/utils.test.ts | 0 .../kbn-cases-components/src/tooltip/utils.ts | 0 .../kbn-cases-components/tsconfig.json | 2 +- .../shared}/kbn-grouping/.storybook/main.js | 0 .../packages/shared}/kbn-grouping/README.mdx | 0 .../packages/shared}/kbn-grouping/index.tsx | 0 .../shared/kbn-grouping/jest.config.js | 27 + .../shared}/kbn-grouping/kibana.jsonc | 0 .../shared}/kbn-grouping/package.json | 0 .../shared/kbn-grouping}/setup_tests.ts | 0 .../accordion_panel/group_stats.test.tsx | 0 .../accordion_panel/group_stats.tsx | 0 .../components/accordion_panel/index.test.tsx | 0 .../src/components/accordion_panel/index.tsx | 0 .../src/components/empty_results_panel.tsx | 0 .../group_selector/custom_field_panel.tsx | 0 .../components/group_selector/index.test.tsx | 0 .../src/components/group_selector/index.tsx | 0 .../src/components/grouping.mock.tsx | 0 .../src/components/grouping.stories.tsx | 0 .../src/components/grouping.test.tsx | 0 .../kbn-grouping/src/components/grouping.tsx | 0 .../kbn-grouping/src/components/index.tsx | 0 .../kbn-grouping/src/components/styles.tsx | 0 .../src/components/translations.ts | 0 .../kbn-grouping/src/components/types.ts | 0 .../kbn-grouping/src/containers/index.ts | 0 .../src/containers/query/helpers.test.ts | 0 .../src/containers/query/helpers.ts | 0 .../src/containers/query/index.test.ts | 0 .../src/containers/query/index.ts | 0 .../src/containers/query/types.ts | 0 .../shared}/kbn-grouping/src/helpers.ts | 0 .../kbn-grouping/src/hooks/state/actions.ts | 0 .../kbn-grouping/src/hooks/state/index.ts | 0 .../src/hooks/state/reducer.test.ts | 0 .../kbn-grouping/src/hooks/state/reducer.ts | 0 .../kbn-grouping/src/hooks/state/selectors.ts | 0 .../shared}/kbn-grouping/src/hooks/types.ts | 0 .../src/hooks/use_get_group_selector.test.tsx | 0 .../src/hooks/use_get_group_selector.tsx | 0 .../src/hooks/use_grouping.test.tsx | 0 .../kbn-grouping/src/hooks/use_grouping.tsx | 0 .../shared}/kbn-grouping/src/index.ts | 0 .../shared}/kbn-grouping/src/mocks.ts | 0 .../kbn-grouping/src/telemetry/const.ts | 0 .../shared}/kbn-grouping/tsconfig.json | 2 +- .../packages/shared}/kbn-rrule/README.md | 0 .../packages/shared}/kbn-rrule/index.ts | 0 .../packages/shared/kbn-rrule}/jest.config.js | 4 +- .../packages/shared}/kbn-rrule/kibana.jsonc | 0 .../packages/shared}/kbn-rrule/package.json | 0 .../packages/shared}/kbn-rrule/rrule.test.ts | 0 .../packages/shared}/kbn-rrule/rrule.ts | 0 .../packages/shared}/kbn-rrule/tsconfig.json | 2 +- .../kbn-triggers-actions-ui-types/README.md | 0 .../action_group_types.ts | 0 .../action_variable_types.ts | 0 .../kbn-triggers-actions-ui-types/index.ts | 0 .../jest.config.js | 14 + .../kibana.jsonc | 0 .../package.json | 0 .../rule_types.ts | 0 .../tsconfig.json | 2 +- tsconfig.base.json | 84 +- x-pack/.i18nrc.json | 16 +- .../feature_privilege_builder/cases.ts | 2 +- .../kbn-alerting-state-types/README.md | 0 .../kbn-alerting-state-types/index.ts | 0 .../kbn-alerting-state-types}/jest.config.js | 4 +- .../kbn-alerting-state-types/kibana.jsonc | 0 .../kbn-alerting-state-types/package.json | 0 .../src/alert_instance.ts | 0 .../src/lifecycle_state.ts | 0 .../src/rule_task_instance.ts | 0 .../src/task_state/index.ts | 0 .../src/task_state/lib/index.ts | 0 .../src/task_state/v1/index.ts | 0 .../src/task_state/v1/migration.test.ts | 0 .../src/task_state/v1/migration.ts | 0 .../src/task_state/v1/schema.ts | 0 .../kbn-alerting-state-types/tsconfig.json | 2 +- .../kbn-alerting-comparators/README.md | 0 .../shared}/kbn-alerting-comparators/index.ts | 0 .../kbn-alerting-comparators}/jest.config.js | 4 +- .../kbn-alerting-comparators/kibana.jsonc | 0 .../kbn-alerting-comparators/package.json | 0 .../src/comparators.ts | 0 .../kbn-alerting-comparators/tsconfig.json | 2 +- .../server/language_models/constants.ts | 2 +- .../private/monitoring/common/constants.ts | 4 +- .../plugins/shared}/actions/README.md | 4 +- .../common/alert_history_schema.test.ts | 0 .../actions/common/alert_history_schema.ts | 0 .../common/connector_feature_config.test.ts | 0 .../common/connector_feature_config.ts | 0 .../actions/common/execution_log_types.ts | 0 .../plugins/shared}/actions/common/index.ts | 1 - .../actions/common/mustache_template.test.ts | 0 .../actions/common/mustache_template.ts | 0 .../actions/common/rewrite_request_case.ts | 0 .../connector/apis/connector_types/index.ts | 0 .../apis/connector_types/schemas/latest.ts | 0 .../apis/connector_types/schemas/v1.ts | 0 .../apis/connector_types/types/latest.ts | 0 .../apis/connector_types/types/v1.ts | 0 .../routes/connector/apis/create/index.ts | 0 .../connector/apis/create/schemas/latest.ts | 0 .../connector/apis/create/schemas/v1.ts | 0 .../connector/apis/create/types/latest.ts | 0 .../routes/connector/apis/create/types/v1.ts | 0 .../routes/connector/apis/delete/index.ts | 0 .../connector/apis/delete/schemas/latest.ts | 0 .../connector/apis/delete/schemas/v1.ts | 0 .../connector/apis/delete/types/latest.ts | 0 .../routes/connector/apis/delete/types/v1.ts | 0 .../routes/connector/apis/execute/index.ts | 0 .../connector/apis/execute/schemas/latest.ts | 0 .../connector/apis/execute/schemas/v1.ts | 0 .../connector/apis/execute/types/latest.ts | 0 .../routes/connector/apis/execute/types/v1.ts | 0 .../common/routes/connector/apis/get/index.ts | 0 .../connector/apis/get/schemas/latest.ts | 0 .../routes/connector/apis/get/schemas/v1.ts | 0 .../routes/connector/apis/get/types/latest.ts | 0 .../routes/connector/apis/get/types/v1.ts | 0 .../routes/connector/apis/update/index.ts | 0 .../connector/apis/update/schemas/latest.ts | 0 .../connector/apis/update/schemas/v1.ts | 0 .../connector/apis/update/types/latest.ts | 0 .../routes/connector/apis/update/types/v1.ts | 0 .../common/routes/connector/response/index.ts | 0 .../connector/response/schemas/latest.ts | 0 .../routes/connector/response/schemas/v1.ts | 0 .../routes/connector/response/types/latest.ts | 0 .../routes/connector/response/types/v1.ts | 0 .../plugins/shared}/actions/common/types.ts | 0 .../common/validate_email_addresses.test.ts | 0 .../common/validate_email_addresses.ts | 0 .../common/validate_empty_strings.test.ts | 0 .../actions/common/validate_empty_strings.ts | 0 .../shared}/actions/docs/openapi/README.md | 2 +- .../schemas/action_response_properties.yaml | 0 .../openapi/components/schemas/auth_type.yaml | 0 .../components/schemas/bedrock_config.yaml | 0 .../components/schemas/bedrock_secrets.yaml | 0 .../docs/openapi/components/schemas/ca.yaml | 0 .../schemas/cases_webhook_config.yaml | 0 .../schemas/cases_webhook_secrets.yaml | 0 .../openapi/components/schemas/cert_type.yaml | 0 .../components/schemas/connector_types.yaml | 0 .../schemas/crowdstrike_config.yaml | 0 .../schemas/crowdstrike_secrets.yaml | 0 .../docs/openapi/components/schemas/crt.yaml | 0 .../components/schemas/d3security_config.yaml | 0 .../schemas/d3security_secrets.yaml | 0 .../components/schemas/email_config.yaml | 0 .../components/schemas/email_secrets.yaml | 0 .../openapi/components/schemas/features.yaml | 0 .../components/schemas/gemini_config.yaml | 0 .../components/schemas/gemini_secrets.yaml | 0 .../schemas/genai_azure_config.yaml | 0 .../schemas/genai_openai_config.yaml | 0 .../components/schemas/genai_secrets.yaml | 0 .../openapi/components/schemas/has_auth.yaml | 0 .../components/schemas/index_config.yaml | 0 .../components/schemas/inference_config.yaml | 0 .../components/schemas/inference_secrets.yaml | 0 .../components/schemas/is_deprecated.yaml | 0 .../schemas/is_missing_secrets.yaml | 0 .../components/schemas/is_preconfigured.yaml | 0 .../components/schemas/is_system_action.yaml | 0 .../components/schemas/jira_config.yaml | 0 .../components/schemas/jira_secrets.yaml | 0 .../docs/openapi/components/schemas/key.yaml | 0 .../schemas/mapping_properties_swimlane.yaml | 0 .../components/schemas/opsgenie_config.yaml | 0 .../components/schemas/opsgenie_secrets.yaml | 0 .../components/schemas/pagerduty_config.yaml | 0 .../components/schemas/pagerduty_secrets.yaml | 0 .../docs/openapi/components/schemas/pfx.yaml | 0 .../schemas/referenced_by_count.yaml | 0 .../components/schemas/resilient_config.yaml | 0 .../components/schemas/resilient_secrets.yaml | 0 .../run_acknowledge_resolve_pagerduty.yaml | 0 .../components/schemas/run_addevent.yaml | 0 .../components/schemas/run_closealert.yaml | 0 .../components/schemas/run_closeincident.yaml | 0 .../components/schemas/run_createalert.yaml | 0 .../components/schemas/run_documents.yaml | 0 .../schemas/run_fieldsbyissuetype.yaml | 0 .../components/schemas/run_getchoices.yaml | 0 .../components/schemas/run_getfields.yaml | 0 .../components/schemas/run_getincident.yaml | 0 .../openapi/components/schemas/run_issue.yaml | 0 .../components/schemas/run_issues.yaml | 0 .../components/schemas/run_issuetypes.yaml | 0 .../components/schemas/run_message_email.yaml | 0 .../schemas/run_message_serverlog.yaml | 0 .../components/schemas/run_message_slack.yaml | 0 .../components/schemas/run_postmessage.yaml | 0 .../components/schemas/run_pushtoservice.yaml | 0 .../schemas/run_trigger_pagerduty.yaml | 0 .../schemas/run_validchannelid.yaml | 0 .../schemas/sentinelone_config.yaml | 0 .../schemas/sentinelone_secrets.yaml | 0 .../components/schemas/servicenow_config.yaml | 0 .../schemas/servicenow_itom_config.yaml | 0 .../schemas/servicenow_secrets.yaml | 0 .../components/schemas/slack_api_config.yaml | 0 .../components/schemas/slack_api_secrets.yaml | 0 .../schemas/slack_webhook_secrets.yaml | 0 .../components/schemas/swimlane_config.yaml | 0 .../components/schemas/swimlane_secrets.yaml | 0 .../components/schemas/teams_secrets.yaml | 0 .../components/schemas/thehive_config.yaml | 0 .../components/schemas/thehive_secrets.yaml | 0 .../components/schemas/tines_config.yaml | 0 .../components/schemas/tines_secrets.yaml | 0 .../components/schemas/torq_config.yaml | 0 .../components/schemas/torq_secrets.yaml | 0 .../components/schemas/verification_mode.yaml | 0 .../components/schemas/webhook_config.yaml | 0 .../components/schemas/webhook_secrets.yaml | 0 .../components/schemas/xmatters_config.yaml | 0 .../components/schemas/xmatters_secrets.yaml | 0 .../plugins/shared/actions}/jest.config.js | 8 +- .../actions}/jest.integration.config.js | 4 +- .../plugins/shared}/actions/kibana.jsonc | 0 .../plugins/shared}/actions/public/index.ts | 0 .../shared}/actions/public/plugin.test.ts | 0 .../plugins/shared}/actions/public/plugin.ts | 0 .../server/action_type_registry.mock.ts | 0 .../server/action_type_registry.test.ts | 0 .../actions/server/action_type_registry.ts | 0 .../actions_client/actions_client.mock.ts | 0 .../actions_client/actions_client.test.ts | 0 .../server/actions_client/actions_client.ts | 0 .../actions_client_hooks.test.ts | 0 .../actions/server/actions_client/index.ts | 0 .../actions/server/actions_config.mock.ts | 0 .../actions/server/actions_config.test.ts | 0 .../shared}/actions/server/actions_config.ts | 0 .../lib/connector_from_save_object.ts | 0 .../server/application/connector/lib/index.ts | 0 .../lib/is_connector_deprecated.test.ts | 0 .../connector/lib/is_connector_deprecated.ts | 2 +- .../connector/methods/create/create.ts | 0 .../connector/methods/create/index.ts | 0 .../connector/methods/create/types/index.ts | 0 .../connector/methods/create/types/types.ts | 0 .../connector/methods/execute/execute.ts | 0 .../connector/methods/execute/index.ts | 0 .../connector/methods/execute/types/index.ts | 0 .../connector/methods/execute/types/types.ts | 0 .../application/connector/methods/get/get.ts | 0 .../connector/methods/get/index.ts | 0 .../connector/methods/get/types/index.ts | 0 .../connector/methods/get/types/params.ts | 0 .../connector/methods/get_all/get_all.test.ts | 0 .../connector/methods/get_all/get_all.ts | 0 .../connector/methods/get_all/index.ts | 0 .../connector/methods/get_all/types/index.ts | 0 .../connector/methods/get_all/types/params.ts | 0 .../connector/methods/list_types/index.ts | 0 .../methods/list_types/list_types.test.ts | 0 .../methods/list_types/list_types.ts | 0 .../methods/list_types/schemas/index.ts | 0 .../schemas/list_types_params_schema.ts | 0 .../methods/list_types/types/index.ts | 0 .../list_types/types/list_types_params.ts | 0 .../connector/methods/update/index.ts | 0 .../connector/methods/update/types/index.ts | 0 .../connector/methods/update/types/types.ts | 0 .../connector/methods/update/update.ts | 0 .../connector/schemas/connector_schema.ts | 0 .../schemas/connector_type_schema.ts | 0 .../application/connector/schemas/index.ts | 0 .../application/connector/types/connector.ts | 0 .../connector/types/connector_type.ts | 0 .../application/connector/types/index.ts | 0 .../actions_authorization.mock.ts | 0 .../actions_authorization.test.ts | 0 .../authorization/actions_authorization.ts | 0 .../shared}/actions/server/config.test.ts | 0 .../plugins/shared}/actions/server/config.ts | 0 .../actions/server/constants/event_log.ts | 0 .../actions/server/constants/plugin.ts | 2 +- .../actions/server/constants/saved_objects.ts | 0 .../server/create_execute_function.test.ts | 0 .../actions/server/create_execute_function.ts | 0 .../server/create_system_actions.test.ts | 0 .../actions/server/create_system_actions.ts | 0 .../create_unsecured_execute_function.test.ts | 0 .../create_unsecured_execute_function.ts | 0 .../server/data/connector/constants.ts | 0 .../data/connector/find_connectors_so.ts | 0 .../server/data/connector/get_connector_so.ts | 0 .../actions/server/data/connector/index.ts | 0 .../data/connector/search_connectors_so.ts | 0 .../types/find_connectors_so_result.ts | 0 .../types/get_connector_so_result.ts | 0 .../server/data/connector/types/index.ts | 0 .../server/data/connector/types/params.ts | 0 .../plugins/shared}/actions/server/feature.ts | 0 .../plugins/shared}/actions/server/index.ts | 0 .../connector_types.test.ts.snap | 0 .../axios_utils_connection.test.ts | 4 +- .../axios_utils_proxy.test.ts | 4 +- .../integration_tests/connector_types.test.ts | 0 .../server/integration_tests/lib/index.ts | 0 .../lib/setup_test_servers.ts | 0 .../mock_certs/unauthorized.crt | 0 .../mock_certs/unauthorized.key | 0 .../mock_certs/unauthorized_ca.crt | 0 .../mocks/connector_types.ts | 0 .../server/lib/action_execution_source.ts | 0 .../server/lib/action_executor.mock.ts | 0 .../server/lib/action_executor.test.ts | 0 .../actions/server/lib/action_executor.ts | 0 .../lib/action_task_params_utils.test.ts | 0 .../server/lib/action_task_params_utils.ts | 0 .../actions/server/lib/audit_events.test.ts | 0 .../actions/server/lib/audit_events.ts | 0 .../actions/server/lib/axios_utils.test.ts | 0 .../shared}/actions/server/lib/axios_utils.ts | 0 .../server/lib/bidirectional_connectors.ts | 0 .../server/lib/connector_token_client.mock.ts | 0 .../server/lib/connector_token_client.test.ts | 0 .../server/lib/connector_token_client.ts | 0 ...ate_action_event_log_record_object.test.ts | 0 .../create_action_event_log_record_object.ts | 0 .../server/lib/create_jwt_assertion.test.ts | 0 .../server/lib/create_jwt_assertion.ts | 0 .../server/lib/custom_host_settings.test.ts | 2 +- .../server/lib/custom_host_settings.ts | 0 .../lib/ensure_sufficient_license.test.ts | 2 +- .../server/lib/ensure_sufficient_license.ts | 0 .../lib/errors/action_execution_error.ts | 0 .../server/lib/errors/action_type_disabled.ts | 0 .../actions/server/lib/errors/index.ts | 0 ...configured_action_disabled_modification.ts | 0 .../actions/server/lib/errors/types.ts | 0 .../server/lib/event_based_telemetry.ts | 0 .../server/lib/gen_ai_token_tracking.test.ts | 0 .../server/lib/gen_ai_token_tracking.ts | 0 .../lib/get_action_type_feature_usage_name.ts | 0 .../server/lib/get_basic_auth_header.test.ts | 0 .../server/lib/get_basic_auth_header.ts | 0 .../server/lib/get_custom_agents.test.ts | 0 .../actions/server/lib/get_custom_agents.ts | 0 .../lib/get_execution_log_aggregation.test.ts | 0 .../lib/get_execution_log_aggregation.ts | 0 .../lib/get_gcp_oauth_access_token.test.ts | 0 .../server/lib/get_gcp_oauth_access_token.ts | 0 .../server/lib/get_node_ssl_options.test.ts | 0 .../server/lib/get_node_ssl_options.ts | 0 ...th_client_credentials_access_token.test.ts | 0 ...t_oauth_client_credentials_access_token.ts | 0 .../lib/get_oauth_jwt_access_token.test.ts | 0 .../server/lib/get_oauth_jwt_access_token.ts | 0 .../get_system_action_kibana_privileges.ts | 0 .../get_token_count_from_bedrock_converse.ts | 0 ...et_token_count_from_bedrock_invoke.test.ts | 0 .../get_token_count_from_bedrock_invoke.ts | 0 ...n_count_from_invoke_async_iterator.test.ts | 0 ..._token_count_from_invoke_async_iterator.ts | 0 ...get_token_count_from_invoke_stream.test.ts | 0 .../lib/get_token_count_from_invoke_stream.ts | 0 ...get_token_count_from_openai_stream.test.ts | 0 .../lib/get_token_count_from_openai_stream.ts | 0 .../has_reached_queued_action_limit.test.ts | 0 .../lib/has_reached_queued_actions_limit.ts | 0 .../shared}/actions/server/lib/index.ts | 0 .../actions/server/lib/is_preconfigured.ts | 0 .../actions/server/lib/is_system_action.ts | 0 .../actions/server/lib/license_state.mock.ts | 0 .../actions/server/lib/license_state.test.ts | 0 .../actions/server/lib/license_state.ts | 0 .../server/lib/mustache_lambdas.test.ts | 0 .../actions/server/lib/mustache_lambdas.ts | 0 .../server/lib/mustache_renderer.test.ts | 0 .../actions/server/lib/mustache_renderer.ts | 2 +- .../server/lib/number_formatter.test.ts | 0 .../actions/server/lib/number_formatter.ts | 0 .../actions/server/lib/parse_date.test.ts | 0 .../shared}/actions/server/lib/parse_date.ts | 0 .../server/lib/related_saved_objects.test.ts | 0 .../server/lib/related_saved_objects.ts | 0 ...est_oauth_client_credentials_token.test.ts | 0 .../request_oauth_client_credentials_token.ts | 0 .../lib/request_oauth_jwt_token.test.ts | 0 .../server/lib/request_oauth_jwt_token.ts | 0 .../server/lib/request_oauth_token.test.ts | 0 .../actions/server/lib/request_oauth_token.ts | 0 .../server/lib/retry_if_conflicts.test.ts | 0 .../actions/server/lib/retry_if_conflicts.ts | 0 .../server/lib/space_id_to_namespace.ts | 0 .../server/lib/task_runner_factory.test.ts | 0 .../actions/server/lib/task_runner_factory.ts | 0 .../lib/track_legacy_route_usage.test.ts | 0 .../server/lib/track_legacy_route_usage.ts | 0 .../shared}/actions/server/lib/try_catch.ts | 0 .../server/lib/validate_with_schema.test.ts | 0 .../server/lib/validate_with_schema.ts | 0 .../actions/server/lib/verify_api_access.ts | 0 .../server/manual_tests/forward_proxy.js | 4 +- .../plugins/shared}/actions/server/mocks.ts | 0 .../monitoring/in_memory_metrics.mock.ts | 0 .../monitoring/in_memory_metrics.test.ts | 0 .../server/monitoring/in_memory_metrics.ts | 0 .../actions/server/monitoring/index.ts | 0 .../register_cluster_collector.test.ts | 0 .../monitoring/register_cluster_collector.ts | 0 .../register_node_collector.test.ts | 0 .../monitoring/register_node_collector.ts | 0 .../actions/server/monitoring/types.ts | 0 .../shared}/actions/server/plugin.test.ts | 35 +- .../plugins/shared}/actions/server/plugin.ts | 0 .../alert_history_es_index.ts | 0 ...reate_alert_history_index_template.test.ts | 0 .../create_alert_history_index_template.ts | 0 .../alert_history_es_index/mappings.json | 0 .../server/routes/_mock_handler_arguments.ts | 0 .../connector/common_transforms/index.ts | 0 .../transform_connector_response/latest.ts | 0 .../transform_connector_response/v1.ts | 0 .../routes/connector/create/create.test.ts | 0 .../server/routes/connector/create/create.ts | 0 .../server/routes/connector/create/index.ts | 0 .../connector/create/transforms/index.ts | 0 .../transform_connector_body/latest.ts | 0 .../transforms/transform_connector_body/v1.ts | 0 .../routes/connector/delete/delete.test.ts | 0 .../server/routes/connector/delete/delete.ts | 0 .../server/routes/connector/delete/index.ts | 0 .../routes/connector/execute/execute.test.ts | 0 .../routes/connector/execute/execute.ts | 0 .../server/routes/connector/execute/index.ts | 0 .../connector/execute/transforms/index.ts | 0 .../transform_connector_response/latest.ts | 0 .../transform_connector_response/v1.ts | 0 .../server/routes/connector/get/get.test.ts | 0 .../server/routes/connector/get/get.ts | 0 .../server/routes/connector/get/index.ts | 0 .../routes/connector/get_all/get_all.test.ts | 0 .../routes/connector/get_all/get_all.ts | 0 .../server/routes/connector/get_all/index.ts | 0 .../connector/get_all/transforms/index.ts | 0 .../transform_connectors_response/latest.ts | 0 .../transform_connectors_response/v1.ts | 0 .../get_all_system/get_all_system.test.ts | 0 .../get_all_system/get_all_system.ts | 0 .../routes/connector/get_all_system/index.ts | 0 .../routes/connector/list_types/index.ts | 0 .../connector/list_types/list_types.test.ts | 0 .../routes/connector/list_types/list_types.ts | 0 .../connector/list_types/transforms/index.ts | 0 .../transform_list_types_response/latest.ts | 0 .../transform_list_types_response/v1.ts | 0 .../connector/list_types_system/index.ts | 0 .../list_types_system.test.ts | 0 .../list_types_system/list_types_system.ts | 0 .../server/routes/connector/update/index.ts | 0 .../connector/update/transforms/index.ts | 0 .../latest.ts | 0 .../transform_update_connector_response/v1.ts | 0 .../routes/connector/update/update.test.ts | 0 .../server/routes/connector/update/update.ts | 0 .../actions/server/routes/constants.ts | 0 .../routes/get_global_execution_kpi.test.ts | 0 .../server/routes/get_global_execution_kpi.ts | 0 .../routes/get_global_execution_logs.test.ts | 0 .../routes/get_global_execution_logs.ts | 0 .../routes/get_oauth_access_token.test.ts | 0 .../server/routes/get_oauth_access_token.ts | 0 .../shared}/actions/server/routes/index.ts | 0 .../server/routes/rewrite_namespaces.ts | 0 .../routes/verify_access_and_context.test.ts | 0 .../routes/verify_access_and_context.ts | 0 .../action_task_params_migrations.test.ts | 0 .../action_task_params_migrations.ts | 0 .../saved_objects/actions_migrations.test.ts | 0 .../saved_objects/actions_migrations.ts | 0 .../saved_objects/get_import_warnings.test.ts | 0 .../saved_objects/get_import_warnings.ts | 0 .../actions/server/saved_objects/index.ts | 0 .../actions/server/saved_objects/mappings.ts | 0 .../action_task_params_model_versions.ts | 0 .../connector_model_versions.ts | 0 .../connector_token_model_versions.ts | 0 .../saved_objects/model_versions/index.ts | 0 .../schemas/action_task_params/index.ts | 0 .../schemas/action_task_params/v1.ts | 0 .../schemas/raw_connector/index.ts | 0 .../schemas/raw_connector/v1.test.ts | 0 .../saved_objects/schemas/raw_connector/v1.ts | 0 .../schemas/raw_connector_token/index.ts | 0 .../schemas/raw_connector_token/v1.ts | 0 .../transform_connectors_for_export.test.ts | 0 .../transform_connectors_for_export.ts | 0 .../server/sub_action_framework/README.md | 2 +- .../server/sub_action_framework/case.test.ts | 0 .../server/sub_action_framework/case.ts | 0 .../sub_action_framework/executor.test.ts | 0 .../server/sub_action_framework/executor.ts | 0 .../sub_action_framework/helpers/index.ts | 0 .../helpers/validators.test.ts | 0 .../helpers/validators.ts | 0 .../server/sub_action_framework/index.ts | 0 .../server/sub_action_framework/mocks.ts | 0 .../sub_action_framework/register.test.ts | 0 .../server/sub_action_framework/register.ts | 0 .../sub_action_connector.test.ts | 0 .../sub_action_connector.ts | 0 .../sub_action_framework/translations.ts | 0 .../server/sub_action_framework/types.ts | 0 .../sub_action_framework/validators.test.ts | 0 .../server/sub_action_framework/validators.ts | 2 +- .../plugins/shared}/actions/server/types.ts | 2 +- .../unsecured_actions_client.mock.ts | 0 .../unsecured_actions_client.test.ts | 0 .../unsecured_actions_client.ts | 0 .../server/usage/actions_telemetry.test.ts | 0 .../actions/server/usage/actions_telemetry.ts | 0 .../usage/actions_usage_collector.test.ts | 0 .../server/usage/actions_usage_collector.ts | 0 .../usage/connector_usage_collector.test.ts | 0 .../server/usage/connector_usage_collector.ts | 0 .../connector_usage_reporting_task.test.ts | 0 .../usage/connector_usage_reporting_task.ts | 0 .../shared}/actions/server/usage/index.ts | 0 .../usage/lib/actions_telemetry_util.test.ts | 0 .../usage/lib/actions_telemetry_util.ts | 0 .../lib/parse_connector_type_bucket.test.ts | 0 .../usage/lib/parse_connector_type_bucket.ts | 0 .../shared}/actions/server/usage/task.ts | 0 .../actions/server/usage/task_state.test.ts | 0 .../actions/server/usage/task_state.ts | 0 .../shared}/actions/server/usage/types.ts | 0 .../plugins/shared}/actions/tsconfig.json | 2 +- .../plugins/shared}/alerting/README.md | 6 +- .../alerting/common/action_ref_prefix.ts | 0 .../context_to_schema_name.test.ts | 0 .../alert_schema/context_to_schema_name.ts | 0 .../component_template_from_field_map.test.ts | 0 .../component_template_from_field_map.ts | 0 .../field_maps/mapping_from_field_map.test.ts | 0 .../field_maps/mapping_from_field_map.ts | 0 .../alerting/common/alert_schema/index.ts | 0 .../shared}/alerting/common/alert_summary.ts | 0 .../alerting/common/builtin_action_groups.ts | 0 .../shared}/alerting/common/bulk_edit.ts | 0 .../common/constants/ad_hoc_run_status.ts | 0 .../alerting/common/constants/backfill.ts | 0 .../alerting/common/constants/index.ts | 0 .../alerting/common/constants/plugin.ts | 2 +- .../common/disabled_action_groups.test.ts | 0 .../alerting/common/disabled_action_groups.ts | 0 .../alerting/common/execution_log_types.ts | 0 .../plugins/shared}/alerting/common/index.ts | 2 +- .../shared}/alerting/common/iso_weekdays.ts | 0 .../shared}/alerting/common/lib/index.ts | 0 .../lib/validate_backfill_schedule.test.ts | 0 .../common/lib/validate_backfill_schedule.ts | 0 .../alerting/common/maintenance_window.ts | 0 ...nance_window_scoped_query_error_message.ts | 0 .../alerting/common/parse_duration.test.ts | 0 .../shared}/alerting/common/parse_duration.ts | 0 .../routes/alerts_filter_query/index.ts | 0 .../alerts_filter_query/schemas/latest.ts | 0 .../routes/alerts_filter_query/schemas/v1.ts | 0 .../routes/backfill/apis/delete/index.ts | 0 .../backfill/apis/delete/schemas/latest.ts | 0 .../routes/backfill/apis/delete/schemas/v1.ts | 0 .../backfill/apis/delete/types/latest.ts | 0 .../routes/backfill/apis/delete/types/v1.ts | 0 .../common/routes/backfill/apis/find/index.ts | 0 .../backfill/apis/find/schemas/latest.ts | 0 .../routes/backfill/apis/find/schemas/v1.ts | 0 .../routes/backfill/apis/find/types/latest.ts | 0 .../routes/backfill/apis/find/types/v1.ts | 0 .../common/routes/backfill/apis/get/index.ts | 0 .../backfill/apis/get/schemas/latest.ts | 0 .../routes/backfill/apis/get/schemas/v1.ts | 0 .../routes/backfill/apis/get/types/latest.ts | 0 .../routes/backfill/apis/get/types/v1.ts | 0 .../routes/backfill/apis/schedule/index.ts | 0 .../backfill/apis/schedule/schemas/latest.ts | 0 .../backfill/apis/schedule/schemas/v1.ts | 0 .../backfill/apis/schedule/types/latest.ts | 0 .../routes/backfill/apis/schedule/types/v1.ts | 0 .../common/routes/backfill/response/index.ts | 0 .../backfill/response/schemas/latest.ts | 0 .../routes/backfill/response/schemas/v1.ts | 0 .../routes/backfill/response/types/latest.ts | 0 .../routes/backfill/response/types/v1.ts | 0 .../routes/framework/apis/health/index.ts | 0 .../framework/apis/health/schemas/latest.ts | 0 .../framework/apis/health/schemas/v1.ts | 0 .../framework/apis/health/types/latest.ts | 0 .../routes/framework/apis/health/types/v1.ts | 0 .../maintenance_window/apis/archive/index.ts | 0 .../apis/archive/schemas/latest.ts | 0 .../apis/archive/schemas/v1.ts | 0 .../apis/archive/types/latest.ts | 0 .../apis/archive/types/v1.ts | 0 .../maintenance_window/apis/bulk_get/index.ts | 0 .../apis/bulk_get/schemas/latest.ts | 0 .../apis/bulk_get/schemas/v1.ts | 0 .../apis/bulk_get/types/latest.ts | 0 .../apis/bulk_get/types/v1.ts | 0 .../maintenance_window/apis/create/index.ts | 0 .../apis/create/schemas/latest.ts | 0 .../apis/create/schemas/v1.ts | 0 .../apis/create/types/latest.ts | 0 .../apis/create/types/v1.ts | 0 .../maintenance_window/apis/delete/index.ts | 0 .../apis/delete/schemas/latest.ts | 0 .../apis/delete/schemas/v1.ts | 0 .../apis/delete/types/latest.ts | 0 .../apis/delete/types/v1.ts | 0 .../maintenance_window/apis/find/index.ts | 0 .../apis/find/schemas/latest.ts | 0 .../apis/find/schemas/v1.ts | 0 .../apis/find/types/latest.ts | 0 .../maintenance_window/apis/find/types/v1.ts | 0 .../maintenance_window/apis/finish/index.ts | 0 .../apis/finish/schemas/latest.ts | 0 .../apis/finish/schemas/v1.ts | 0 .../apis/finish/types/latest.ts | 0 .../apis/finish/types/v1.ts | 0 .../maintenance_window/apis/get/index.ts | 0 .../apis/get/schemas/latest.ts | 0 .../maintenance_window/apis/get/schemas/v1.ts | 0 .../apis/get/types/latest.ts | 0 .../maintenance_window/apis/get/types/v1.ts | 0 .../apis/get_active/index.ts | 0 .../apis/get_active/types/latest.ts | 0 .../apis/get_active/types/v1.ts | 0 .../maintenance_window/apis/update/index.ts | 0 .../apis/update/schemas/latest.ts | 0 .../apis/update/schemas/v1.ts | 0 .../apis/update/types/latest.ts | 0 .../apis/update/types/v1.ts | 0 .../response/constants/latest.ts | 0 .../response/constants/v1.ts | 0 .../maintenance_window/response/index.ts | 0 .../response/schemas/latest.ts | 0 .../maintenance_window/response/schemas/v1.ts | 0 .../response/types/latest.ts | 0 .../maintenance_window/response/types/v1.ts | 0 .../shared/constants/latest.ts | 0 .../maintenance_window/shared/constants/v1.ts | 0 .../routes/maintenance_window/shared/index.ts | 0 .../shared/schemas/latest.ts | 0 .../maintenance_window/shared/schemas/v1.ts | 0 .../maintenance_window/shared/types/latest.ts | 0 .../maintenance_window/shared/types/v1.ts | 0 .../alerting/common/routes/r_rule/index.ts | 0 .../routes/r_rule/request/schemas/latest.ts | 0 .../routes/r_rule/request/schemas/v1.ts | 0 .../routes/r_rule/request/types/latest.ts | 0 .../common/routes/r_rule/request/types/v1.ts | 0 .../routes/r_rule/response/schemas/latest.ts | 0 .../routes/r_rule/response/schemas/v1.ts | 0 .../routes/r_rule/response/types/latest.ts | 0 .../common/routes/r_rule/response/types/v1.ts | 0 .../common/routes/r_rule/validation/index.ts | 0 .../validation/validate_end_date/latest.ts | 0 .../r_rule/validation/validate_end_date/v1.ts | 0 .../validate_recurrence_by/latest.ts | 0 .../validation/validate_recurrence_by/v1.ts | 0 .../validation/validate_start_date/latest.ts | 0 .../validation/validate_start_date/v1.ts | 0 .../routes/rule/apis/aggregate/index.ts | 0 .../rule/apis/aggregate/schemas/latest.ts | 0 .../routes/rule/apis/aggregate/schemas/v1.ts | 0 .../rule/apis/aggregate/types/latest.ts | 0 .../routes/rule/apis/aggregate/types/v1.ts | 0 .../routes/rule/apis/bulk_delete/index.ts | 0 .../rule/apis/bulk_delete/schemas/latest.ts | 0 .../rule/apis/bulk_delete/schemas/v1.ts | 0 .../rule/apis/bulk_delete/types/latest.ts | 0 .../routes/rule/apis/bulk_delete/types/v1.ts | 0 .../apis/bulk_delete/validation/latest.ts | 0 .../rule/apis/bulk_delete/validation/v1.ts | 0 .../routes/rule/apis/bulk_disable/index.ts | 0 .../rule/apis/bulk_disable/schemas/latest.ts | 0 .../rule/apis/bulk_disable/schemas/v1.ts | 0 .../rule/apis/bulk_disable/types/latest.ts | 0 .../routes/rule/apis/bulk_disable/types/v1.ts | 0 .../apis/bulk_disable/validation/latest.ts | 0 .../rule/apis/bulk_disable/validation/v1.ts | 0 .../routes/rule/apis/bulk_edit/index.ts | 0 .../rule/apis/bulk_edit/schemas/latest.ts | 0 .../routes/rule/apis/bulk_edit/schemas/v1.ts | 0 .../rule/apis/bulk_edit/types/latest.ts | 0 .../routes/rule/apis/bulk_edit/types/v1.ts | 0 .../routes/rule/apis/bulk_enable/index.ts | 0 .../rule/apis/bulk_enable/schemas/latest.ts | 0 .../rule/apis/bulk_enable/schemas/v1.ts | 0 .../rule/apis/bulk_enable/types/latest.ts | 0 .../routes/rule/apis/bulk_enable/types/v1.ts | 0 .../routes/rule/apis/bulk_untrack/index.ts | 0 .../rule/apis/bulk_untrack/schemas/latest.ts | 0 .../rule/apis/bulk_untrack/schemas/v1.ts | 0 .../rule/apis/bulk_untrack/types/latest.ts | 0 .../routes/rule/apis/bulk_untrack/types/v1.ts | 0 .../rule/apis/bulk_untrack_by_query/index.ts | 0 .../bulk_untrack_by_query/schemas/latest.ts | 0 .../apis/bulk_untrack_by_query/schemas/v1.ts | 0 .../bulk_untrack_by_query/types/latest.ts | 0 .../apis/bulk_untrack_by_query/types/v1.ts | 0 .../common/routes/rule/apis/clone/index.ts | 0 .../routes/rule/apis/clone/schemas/latest.ts | 0 .../routes/rule/apis/clone/schemas/v1.ts | 0 .../routes/rule/apis/clone/types/latest.ts | 0 .../common/routes/rule/apis/clone/types/v1.ts | 0 .../common/routes/rule/apis/create/index.ts | 0 .../routes/rule/apis/create/schemas/latest.ts | 0 .../routes/rule/apis/create/schemas/v1.ts | 0 .../routes/rule/apis/create/types/latest.ts | 0 .../routes/rule/apis/create/types/v1.ts | 0 .../common/routes/rule/apis/delete/index.ts | 0 .../routes/rule/apis/delete/schemas/latest.ts | 0 .../routes/rule/apis/delete/schemas/v1.ts | 0 .../routes/rule/apis/delete/types/latest.ts | 0 .../routes/rule/apis/delete/types/v1.ts | 0 .../common/routes/rule/apis/disable/index.ts | 0 .../rule/apis/disable/schemas/latest.ts | 0 .../routes/rule/apis/disable/schemas/v1.ts | 0 .../routes/rule/apis/disable/types/latest.ts | 0 .../routes/rule/apis/disable/types/v1.ts | 0 .../common/routes/rule/apis/enable/index.ts | 0 .../routes/rule/apis/enable/schemas/latest.ts | 0 .../routes/rule/apis/enable/schemas/v1.ts | 0 .../routes/rule/apis/enable/types/latest.ts | 0 .../routes/rule/apis/enable/types/v1.ts | 0 .../common/routes/rule/apis/find/index.ts | 0 .../routes/rule/apis/find/schemas/latest.ts | 0 .../routes/rule/apis/find/schemas/v1.ts | 0 .../routes/rule/apis/find/types/latest.ts | 0 .../common/routes/rule/apis/find/types/v1.ts | 0 .../common/routes/rule/apis/get/index.ts | 0 .../routes/rule/apis/get/schemas/latest.ts | 0 .../common/routes/rule/apis/get/schemas/v1.ts | 0 .../routes/rule/apis/get/types/latest.ts | 0 .../common/routes/rule/apis/get/types/v1.ts | 0 .../rule/apis/get_schedule_frequency/index.ts | 0 .../get_schedule_frequency/schemas/latest.ts | 0 .../apis/get_schedule_frequency/schemas/v1.ts | 0 .../get_schedule_frequency/types/latest.ts | 0 .../apis/get_schedule_frequency/types/v1.ts | 0 .../routes/rule/apis/list_types/index.ts | 0 .../rule/apis/list_types/schemas/latest.ts | 0 .../routes/rule/apis/list_types/schemas/v1.ts | 0 .../rule/apis/list_types/types/latest.ts | 0 .../routes/rule/apis/list_types/types/v1.ts | 0 .../routes/rule/apis/mute_alert/index.ts | 0 .../rule/apis/mute_alert/schemas/latest.ts | 0 .../routes/rule/apis/mute_alert/schemas/v1.ts | 0 .../rule/apis/mute_alert/types/latest.ts | 0 .../routes/rule/apis/mute_alert/types/v1.ts | 0 .../common/routes/rule/apis/mute_all/index.ts | 0 .../rule/apis/mute_all/schemas/latest.ts | 0 .../routes/rule/apis/mute_all/schemas/v1.ts | 0 .../routes/rule/apis/mute_all/types/latest.ts | 0 .../routes/rule/apis/mute_all/types/v1.ts | 0 .../common/routes/rule/apis/resolve/index.ts | 0 .../rule/apis/resolve/schemas/latest.ts | 0 .../routes/rule/apis/resolve/schemas/v1.ts | 0 .../routes/rule/apis/resolve/types/latest.ts | 0 .../routes/rule/apis/resolve/types/v1.ts | 0 .../common/routes/rule/apis/snooze/index.ts | 0 .../routes/rule/apis/snooze/schemas/latest.ts | 0 .../routes/rule/apis/snooze/schemas/v1.ts | 0 .../routes/rule/apis/tags/constants/latest.ts | 0 .../routes/rule/apis/tags/constants/v1.ts | 0 .../common/routes/rule/apis/tags/index.ts | 0 .../routes/rule/apis/tags/schemas/latest.ts | 0 .../routes/rule/apis/tags/schemas/v1.ts | 0 .../routes/rule/apis/tags/types/latest.ts | 0 .../common/routes/rule/apis/tags/types/v1.ts | 0 .../routes/rule/apis/unmute_alert/index.ts | 0 .../rule/apis/unmute_alert/schemas/latest.ts | 0 .../rule/apis/unmute_alert/schemas/v1.ts | 0 .../rule/apis/unmute_alert/types/latest.ts | 0 .../routes/rule/apis/unmute_alert/types/v1.ts | 0 .../routes/rule/apis/unmute_all/index.ts | 0 .../rule/apis/unmute_all/schemas/latest.ts | 0 .../routes/rule/apis/unmute_all/schemas/v1.ts | 0 .../rule/apis/unmute_all/types/latest.ts | 0 .../routes/rule/apis/unmute_all/types/v1.ts | 0 .../common/routes/rule/apis/unsnooze/index.ts | 0 .../rule/apis/unsnooze/schemas/latest.ts | 0 .../routes/rule/apis/unsnooze/schemas/v1.ts | 0 .../common/routes/rule/apis/update/index.ts | 0 .../routes/rule/apis/update/schemas/latest.ts | 0 .../routes/rule/apis/update/schemas/v1.ts | 0 .../routes/rule/apis/update/types/latest.ts | 0 .../routes/rule/apis/update/types/v1.ts | 0 .../routes/rule/apis/update_api_key/index.ts | 0 .../apis/update_api_key/schemas/latest.ts | 0 .../rule/apis/update_api_key/schemas/v1.ts | 0 .../rule/apis/update_api_key/types/latest.ts | 0 .../rule/apis/update_api_key/types/v1.ts | 0 .../routes/rule/common/constants/latest.ts | 0 .../common/routes/rule/common/constants/v1.ts | 0 .../rule/common/flapping/schemas/latest.ts | 0 .../routes/rule/common/flapping/schemas/v1.ts | 0 .../rule/common/flapping/types/latest.ts | 0 .../routes/rule/common/flapping/types/v1.ts | 0 .../common/routes/rule/common/index.ts | 0 .../common/routes/rule/request/index.ts | 0 .../routes/rule/request/schemas/latest.ts | 0 .../common/routes/rule/request/schemas/v1.ts | 0 .../common/routes/rule/response/index.ts | 0 .../routes/rule/response/schemas/latest.ts | 0 .../common/routes/rule/response/schemas/v1.ts | 0 .../routes/rule/response/types/latest.ts | 0 .../common/routes/rule/response/types/v1.ts | 0 .../common/routes/rule/validation/index.ts | 0 .../validation/validate_duration/latest.ts | 0 .../rule/validation/validate_duration/v1.ts | 0 .../validation/validate_flapping/latest.ts | 0 .../validation/validate_flapping/v1.test.ts | 0 .../rule/validation/validate_flapping/v1.ts | 0 .../rule/validation/validate_hours/latest.ts | 0 .../rule/validation/validate_hours/v1.ts | 0 .../validation/validate_notify_when/latest.ts | 0 .../validation/validate_notify_when/v1.ts | 0 .../validate_snooze_schedule/latest.ts | 0 .../validation/validate_snooze_schedule/v1.ts | 0 .../validation/validate_timezone/latest.ts | 0 .../rule/validation/validate_timezone/v1.ts | 0 .../routes/rules_settings/apis/get/index.ts | 0 .../rules_settings/apis/get/types/latest.ts | 0 .../rules_settings/apis/get/types/v1.ts | 0 .../rules_settings/apis/update/index.ts | 0 .../apis/update/schemas/latest.ts | 0 .../rules_settings/apis/update/schemas/v1.ts | 0 .../apis/update/types/latest.ts | 0 .../rules_settings/apis/update/types/v1.ts | 0 .../routes/rules_settings/response/index.ts | 0 .../rules_settings/response/schemas/latest.ts | 0 .../rules_settings/response/schemas/v1.ts | 0 .../rules_settings/response/types/latest.ts | 0 .../rules_settings/response/types/v1.ts | 0 .../shared}/alerting/common/rrule_type.ts | 0 .../plugins/shared}/alerting/common/rule.ts | 0 ...rule_circuit_breaker_error_message.test.ts | 0 .../rule_circuit_breaker_error_message.ts | 0 .../common/rule_notify_when_type.test.ts | 0 .../alerting/common/rule_notify_when_type.ts | 0 .../alerting/common/rule_snooze_type.ts | 0 .../common/rule_tags_aggregation.test.ts | 0 .../alerting/common/rule_tags_aggregation.ts | 0 .../shared}/alerting/common/rule_type.ts | 0 .../shared}/alerting/common/rules_settings.ts | 0 .../common/saved_objects/rules/mappings.ts | 0 .../shared}/alerting/docs/openapi/README.md | 2 +- .../alerting/docs/openapi/bundled.json | 0 .../alerting/docs/openapi/bundled.yaml | 0 .../examples/get_health_response.yaml | 0 .../examples/get_rule_response.yaml | 0 .../examples/get_rule_types_response.yaml | 0 .../openapi/components/headers/kbn_xsrf.yaml | 0 .../components/parameters/alert_id.yaml | 0 .../components/parameters/rule_id.yaml | 0 .../components/parameters/space_id.yaml | 0 .../components/schemas/400_response.yaml | 0 .../components/schemas/401_response.yaml | 0 .../components/schemas/404_response.yaml | 0 .../openapi/components/schemas/actions.yaml | 0 .../openapi/components/schemas/aggfield.yaml | 0 .../openapi/components/schemas/aggtype.yaml | 0 .../components/schemas/alert_delay.yaml | 0 .../schemas/alert_response_properties.yaml | 0 .../openapi/components/schemas/consumer.yaml | 0 .../schemas/create_rule_request.yaml | 0 .../components/schemas/enabled_rule.yaml | 0 .../schemas/excludehitsfrompreviousrun.yaml | 0 .../schemas/fieldmap_properties.yaml | 0 .../openapi/components/schemas/filter.yaml | 0 .../openapi/components/schemas/groupby.yaml | 0 .../openapi/components/schemas/name_rule.yaml | 0 .../components/schemas/notify_when.yaml | 0 .../schemas/notify_when_action.yaml | 0 .../schemas/params_es_query_dsl_rule.yaml | 0 .../schemas/params_es_query_esql_rule.yaml | 0 .../schemas/params_es_query_kql_rule.yaml | 0 .../schemas/params_index_threshold_rule.yaml | 0 .../schemas/rule_response_properties.yaml | 0 .../openapi/components/schemas/schedule.yaml | 0 .../docs/openapi/components/schemas/size.yaml | 0 .../docs/openapi/components/schemas/tags.yaml | 0 .../openapi/components/schemas/termfield.yaml | 0 .../openapi/components/schemas/termsize.yaml | 0 .../openapi/components/schemas/threshold.yaml | 0 .../schemas/thresholdcomparator.yaml | 0 .../openapi/components/schemas/throttle.yaml | 0 .../components/schemas/throttle_action.yaml | 0 .../openapi/components/schemas/timefield.yaml | 0 .../components/schemas/timewindowsize.yaml | 0 .../components/schemas/timewindowunit.yaml | 0 .../schemas/update_rule_request.yaml | 0 .../alerting/docs/openapi/entrypoint.yaml | 0 .../openapi/paths/api@alerting@_health.yaml | 0 .../docs/openapi/paths/api@alerting@rule.yaml | 0 .../paths/api@alerting@rule@{ruleid}.yaml | 0 .../api@alerting@rule@{ruleid}@_disable.yaml | 0 .../api@alerting@rule@{ruleid}@_enable.yaml | 0 .../api@alerting@rule@{ruleid}@_mute_all.yaml | 0 ...pi@alerting@rule@{ruleid}@_unmute_all.yaml | 0 ...lerting@rule@{ruleid}@_update_api_key.yaml | 0 ...g@rule@{ruleid}@alert@{alertid}@_mute.yaml | 0 ...rule@{ruleid}@alert@{alertid}@_unmute.yaml | 0 .../paths/api@alerting@rule_types.yaml | 0 .../paths/api@alerting@rules@_find.yaml | 0 .../plugins/shared/alerting/jest.config.js | 18 + .../alerting}/jest.integration.config.js | 4 +- .../plugins/shared}/alerting/kibana.jsonc | 0 .../alert_navigation_registry.mock.ts | 0 .../alert_navigation_registry.test.ts | 0 .../alert_navigation_registry.ts | 0 .../public/alert_navigation_registry/index.ts | 0 .../public/alert_navigation_registry/types.ts | 0 .../application/maintenance_windows.tsx | 0 .../use_archive_maintenance_window.test.tsx | 0 .../hooks/use_archive_maintenance_window.ts | 0 .../public/hooks/use_breadcrumbs.test.tsx | 0 .../alerting/public/hooks/use_breadcrumbs.ts | 0 .../use_create_maintenance_window.test.tsx | 0 .../hooks/use_create_maintenance_window.ts | 0 .../use_find_maintenance_windows.test.tsx | 0 .../hooks/use_find_maintenance_windows.ts | 0 ...sh_and_archive_maintenance_window.test.tsx | 0 ...e_finish_and_archive_maintenance_window.ts | 0 .../use_finish_maintenance_window.test.tsx | 0 .../hooks/use_finish_maintenance_window.ts | 0 .../hooks/use_get_maintenance_window.test.tsx | 0 .../hooks/use_get_maintenance_window.ts | 0 .../public/hooks/use_get_rule_types.ts | 0 .../public/hooks/use_license.test.tsx | 0 .../alerting/public/hooks/use_license.tsx | 0 .../public/hooks/use_navigation.test.tsx | 0 .../alerting/public/hooks/use_navigation.ts | 0 .../use_update_maintenance_window.test.tsx | 0 .../hooks/use_update_maintenance_window.ts | 0 .../plugins/shared}/alerting/public/index.ts | 0 .../public/lib/common_transformations.test.ts | 0 .../public/lib/common_transformations.ts | 0 .../alerting/public/lib/test_utils.tsx | 0 .../plugins/shared}/alerting/public/mocks.ts | 0 .../center_justified_spinner.test.tsx | 0 .../components/center_justified_spinner.tsx | 0 .../create_maintenance_windows_form.test.tsx | 0 .../create_maintenance_windows_form.tsx | 0 .../components/empty_prompt.test.tsx | 0 .../components/empty_prompt.tsx | 0 .../fields/date_picker_range_field.tsx | 0 .../components/license_prompt.test.tsx | 0 .../components/license_prompt.tsx | 0 .../components/link_icon.test.tsx | 0 .../components/link_icon.tsx | 0 ...tenance_window_category_selection.test.tsx | 0 .../maintenance_window_category_selection.tsx | 0 .../maintenance_window_scoped_query.test.tsx | 0 .../maintenance_window_scoped_query.tsx | 0 ...enance_window_scoped_query_switch.test.tsx | 0 ...maintenance_window_scoped_query_switch.tsx | 0 .../maintenance_windows_list.test.tsx | 0 .../components/maintenance_windows_list.tsx | 0 .../components/page_header.test.tsx | 0 .../components/page_header.tsx | 0 .../custom_recurring_schedule.test.tsx | 0 .../custom_recurring_schedule.tsx | 0 .../recurring_schedule.test.tsx | 0 .../recurring_schedule.tsx | 0 .../maintenance_windows/components/schema.ts | 0 .../components/status_filter.test.tsx | 0 .../components/status_filter.tsx | 0 .../components/submit_button.test.tsx | 0 .../components/submit_button.tsx | 0 .../components/table_actions_popover.test.tsx | 0 .../components/table_actions_popover.tsx | 0 .../components/truncated_text.test.tsx | 0 .../components/truncated_text.tsx | 0 .../upcoming_events_popover.test.tsx | 0 .../components/upcoming_events_popover.tsx | 0 .../pages/maintenance_windows/constants.ts | 0 ...rt_from_maintenance_window_to_form.test.ts | 0 ...convert_from_maintenance_window_to_form.ts | 0 .../helpers/convert_to_rrule.test.ts | 0 .../helpers/convert_to_rrule.ts | 0 .../helpers/get_initial_by_weekday.test.ts | 0 .../helpers/get_initial_by_weekday.ts | 0 .../helpers/get_nth_by_weekday.test.ts | 0 .../helpers/get_nth_by_weekday.ts | 0 .../helpers/get_presets.test.ts | 0 .../helpers/get_presets.ts | 0 .../get_selected_for_date_picker.test.ts | 0 .../helpers/get_selected_for_date_picker.ts | 0 .../helpers/get_weekday_info.test.ts | 0 .../helpers/get_weekday_info.ts | 0 .../helpers/month_day_date.test.ts | 0 .../helpers/month_day_date.ts | 0 .../helpers/parse_schedule.ts | 0 .../helpers/recurring_summary.test.ts | 0 .../helpers/recurring_summary.ts | 0 .../pages/maintenance_windows/index.test.tsx | 0 .../pages/maintenance_windows/index.tsx | 0 .../maintenance_window_create_page.tsx | 0 .../maintenance_window_edit_page.tsx | 0 .../pages/maintenance_windows/translations.ts | 0 .../public/pages/maintenance_windows/types.ts | 0 .../shared}/alerting/public/plugin.test.ts | 0 .../plugins/shared}/alerting/public/plugin.ts | 0 .../maintenance_windows_api/archive.test.ts | 0 .../maintenance_windows_api/archive.ts | 0 .../maintenance_windows_api/create.test.ts | 0 .../maintenance_windows_api/create.ts | 0 .../maintenance_windows_api/find.test.ts | 0 .../services/maintenance_windows_api/find.ts | 0 .../maintenance_windows_api/finish.test.ts | 0 .../maintenance_windows_api/finish.ts | 0 .../maintenance_windows_api/get.test.ts | 0 .../services/maintenance_windows_api/get.ts | 0 .../transform_maintenance_window_response.ts | 0 .../maintenance_windows_api/update.test.ts | 0 .../maintenance_windows_api/update.ts | 0 .../alerting/public/services/rule_api.test.ts | 0 .../alerting/public/services/rule_api.ts | 0 .../alerting/public/utils/kibana_react.ts | 0 .../alerting/server/alert/alert.test.ts | 0 .../shared}/alerting/server/alert/alert.ts | 0 .../server/alert/create_alert_factory.test.ts | 0 .../server/alert/create_alert_factory.ts | 0 .../shared}/alerting/server/alert/index.ts | 0 ...rting_authorization_client_factory.mock.ts | 0 ...rting_authorization_client_factory.test.ts | 0 .../alerting_authorization_client_factory.ts | 0 .../alerts_client/alerts_client.mock.ts | 0 .../alerts_client/alerts_client.test.ts | 0 .../server/alerts_client/alerts_client.ts | 0 .../alerts_client/alerts_client_error.ts | 0 .../alerts_client/alerts_client_fixtures.ts | 0 .../alerting/server/alerts_client/index.ts | 0 .../legacy_alerts_client.mock.ts | 0 .../legacy_alerts_client.test.ts | 0 .../alerts_client/legacy_alerts_client.ts | 0 .../lib/alert_conflict_resolver.test.ts | 0 .../lib/alert_conflict_resolver.ts | 2 +- .../alerts_client/lib/build_new_alert.test.ts | 0 .../alerts_client/lib/build_new_alert.ts | 0 .../lib/build_ongoing_alert.test.ts | 0 .../alerts_client/lib/build_ongoing_alert.ts | 0 .../lib/build_recovered_alert.test.ts | 0 .../lib/build_recovered_alert.ts | 0 .../lib/build_updated_recovered_alert.test.ts | 0 .../lib/build_updated_recovered_alert.ts | 0 .../alerts_client/lib/format_alert.test.ts | 0 .../server/alerts_client/lib/format_alert.ts | 0 .../alerts_client/lib/format_rule.test.ts | 0 .../server/alerts_client/lib/format_rule.ts | 0 .../lib/get_summarized_alerts_query.ts | 0 .../server/alerts_client/lib/index.ts | 0 .../lib/initialize_alerts_client.test.ts | 0 .../lib/initialize_alerts_client.ts | 0 .../lib/inject_analyze_wildcard.test.ts | 0 .../lib/inject_analyze_wildcard.ts | 0 .../lib/is_alert_improving.test.ts | 0 .../alerts_client/lib/is_alert_improving.ts | 0 .../alerts_client/lib/nanos_to_micros.test.ts | 0 .../alerts_client/lib/nanos_to_micros.ts | 0 .../lib/sanitize_bulk_response.test.ts | 0 .../lib/sanitize_bulk_response.ts | 0 .../lib/strip_framework_fields.test.ts | 0 .../lib/strip_framework_fields.ts | 0 .../server/alerts_client/lib/test_fixtures.ts | 0 .../alerting/server/alerts_client/types.ts | 0 .../alerts_service/alerts_service.mock.ts | 0 .../alerts_service/alerts_service.test.ts | 3 - .../server/alerts_service/alerts_service.ts | 0 ...reate_resource_installation_helper.test.ts | 0 .../create_resource_installation_helper.ts | 0 .../default_lifecycle_policy.ts | 0 .../alerting/server/alerts_service/index.ts | 0 .../lib/create_concrete_write_index.test.ts | 0 .../lib/create_concrete_write_index.ts | 0 ...reate_or_update_component_template.test.ts | 0 .../create_or_update_component_template.ts | 0 .../lib/create_or_update_ilm_policy.test.ts | 0 .../lib/create_or_update_ilm_policy.ts | 0 .../create_or_update_index_template.test.ts | 0 .../lib/create_or_update_index_template.ts | 0 .../lib/data_stream_adapter.mock.ts | 0 .../alerts_service/lib/data_stream_adapter.ts | 0 .../server/alerts_service/lib/index.ts | 0 .../lib/install_with_timeout.test.ts | 0 .../lib/install_with_timeout.ts | 0 .../lib/is_valid_alert_index_name.test.ts | 0 .../lib/is_valid_alert_index_name.ts | 0 .../lib/retry_transient_es_errors.test.ts | 8 +- .../lib/retry_transient_es_errors.ts | 0 .../lib/set_alerts_to_untracked.test.ts | 0 .../lib/set_alerts_to_untracked.ts | 0 .../resource_installer_utils.test.ts | 0 .../resource_installer_utils.ts | 0 .../server/alerts_service/test_utils.ts | 0 .../schemas/alerts_filter_query_schemas.ts | 0 .../alerts_filter_query/schemas/index.ts | 0 .../types/alerts_filter_query.ts | 0 .../alerts_filter_query/types/index.ts | 0 .../methods/delete/delete_backfill.test.ts | 0 .../methods/delete/delete_backfill.ts | 0 .../backfill/methods/delete/index.ts | 0 .../methods/find/find_backfill.test.ts | 0 .../backfill/methods/find/find_backfill.ts | 0 .../backfill/methods/find/index.ts | 0 .../schemas/find_backfill_query_schema.ts | 0 .../schemas/find_backfill_result_schema.ts | 0 .../backfill/methods/find/schemas/index.ts | 0 .../backfill/methods/find/types/index.ts | 0 .../backfill/methods/get/get_backfill.test.ts | 0 .../backfill/methods/get/get_backfill.ts | 0 .../application/backfill/methods/get/index.ts | 0 .../backfill/methods/schedule/index.ts | 0 .../schedule/schedule_backfill.test.ts | 0 .../methods/schedule/schedule_backfill.ts | 0 .../methods/schedule/schemas/index.ts | 0 .../schedule_backfill_params_schema.ts | 0 .../schedule_backfill_result_schema.ts | 0 .../backfill/methods/schedule/types/index.ts | 0 .../backfill/result/schemas/index.ts | 0 .../backfill/result/types/index.ts | 0 .../application/backfill/transforms/index.ts | 0 ...form_ad_hoc_run_to_backfill_result.test.ts | 0 ...transform_ad_hoc_run_to_backfill_result.ts | 0 ...sform_backfill_param_to_ad_hoc_run.test.ts | 0 .../transform_backfill_param_to_ad_hoc_run.ts | 0 .../maintenance_window/constants.ts | 0 ...generate_maintenance_window_events.test.ts | 0 .../lib/generate_maintenance_window_events.ts | 0 ...maintenance_window_date_and_status.test.ts | 0 .../get_maintenance_window_date_and_status.ts | 0 .../maintenance_window/lib/index.ts | 0 .../archive_maintenance_window.test.ts | 0 .../archive/archive_maintenance_window.ts | 0 ...rchive_maintenance_window_params_schema.ts | 0 .../methods/archive/schemas/index.ts | 0 .../archive_maintenance_window_params.ts | 0 .../methods/archive/types/index.ts | 0 .../bulk_get_maintenance_windows.test.ts | 0 .../bulk_get/bulk_get_maintenance_windows.ts | 0 ...k_get_maintenance_windows_params_schema.ts | 0 ...k_get_maintenance_windows_result_schema.ts | 0 .../methods/bulk_get/schemas/index.ts | 0 .../bulk_get_maintenance_window_params.ts | 0 .../bulk_get_maintenance_window_result.ts | 0 .../methods/bulk_get/types/index.ts | 0 .../create/create_maintenance_window.test.ts | 0 .../create/create_maintenance_window.ts | 0 ...create_maintenance_window_params_schema.ts | 0 .../methods/create/schemas/index.ts | 0 .../types/create_maintenance_window_params.ts | 0 .../methods/create/types/index.ts | 0 .../delete/delete_maintenance_window.test.ts | 0 .../delete/delete_maintenance_window.ts | 0 ...delete_maintenance_window_params_schema.ts | 0 .../methods/delete/schemas/index.ts | 0 .../types/delete_maintenance_window_params.ts | 0 .../methods/delete/types/index.ts | 0 .../find/find_maintenance_windows.test.ts | 0 .../methods/find/find_maintenance_windows.ts | 0 .../find_maintenance_window_params_schema.ts | 0 .../find_maintenance_windows_result_schema.ts | 0 .../methods/find/schemas/index.ts | 0 .../types/find_maintenance_window_params.ts | 0 .../types/find_maintenance_window_result.ts | 0 .../methods/find/types/index.ts | 0 .../finish/finish_maintenance_window.test.ts | 0 .../finish/finish_maintenance_window.ts | 0 ...finish_maintenance_window_params_schema.ts | 0 .../methods/finish/schemas/index.ts | 0 .../types/finish_maintenance_window_params.ts | 0 .../methods/finish/types/index.ts | 0 .../get/get_maintenance_window.test.ts | 0 .../methods/get/get_maintenance_window.ts | 0 .../get_maintenance_window_params_schema.ts | 0 .../methods/get/schemas/index.ts | 0 .../types/get_maintenance_window_params.ts | 0 .../methods/get/types/index.ts | 0 .../get_active_maintenance_windows.test.ts | 0 .../get_active_maintenance_windows.ts | 0 .../methods/update/schemas/index.ts | 0 ...update_maintenance_window_params_schema.ts | 0 .../methods/update/types/index.ts | 0 .../types/update_maintenance_window_params.ts | 0 .../update/update_maintenance_window.test.ts | 0 .../update/update_maintenance_window.ts | 0 .../maintenance_window/schemas/index.ts | 0 .../schemas/maintenance_window_schemas.ts | 0 .../maintenance_window/transforms/index.ts | 0 ...window_attributes_to_maintenance_window.ts | 0 ...window_to_maintenance_window_attributes.ts | 0 .../maintenance_window/types/index.ts | 0 .../types/maintenance_window.ts | 0 .../application/r_rule/schemas/index.ts | 0 .../r_rule/schemas/r_rule_request_schema.ts | 0 .../r_rule/schemas/r_rule_schema.ts | 0 .../server/application/r_rule/types/index.ts | 0 .../server/application/r_rule/types/r_rule.ts | 0 .../r_rule/types/r_rule_request.ts | 0 .../application/r_rule/validation/index.ts | 0 .../r_rule/validation/validate_end_date.ts | 0 .../validation/validate_recurrence_by.ts | 0 .../r_rule/validation/validate_start_date.ts | 0 .../server/application/rule/constants.ts | 0 .../methods/aggregate/aggregate_rules.test.ts | 0 .../rule/methods/aggregate/aggregate_rules.ts | 0 .../latest.ts | 0 .../v1.test.ts | 0 .../default_rule_aggregation_factory/v1.ts | 0 .../rule/methods/aggregate/index.ts | 0 .../schemas/aggregate_options_schema.ts | 0 .../rule/methods/aggregate/schemas/index.ts | 0 .../rule/methods/aggregate/types/index.ts | 0 .../methods/aggregate/validation/index.ts | 0 .../validate_rule_aggregation_fields.test.ts | 0 .../validate_rule_aggregation_fields.ts | 0 .../bulk_delete/bulk_delete_rules.test.ts | 0 .../methods/bulk_delete/bulk_delete_rules.ts | 0 .../rule/methods/bulk_delete/index.ts | 0 .../rule/methods/bulk_delete/schemas/index.ts | 0 .../rule/methods/bulk_delete/types/index.ts | 0 .../methods/bulk_delete/validation/index.ts | 0 .../bulk_disable/bulk_disable_rules.test.ts | 0 .../bulk_disable/bulk_disable_rules.ts | 0 .../rule/methods/bulk_disable/index.ts | 0 .../methods/bulk_disable/schemas/index.ts | 0 .../rule/methods/bulk_disable/types/index.ts | 0 .../methods/bulk_disable/validation/index.ts | 0 .../methods/bulk_edit/bulk_edit_rules.test.ts | 11 - .../rule/methods/bulk_edit/bulk_edit_rules.ts | 0 .../rule/methods/bulk_edit/index.ts | 0 .../schemas/bulk_edit_rules_option_schemas.ts | 0 .../rule/methods/bulk_edit/schemas/index.ts | 0 .../types/bulk_edit_rules_options.ts | 0 .../rule/methods/bulk_edit/types/index.ts | 0 .../methods/bulk_edit/validation/index.ts | 0 .../validation/validate_snooze_schedule.ts | 0 .../bulk_enable/bulk_enable_rules.test.ts | 0 .../methods/bulk_enable/bulk_enable_rules.ts | 0 .../rule/methods/bulk_enable/index.ts | 0 .../schemas/bulk_enable_rules_schemas.ts | 0 .../rule/methods/bulk_enable/schemas/index.ts | 0 .../types/bulk_enable_rules_types.ts | 0 .../rule/methods/bulk_enable/types/index.ts | 0 .../bulk_untrack/bulk_untrack_alerts.test.ts | 0 .../bulk_untrack/bulk_untrack_alerts.ts | 0 .../schemas/bulk_untrack_body_schema.ts | 0 .../methods/bulk_untrack/schemas/index.ts | 0 .../bulk_untrack/types/bulk_untrack_body.ts | 0 .../rule/methods/bulk_untrack/types/index.ts | 0 .../rule/methods/clone/clone_rule.test.ts | 0 .../rule/methods/clone/clone_rule.ts | 0 .../application/rule/methods/clone/index.ts | 0 .../clone/schemas/clone_rule_params_schema.ts | 0 .../rule/methods/clone/schemas/index.ts | 0 .../methods/clone/types/clone_rule_params.ts | 0 .../rule/methods/clone/types/index.ts | 0 .../rule/methods/create/create_rule.test.ts | 0 .../rule/methods/create/create_rule.ts | 0 .../application/rule/methods/create/index.ts | 0 .../create/schemas/create_rule_data_schema.ts | 0 .../rule/methods/create/schemas/index.ts | 0 .../methods/create/types/create_rule_data.ts | 0 .../rule/methods/create/types/index.ts | 0 .../rule/methods/delete/delete_rule.test.ts | 0 .../rule/methods/delete/delete_rule.ts | 0 .../application/rule/methods/delete/index.ts | 0 .../schemas/delete_rule_params_schema.ts | 0 .../rule/methods/delete/schemas/index.ts | 0 .../delete/types/delete_rule_params.ts | 0 .../rule/methods/delete/types/index.ts | 0 .../rule/methods/disable/disable_rule.test.ts | 0 .../rule/methods/disable/disable_rule.ts | 0 .../application/rule/methods/disable/index.ts | 0 .../rule/methods/disable/schemas/index.ts | 0 .../rule/methods/disable/types/index.ts | 0 .../methods/enable_rule/enable_rule.test.ts | 0 .../rule/methods/enable_rule/enable_rule.ts | 0 .../rule/methods/enable_rule/index.ts | 0 .../schemas/enable_rule_schemas.ts | 0 .../rule/methods/enable_rule/schemas/index.ts | 0 .../enable_rule/types/enable_rule_types.ts | 0 .../rule/methods/enable_rule/types/index.ts | 0 .../rule/methods/find/find_rules.test.ts | 0 .../rule/methods/find/find_rules.ts | 0 .../application/rule/methods/find/index.ts | 0 .../find/schemas/find_rules_schemas.ts | 0 .../rule/methods/find/schemas/index.ts | 0 .../methods/find/types/find_rules_types.ts | 0 .../rule/methods/find/types/index.ts | 0 .../rule/methods/get/get_rule.test.ts | 0 .../application/rule/methods/get/get_rule.ts | 0 .../application/rule/methods/get/index.ts | 0 .../get/schemas/get_rule_params_schema.ts | 0 .../rule/methods/get/schemas/index.ts | 0 .../rule/methods/get/types/get_rule_params.ts | 0 .../rule/methods/get/types/index.ts | 0 .../get_schedule_frequency.test.ts | 0 .../get_schedule_frequency.ts | 0 .../methods/get_schedule_frequency/index.ts | 0 .../get_schedule_frequency_result_schema.ts | 0 .../get_schedule_frequency/schema/index.ts | 0 .../types/get_schedule_frequency_result.ts | 0 .../get_schedule_frequency/types/index.ts | 0 .../rule/methods/mute_alert/mute_instance.ts | 0 .../rule/methods/mute_alert/schemas/index.ts | 0 .../schemas/mute_alert_params_schema.ts | 0 .../rule/methods/mute_alert/types/index.ts | 0 .../mute_alert/types/mute_alert_params.ts | 0 .../rule/methods/mute_all/index.ts | 0 .../rule/methods/mute_all/mute_all.test.ts | 0 .../rule/methods/mute_all/mute_all.ts | 0 .../rule/methods/mute_all/schemas/index.ts | 0 .../mute_all/schemas/mute_all_rule_schemas.ts | 0 .../rule/methods/mute_all/types/index.ts | 0 .../mute_all/types/mute_all_rule_types.ts | 0 .../application/rule/methods/resolve/index.ts | 0 .../rule/methods/resolve/resolve.test.ts | 0 .../rule/methods/resolve/resolve_rule.ts | 0 .../rule/methods/resolve/schemas/index.ts | 0 .../schemas/resolve_rule_params_schema.ts | 0 .../rule/methods/resolve/types/index.ts | 0 .../methods/resolve/types/resolved_rule.ts | 0 .../methods/rule_types/rule_types.test.ts | 0 .../rule/methods/rule_types/rule_types.ts | 0 .../application/rule/methods/snooze/index.ts | 0 .../rule/methods/snooze/schemas/index.ts | 0 .../snooze/schemas/snooze_rule_body_schema.ts | 0 .../schemas/snooze_rule_params_schema.ts | 0 .../rule/methods/snooze/snooze_rule.ts | 0 .../rule/methods/snooze/types/index.ts | 0 .../snooze/types/snooze_rule_options.ts | 0 .../rule/methods/tags/get_rule_tags.test.ts | 0 .../rule/methods/tags/get_rule_tags.ts | 0 .../application/rule/methods/tags/index.ts | 0 .../rule/methods/tags/schemas/index.ts | 0 .../rule_tags_aggregation_result_schema.ts | 0 .../tags/schemas/rule_tags_params_schema.ts | 0 .../rule/methods/tags/types/index.ts | 0 .../types/rule_tags_aggregation_result.ts | 0 .../methods/tags/types/rule_tags_params.ts | 0 .../methods/unmute_alert/schemas/index.ts | 0 .../schemas/unmute_alert_params_schema.ts | 0 .../rule/methods/unmute_alert/types/index.ts | 0 .../unmute_alert/types/unmute_alert_params.ts | 0 .../unmute_alert/unmute_instance.test.ts | 0 .../methods/unmute_alert/unmute_instance.ts | 0 .../rule/methods/unmute_all/index.ts | 0 .../rule/methods/unmute_all/schemas/index.ts | 0 .../schemas/unmute_all_rule_schemas.ts | 0 .../rule/methods/unmute_all/types/index.ts | 0 .../unmute_all/types/unmute_all_rule_types.ts | 0 .../methods/unmute_all/unmute_all.test.ts | 0 .../rule/methods/unmute_all/unmute_all.ts | 0 .../rule/methods/unsnooze/index.ts | 0 .../rule/methods/unsnooze/schemas/index.ts | 0 .../schemas/unsnooze_rule_params_schema.ts | 0 .../rule/methods/unsnooze/unsnooze_rule.ts | 0 .../application/rule/methods/update/index.ts | 0 .../rule/methods/update/schemas/index.ts | 0 .../update/schemas/update_rule_data_schema.ts | 0 .../rule/methods/update/types/index.ts | 0 .../methods/update/types/update_rule_data.ts | 0 .../rule/methods/update/update_rule.test.ts | 0 .../rule/methods/update/update_rule.ts | 0 .../rule/methods/update_api_key/index.ts | 0 .../methods/update_api_key/schemas/index.ts | 0 .../schemas/update_rule_api_key_schemas.ts | 0 .../methods/update_api_key/types/index.ts | 0 .../types/update_rule_api_key_types.ts | 0 .../update_rule_api_key.test.ts | 0 .../update_api_key/update_rule_api_key.ts | 0 .../rule/schemas/action_schemas.ts | 0 .../application/rule/schemas/date_schema.ts | 0 .../rule/schemas/flapping_schema.ts | 0 .../server/application/rule/schemas/index.ts | 0 .../rule/schemas/notify_when_schema.ts | 0 .../application/rule/schemas/rule_schemas.ts | 0 .../application/rule/transforms/index.ts | 0 ...form_raw_actions_to_domain_actions.test.ts | 0 ...transform_raw_actions_to_domain_actions.ts | 0 ...orm_rule_attributes_to_rule_domain.test.ts | 0 ...ransform_rule_attributes_to_rule_domain.ts | 0 .../transform_rule_domain_to_rule.test.ts | 0 .../transform_rule_domain_to_rule.ts | 0 ...orm_rule_domain_to_rule_attributes.test.ts | 0 ...ransform_rule_domain_to_rule_attributes.ts | 0 .../server/application/rule/types/action.ts | 0 .../server/application/rule/types/index.ts | 0 .../server/application/rule/types/rule.ts | 0 .../application/rule/validation/index.ts | 0 .../rule/validation/validate_duration.ts | 0 .../alerting_authorization.mock.ts | 0 .../alerting_authorization.test.ts | 0 .../authorization/alerting_authorization.ts | 0 .../alerting_authorization_kuery.test.ts | 0 .../alerting_authorization_kuery.ts | 0 .../alerting/server/authorization/index.ts | 0 .../alerting/server/authorization/types.ts | 0 .../backfill_client/backfill_client.mock.ts | 0 .../backfill_client/backfill_client.test.ts | 0 .../server/backfill_client/backfill_client.ts | 0 .../lib/calculate_schedule.test.ts | 0 .../backfill_client/lib/calculate_schedule.ts | 0 .../lib/create_backfill_error.ts | 0 .../server/backfill_client/lib/index.ts | 0 .../shared}/alerting/server/config.test.ts | 0 .../plugins/shared}/alerting/server/config.ts | 0 .../connector_adapter_registry.test.ts | 0 .../connector_adapter_registry.ts | 0 ...et_system_action_kibana_privileges.test.ts | 0 .../get_system_action_kibana_privileges.ts | 0 .../server/connector_adapters/types.ts | 0 .../validate_rule_action_params.test.ts | 0 .../validate_rule_action_params.ts | 0 .../alerting/server/constants/translations.ts | 0 .../data/ad_hoc_run/types/ad_hoc_run.ts | 0 .../server/data/ad_hoc_run/types/index.ts | 0 .../types/alerts_filter_query_attributes.ts | 0 .../data/alerts_filter_query/types/index.ts | 0 .../data/maintenance_window/constants.ts | 0 .../server/data/maintenance_window/index.ts | 0 .../methods/bulk_get_maintenance_window_so.ts | 0 .../methods/create_maintenance_window_so.ts | 0 .../methods/delete_maintenance_window_so.ts | 0 .../methods/find_maintenance_window_so.ts | 0 .../methods/get_maintenance_window_so.ts | 0 .../methods/update_maintenance_window_so.ts | 0 .../data/maintenance_window/test_helpers.ts | 0 .../data/maintenance_window/types/index.ts | 0 .../types/maintenance_window_attributes.ts | 0 .../server/data/r_rule/types/index.ts | 0 .../data/r_rule/types/r_rule_attributes.ts | 0 .../alerting/server/data/rule/constants.ts | 0 .../alerting/server/data/rule/index.ts | 0 .../data/rule/methods/bulk_create_rule_so.ts | 0 .../data/rule/methods/bulk_delete_rules_so.ts | 0 .../rule/methods/bulk_disable_rules_so.ts | 0 .../data/rule/methods/create_rule_so.ts | 0 .../data/rule/methods/delete_rule_so.ts | 0 .../server/data/rule/methods/find_rules_so.ts | 0 .../rule/methods/get_decrypted_rule_so.ts | 0 .../server/data/rule/methods/get_rule_so.ts | 0 .../data/rule/methods/resolve_rule_so.ts | 0 .../data/rule/methods/update_rule_so.ts | 0 .../alerting/server/health/get_health.test.ts | 0 .../alerting/server/health/get_health.ts | 0 .../shared}/alerting/server/health/index.ts | 0 .../shared}/alerting/server/health/task.ts | 0 .../alerting/server/health/task_state.test.ts | 0 .../alerting/server/health/task_state.ts | 0 .../plugins/shared}/alerting/server/index.ts | 0 .../alert_as_data_fields.test.ts.snap | 0 ...s_upgrade_and_rollback_checks.test.ts.snap | 0 .../alert_as_data_fields.test.ts | 0 .../server/integration_tests/lib/index.ts | 0 .../lib/setup_test_servers.ts | 0 ...erless_upgrade_and_rollback_checks.test.ts | 0 ...ulk_mark_api_keys_for_invalidation.test.ts | 0 .../bulk_mark_api_keys_for_invalidation.ts | 0 .../invalidate_pending_api_keys/task.test.ts | 0 .../invalidate_pending_api_keys/task.ts | 0 .../task_state.test.ts | 0 .../invalidate_pending_api_keys/task_state.ts | 0 .../lib/alert_summary_from_event_log.test.ts | 0 .../lib/alert_summary_from_event_log.ts | 0 .../alerting_event_logger.mock.ts | 0 .../alerting_event_logger.test.ts | 0 .../alerting_event_logger.ts | 0 .../convert_es_sort_to_event_log_sort.test.ts | 0 .../lib/convert_es_sort_to_event_log_sort.ts | 0 .../convert_rule_ids_to_kuery_node.test.ts | 0 .../lib/convert_rule_ids_to_kuery_node.ts | 0 ...eate_alert_event_log_record_object.test.ts | 0 .../create_alert_event_log_record_object.ts | 0 .../create_get_alert_indices_alias.test.ts | 0 .../lib/create_get_alert_indices_alias.ts | 0 .../lib/determine_alerts_to_return.test.ts | 0 .../server/lib/determine_alerts_to_return.ts | 0 .../server/lib/error_with_reason.test.ts | 0 .../alerting/server/lib/error_with_reason.ts | 0 .../alerting/server/lib/error_with_type.ts | 0 .../server/lib/errors/es_error_parser.test.ts | 0 .../server/lib/errors/es_error_parser.ts | 0 .../alerting/server/lib/errors/index.ts | 0 .../alerting/server/lib/errors/rule_muted.ts | 0 .../server/lib/errors/rule_type_disabled.ts | 0 .../alerting/server/lib/errors/types.ts | 0 .../server/lib/flapping_utils.test.ts | 0 .../alerting/server/lib/flapping_utils.ts | 0 .../lib/format_execution_log_errors.test.ts | 0 .../server/lib/format_execution_log_errors.ts | 0 .../server/lib/get_actions_config_map.test.ts | 0 .../server/lib/get_actions_config_map.ts | 0 .../lib/get_alerts_for_notification.test.ts | 0 .../server/lib/get_alerts_for_notification.ts | 0 .../alerting/server/lib/get_cadence.ts | 0 .../server/lib/get_es_query_config.test.ts | 0 .../server/lib/get_es_query_config.ts | 0 .../server/lib/get_es_request_timeout.test.ts | 0 .../server/lib/get_es_request_timeout.ts | 0 .../lib/get_execution_log_aggregation.test.ts | 0 .../lib/get_execution_log_aggregation.ts | 0 .../lib/get_rule_notify_when_type.test.ts | 0 .../server/lib/get_rule_notify_when_type.ts | 0 .../server/lib/get_rule_task_timeout.test.ts | 0 .../server/lib/get_rule_task_timeout.ts | 0 .../lib/get_rule_type_feature_usage_name.ts | 0 .../server/lib/get_security_health.test.ts | 0 .../server/lib/get_security_health.ts | 0 .../server/lib/get_time_range.test.ts | 0 .../alerting/server/lib/get_time_range.ts | 0 .../shared}/alerting/server/lib/index.ts | 0 .../server/lib/is_alerting_error.test.ts | 0 .../alerting/server/lib/is_alerting_error.ts | 0 .../server/lib/is_rule_snoozed.test.ts | 0 .../alerting/server/lib/is_rule_snoozed.ts | 0 .../server/lib/iso_or_relative_date.test.ts | 0 .../server/lib/iso_or_relative_date.ts | 0 .../server/lib/last_run_status.test.ts | 0 .../alerting/server/lib/last_run_status.ts | 0 .../alerting/server/lib/license_api_access.ts | 0 .../alerting/server/lib/license_state.mock.ts | 0 .../alerting/server/lib/license_state.test.ts | 0 .../alerting/server/lib/license_state.ts | 0 .../alerting/server/lib/monitoring.test.ts | 2 +- .../shared}/alerting/server/lib/monitoring.ts | 0 .../shared}/alerting/server/lib/next_run.ts | 0 .../server/lib/process_alerts.test.ts | 0 .../alerting/server/lib/process_alerts.ts | 0 .../alerting/server/lib/result_type.ts | 0 .../server/lib/retry_if_conflicts.test.ts | 0 .../alerting/server/lib/retry_if_conflicts.ts | 0 .../server/lib/rule_execution_status.test.ts | 1 - .../server/lib/rule_execution_status.ts | 0 .../server/lib/rule_run_metrics_store.mock.ts | 0 .../server/lib/rule_run_metrics_store.test.ts | 0 .../server/lib/rule_run_metrics_store.ts | 0 .../alerting/server/lib/set_flapping.test.ts | 0 .../alerting/server/lib/set_flapping.ts | 0 .../alerting/server/lib/snooze/index.ts | 0 .../lib/snooze/is_snooze_active.test.ts | 0 .../server/lib/snooze/is_snooze_active.ts | 0 .../lib/snooze/is_snooze_expired.test.ts | 0 .../server/lib/snooze/is_snooze_expired.ts | 0 .../lib/track_deprecated_route_usage.test.ts | 0 .../lib/track_deprecated_route_usage.ts | 0 .../lib/track_legacy_route_usage.test.ts | 0 .../server/lib/track_legacy_route_usage.ts | 0 .../server/lib/trim_recovered_alerts.test.ts | 0 .../server/lib/trim_recovered_alerts.ts | 0 .../shared}/alerting/server/lib/types.ts | 0 .../validate_authorize_system_actions.test.ts | 0 .../lib/validate_authorize_system_actions.ts | 0 .../lib/validate_mutated_rule_type_params.ts | 0 .../alerting/server/lib/validate_rrule_by.ts | 0 .../lib/validate_rule_type_params.test.ts | 0 .../server/lib/validate_rule_type_params.ts | 0 .../server/lib/validate_snooze_date.ts | 0 .../server/lib/validate_snooze_schedule.ts | 0 .../lib/wrap_scoped_cluster_client.mock.ts | 0 .../lib/wrap_scoped_cluster_client.test.ts | 0 .../server/lib/wrap_scoped_cluster_client.ts | 0 .../lib/wrap_search_source_client.mock.ts | 0 .../lib/wrap_search_source_client.test.ts | 0 .../server/lib/wrap_search_source_client.ts | 0 .../server/maintenance_window_client.mock.ts | 0 .../server/maintenance_window_client/index.ts | 0 .../maintenance_window_client.ts | 0 .../maintenance_window_client_factory.test.ts | 0 .../maintenance_window_client_factory.ts | 0 .../server/maintenance_window_feature.ts | 0 .../manual_tests/action_param_templates.sh | 0 .../plugins/shared}/alerting/server/mocks.ts | 0 .../monitoring/in_memory_metrics.mock.ts | 0 .../monitoring/in_memory_metrics.test.ts | 0 .../server/monitoring/in_memory_metrics.ts | 0 .../alerting/server/monitoring/index.ts | 0 .../register_cluster_collector.test.ts | 0 .../monitoring/register_cluster_collector.ts | 0 .../register_node_collector.test.ts | 0 .../monitoring/register_node_collector.ts | 0 .../rule_monitoring_service.mock.ts | 0 .../rule_monitoring_service.test.ts | 0 .../monitoring/rule_monitoring_service.ts | 0 .../monitoring/rule_result_service.mock.ts | 0 .../monitoring/rule_result_service.test.ts | 0 .../server/monitoring/rule_result_service.ts | 0 .../alerting/server/monitoring/types.ts | 0 .../shared}/alerting/server/plugin.test.ts | 2 +- .../plugins/shared}/alerting/server/plugin.ts | 0 .../server/routes/_mock_handler_arguments.ts | 0 .../apis/delete/delete_backfill_route.test.ts | 0 .../apis/delete/delete_backfill_route.ts | 0 .../apis/find/find_backfill_route.test.ts | 0 .../backfill/apis/find/find_backfill_route.ts | 0 .../backfill/apis/find/transforms/index.ts | 0 .../transforms/transform_request/latest.ts | 0 .../find/transforms/transform_request/v1.ts | 0 .../transforms/transform_response/latest.ts | 0 .../find/transforms/transform_response/v1.ts | 0 .../apis/get/get_backfill_route.test.ts | 0 .../backfill/apis/get/get_backfill_route.ts | 0 .../schedule/schedule_backfill_route.test.ts | 0 .../apis/schedule/schedule_backfill_route.ts | 0 .../apis/schedule/transforms/index.ts | 0 .../transforms/transform_request/latest.ts | 0 .../transforms/transform_request/v1.ts | 0 .../transforms/transform_response/latest.ts | 0 .../transforms/transform_response/v1.ts | 0 .../routes/backfill/transforms/index.ts | 0 .../latest.ts | 0 .../v1.test.ts | 0 .../v1.ts | 0 .../alerting/server/routes/constants.ts | 0 .../framework/apis/health/health.test.ts | 0 .../routes/framework/apis/health/health.ts | 0 .../routes/framework/apis/health/index.ts | 0 .../framework/apis/health/transforms/index.ts | 0 .../transform_health_response/latest.ts | 0 .../transform_health_response/v1.ts | 0 .../routes/get_action_error_log.test.ts | 0 .../server/routes/get_action_error_log.ts | 0 .../routes/get_flapping_settings.test.ts | 0 .../server/routes/get_flapping_settings.ts | 0 .../routes/get_global_execution_kpi.test.ts | 0 .../server/routes/get_global_execution_kpi.ts | 0 .../routes/get_global_execution_logs.test.ts | 0 .../routes/get_global_execution_logs.ts | 0 .../routes/get_rule_alert_summary.test.ts | 0 .../server/routes/get_rule_alert_summary.ts | 0 .../routes/get_rule_execution_kpi.test.ts | 0 .../server/routes/get_rule_execution_kpi.ts | 0 .../routes/get_rule_execution_log.test.ts | 0 .../server/routes/get_rule_execution_log.ts | 0 .../server/routes/get_rule_state.test.ts | 0 .../alerting/server/routes/get_rule_state.ts | 0 .../shared}/alerting/server/routes/index.ts | 0 .../server/routes/lib/actions_schema.ts | 0 .../lib/count_usage_of_predefined_ids.test.ts | 0 .../lib/count_usage_of_predefined_ids.ts | 0 .../server/routes/lib/error_handler.ts | 0 .../alerting/server/routes/lib/index.ts | 0 .../alerting/server/routes/lib/rename_keys.ts | 0 .../server/routes/lib/rewrite_actions.test.ts | 0 .../server/routes/lib/rewrite_actions.ts | 0 .../routes/lib/rewrite_maintenance_window.ts | 0 .../server/routes/lib/rewrite_namespaces.ts | 0 .../server/routes/lib/rewrite_request_case.ts | 0 .../server/routes/lib/rewrite_rule.test.ts | 0 .../server/routes/lib/rewrite_rule.ts | 0 .../server/routes/lib/rrule_schema.ts | 0 .../lib/track_legacy_terminology.test.ts | 0 .../routes/lib/track_legacy_terminology.ts | 0 .../server/routes/lib/validate_hours.test.ts | 0 .../server/routes/lib/validate_hours.ts | 0 .../routes/lib/validate_timezone.test.ts | 0 .../server/routes/lib/validate_timezone.ts | 0 .../routes/lib/verify_access_and_context.ts | 0 .../archive_maintenance_window_route.test.ts | 0 .../archive_maintenance_window_route.ts | 0 ...bulk_get_maintenance_windows_route.test.ts | 0 .../bulk_get_maintenance_windows_route.ts | 0 .../apis/bulk_get/transforms/index.ts | 0 .../transform_bulk_get_response/latest.ts | 0 .../transform_bulk_get_response/v1.ts | 0 .../create_maintenance_window_route.test.ts | 0 .../create/create_maintenance_window_route.ts | 0 .../apis/create/transforms/index.ts | 0 .../transform_create_body/latest.ts | 0 .../transforms/transform_create_body/v1.ts | 0 .../delete_maintenance_window_route.test.ts | 0 .../delete/delete_maintenance_window_route.ts | 0 .../find_maintenance_windows_route.test.ts | 0 .../find/find_maintenance_windows_route.ts | 0 .../apis/find/transforms/index.ts | 0 .../latest.ts | 0 .../v1.test.ts | 0 .../v1.ts | 0 .../latest.ts | 0 .../v1.ts | 0 .../finish_maintenance_window_route.test.ts | 0 .../finish/finish_maintenance_window_route.ts | 0 .../get/get_maintenance_window_route.test.ts | 0 .../apis/get/get_maintenance_window_route.ts | 0 ...t_active_maintenance_windows_route.test.ts | 0 .../get_active_maintenance_windows_route.ts | 0 .../apis/update/transforms/index.ts | 0 .../transform_update_body/latest.ts | 0 .../transforms/transform_update_body/v1.ts | 0 .../update_maintenance_window_route.test.ts | 0 .../update/update_maintenance_window_route.ts | 0 .../maintenance_window/transforms/index.ts | 0 .../latest.ts | 0 .../v1.ts | 0 .../aggregate/aggregate_rules_route.test.ts | 0 .../apis/aggregate/aggregate_rules_route.ts | 0 .../index.test.ts | 0 .../index.ts | 0 .../rule/apis/aggregate/transforms/index.ts | 0 .../latest.ts | 0 .../transform_aggregate_body_response/v1.ts | 0 .../latest.ts | 0 .../transform_aggregate_query_request/v1.ts | 0 .../routes/rule/apis/aggregate/types/index.ts | 0 .../bulk_delete_rules_route.test.ts | 0 .../bulk_delete/bulk_delete_rules_route.ts | 0 .../bulk_disable_rules_route.test.ts | 0 .../bulk_disable/bulk_disable_rules_route.ts | 0 .../bulk_edit/bulk_edit_rules_route.test.ts | 0 .../apis/bulk_edit/bulk_edit_rules_route.ts | 0 .../rule/apis/bulk_edit/transforms/index.ts | 0 .../transforms/transform_operations/latest.ts | 0 .../transform_operations/v1.test.ts | 0 .../transforms/transform_operations/v1.ts | 0 .../bulk_enable_rules_route.test.ts | 0 .../bulk_enable/bulk_enable_rules_route.ts | 0 .../rule/apis/bulk_enable/transforms/index.ts | 0 .../transform_bulk_enable_response/latest.ts | 0 .../transform_bulk_enable_response/v1.test.ts | 0 .../transform_bulk_enable_response/v1.ts | 0 .../bulk_untrack_alerts_route.test.ts | 0 .../bulk_untrack/bulk_untrack_alerts_route.ts | 0 .../routes/rule/apis/bulk_untrack/index.ts | 0 .../apis/bulk_untrack/transforms/index.ts | 0 .../latest.ts | 0 .../transform_bulk_untrack_alerts_body/v1.ts | 0 ...bulk_untrack_alerts_by_query_route.test.ts | 0 .../bulk_untrack_alerts_by_query_route.ts | 0 .../rule/apis/bulk_untrack_by_query/index.ts | 0 .../bulk_untrack_by_query/transforms/index.ts | 0 .../latest.ts | 0 .../v1.ts | 0 .../rule/apis/clone/clone_rule_route.test.ts | 0 .../rule/apis/clone/clone_rule_route.ts | 0 .../apis/create/create_rule_route.test.ts | 0 .../rule/apis/create/create_rule_route.ts | 0 .../server/routes/rule/apis/create/index.ts | 0 .../rule/apis/create/transforms/index.ts | 0 .../transform_create_body/latest.ts | 0 .../transform_create_body/v1.test.ts | 0 .../transforms/transform_create_body/v1.ts | 0 .../apis/delete/delete_rule_route.test.ts | 0 .../rule/apis/delete/delete_rule_route.ts | 0 .../apis/disable/disable_rule_route.test.ts | 0 .../rule/apis/disable/disable_rule_route.ts | 0 .../apis/enable/enable_rule_route.test.ts | 0 .../rule/apis/enable/enable_rule_route.ts | 0 .../find/find_internal_rules_route.test.ts | 0 .../apis/find/find_internal_rules_route.ts | 0 .../rule/apis/find/find_rules_route.test.ts | 0 .../routes/rule/apis/find/find_rules_route.ts | 0 .../routes/rule/apis/find/transforms/index.ts | 0 .../transform_find_rules_body/latest.ts | 0 .../transform_find_rules_body/v1.ts | 0 .../transform_find_rules_response/latest.ts | 0 .../transform_find_rules_response/v1.ts | 0 .../rule/apis/get/get_rule_route.test.ts | 0 .../routes/rule/apis/get/get_rule_route.ts | 0 .../get_schedule_frequency_route.test.ts | 0 .../get_schedule_frequency_route.ts | 0 .../rule/apis/get_schedule_frequency/index.ts | 0 .../transforms/index.ts | 0 .../latest.ts | 0 .../v1.ts | 0 .../routes/rule/apis/list_types/index.ts | 0 .../rule/apis/list_types/rule_types.test.ts | 0 .../routes/rule/apis/list_types/rule_types.ts | 0 .../rule/apis/list_types/transforms/index.ts | 0 .../transform_rule_types_response/latest.ts | 0 .../transform_rule_types_response/v1.ts | 0 .../rule/apis/mute_alert/mute_alert.test.ts | 0 .../routes/rule/apis/mute_alert/mute_alert.ts | 0 .../rule/apis/mute_alert/transforms/index.ts | 0 .../latest.ts | 0 .../v1.ts | 0 .../rule/apis/mute_all/mute_all_rule.test.ts | 0 .../rule/apis/mute_all/mute_all_rule.ts | 0 .../server/routes/rule/apis/resolve/index.ts | 0 .../apis/resolve/resolve_rule_route.test.ts | 0 .../rule/apis/resolve/resolve_rule_route.ts | 0 .../rule/apis/resolve/transforms/index.ts | 0 .../transform_resolve_response/latest.ts | 0 .../transform_resolve_response/v1.ts | 0 .../server/routes/rule/apis/snooze/index.ts | 0 .../apis/snooze/snooze_rule_route.test.ts | 0 .../rule/apis/snooze/snooze_rule_route.ts | 0 .../rule/apis/snooze/transforms/index.ts | 0 .../transform_snooze_body/latest.ts | 0 .../transforms/transform_snooze_body/v1.ts | 0 .../rule/apis/tags/get_rule_tags.test.ts | 0 .../routes/rule/apis/tags/get_rule_tags.ts | 0 .../server/routes/rule/apis/tags/index.ts | 0 .../routes/rule/apis/tags/transforms/index.ts | 0 .../latest.ts | 0 .../transform_rule_tags_body_response/v1.ts | 0 .../latest.ts | 0 .../transform_rule_tags_query_request/v1.ts | 0 .../apis/unmute_alert/transforms/index.ts | 0 .../latest.ts | 0 .../v1.test.ts | 0 .../v1.ts | 0 .../unmute_alert/unmute_alert_route.test.ts | 0 .../apis/unmute_alert/unmute_alert_route.ts | 0 .../routes/rule/apis/unmute_all/index.ts | 0 .../apis/unmute_all/unmute_all_rule.test.ts | 0 .../rule/apis/unmute_all/unmute_all_rule.ts | 0 .../server/routes/rule/apis/unsnooze/index.ts | 0 .../rule/apis/unsnooze/transforms/index.ts | 0 .../transform_unsnooze_body/latest.ts | 0 .../transforms/transform_unsnooze_body/v1.ts | 0 .../apis/unsnooze/unsnooze_rule_route.test.ts | 0 .../rule/apis/unsnooze/unsnooze_rule_route.ts | 0 .../server/routes/rule/apis/update/index.ts | 0 .../rule/apis/update/transforms/index.ts | 0 .../transform_update_body/latest.ts | 0 .../transforms/transform_update_body/v1.ts | 0 .../apis/update/update_rule_route.test.ts | 0 .../rule/apis/update/update_rule_route.ts | 0 .../update_rule_api_key_route.test.ts | 0 .../update_rule_api_key_route.ts | 0 .../server/routes/rule/transforms/index.ts | 0 .../transform_rule_to_rule_response/latest.ts | 0 .../v1.test.ts | 0 .../transform_rule_to_rule_response/v1.ts | 0 .../server/routes/rule/validation/index.ts | 0 .../latest.ts | 0 .../v1.test.ts | 0 .../v1.ts | 0 .../apis/get/get_query_delay_settings.test.ts | 0 .../apis/get/get_query_delay_settings.ts | 0 .../update_query_delay_settings.test.ts | 0 .../update/update_query_delay_settings.ts | 0 .../routes/rules_settings/transforms/index.ts | 0 .../latest.ts | 0 .../v1.ts | 0 .../alerting/server/routes/run_soon.test.ts | 0 .../alerting/server/routes/run_soon.ts | 0 .../server/routes/suggestions/fields_rules.ts | 0 .../routes/suggestions/fileds_rule.test.ts | 0 .../values_suggestion_alerts.test.ts | 0 .../suggestions/values_suggestion_alerts.ts | 0 .../values_suggestion_rules.test.ts | 0 .../suggestions/values_suggestion_rules.ts | 0 .../routes/update_flapping_settings.test.ts | 0 .../server/routes/update_flapping_settings.ts | 0 .../server/rule_type_registry.mock.ts | 0 .../server/rule_type_registry.test.ts | 0 .../alerting/server/rule_type_registry.ts | 0 ...type_registry_deprecated_consumers.test.ts | 0 ...rule_type_registry_deprecated_consumers.ts | 0 .../alerting/server/rules_client.mock.ts | 0 .../api_key_as_alert_attributes.test.ts | 0 .../common/api_key_as_alert_attributes.ts | 0 .../common/apply_bulk_edit_operation.test.ts | 0 .../common/apply_bulk_edit_operation.ts | 0 .../rules_client/common/audit_events.test.ts | 0 .../rules_client/common/audit_events.ts | 0 .../common/build_kuery_node_filter.test.ts | 0 .../common/build_kuery_node_filter.ts | 0 .../server/rules_client/common/constants.ts | 0 .../rules_client/common/filters.test.ts | 0 .../server/rules_client/common/filters.ts | 0 .../common/generate_api_key_name.ts | 0 .../get_and_validate_common_bulk_options.ts | 0 ...lude_fields_required_for_authentication.ts | 0 .../server/rules_client/common/index.ts | 0 .../rules_client/common/inject_references.ts | 0 .../common/map_sort_field.test.ts | 0 .../rules_client/common/map_sort_field.ts | 0 .../common/mapped_params_utils.test.ts | 0 .../common/mapped_params_utils.ts | 0 .../server/rules_client/common/parse_date.ts | 0 .../retry_if_bulk_edit_conflicts.test.ts | 0 .../common/retry_if_bulk_edit_conflicts.ts | 0 .../retry_if_bulk_operation_conflicts.test.ts | 0 .../retry_if_bulk_operation_conflicts.ts | 0 .../rules_client/common/snooze_utils.ts | 0 .../common/try_to_remove_tasks.ts | 0 .../common/validate_attributes.test.ts | 0 .../common/validate_attributes.ts | 0 .../common/wait_before_next_retry.test.ts | 0 .../common/wait_before_next_retry.ts | 0 .../alerting/server/rules_client/index.ts | 0 .../lib/add_generated_action_values.test.ts | 0 .../lib/add_generated_action_values.ts | 0 .../lib/check_authorization_and_get_total.ts | 0 .../lib/create_new_api_key_set.test.ts | 0 .../lib/create_new_api_key_set.ts | 0 .../lib/create_rule_saved_object.ts | 0 .../rules_client/lib/denormalize_actions.ts | 0 .../rules_client/lib/extract_references.ts | 0 .../rules_client/lib/get_alert_from_raw.ts | 0 .../lib/get_authorization_filter.ts | 0 .../rules_client/lib/get_rule_saved_object.ts | 0 .../lib/increment_revision.test.ts | 0 .../rules_client/lib/increment_revision.ts | 0 .../alerting/server/rules_client/lib/index.ts | 0 .../lib/resolve_rule_saved_object.ts | 0 .../server/rules_client/lib/schedule_task.ts | 0 .../format_legacy_actions.test.ts | 0 .../format_legacy_actions.ts | 0 .../migrate_legacy_actions.test.ts | 0 .../migrate_legacy_actions.ts | 0 .../retrieve_migrated_legacy_actions.mock.ts | 0 .../retrieve_migrated_legacy_actions.test.ts | 0 .../retrieve_migrated_legacy_actions.ts | 0 .../transform_legacy_actions.test.ts | 0 .../transform_legacy_actions.ts | 0 .../transform_to_alert_throttle.test.ts | 0 .../transform_to_alert_throttle.ts | 0 .../transform_to_notify_when.test.ts | 0 .../transform_to_notify_when.ts | 0 .../lib/siem_legacy_actions/types.ts | 0 .../rules_client/lib/untrack_rule_alerts.ts | 0 .../server/rules_client/lib/update_meta.ts | 0 .../lib/update_meta_attributes.ts | 0 .../rules_client/lib/validate_actions.test.ts | 0 .../rules_client/lib/validate_actions.ts | 0 .../server/rules_client/methods/bulk_edit.ts | 0 .../methods/get_action_error_log.ts | 0 .../rules_client/methods/get_alert_state.ts | 0 .../rules_client/methods/get_alert_summary.ts | 0 .../rules_client/methods/get_execution_kpi.ts | 0 .../rules_client/methods/get_execution_log.ts | 0 .../server/rules_client/methods/run_soon.ts | 0 .../server/rules_client/rules_client.mock.ts | 0 .../server/rules_client/rules_client.ts | 0 .../tests/get_action_error_log.test.ts | 0 .../tests/get_alert_state.test.ts | 0 .../tests/get_alert_summary.test.ts | 0 .../tests/get_execution_log.test.ts | 0 .../alerting/server/rules_client/tests/lib.ts | 2 +- .../tests/list_rule_types.test.ts | 0 .../rules_client/tests/mute_all.test.ts | 0 .../rules_client/tests/mute_instance.test.ts | 0 .../server/rules_client/tests/resolve.test.ts | 0 .../rules_client/tests/run_soon.test.ts | 0 .../server/rules_client/tests/test_helpers.ts | 0 .../rules_client/tests/unmute_all.test.ts | 0 .../alerting/server/rules_client/types.ts | 0 .../rules_client_conflict_retries.test.ts | 0 .../server/rules_client_factory.test.ts | 0 .../alerting/server/rules_client_factory.ts | 0 .../rules_settings_flapping_client.test.ts | 0 .../rules_settings_flapping_client.ts | 0 .../alerting/server/rules_settings/index.ts | 0 .../rules_settings_query_delay_client.test.ts | 0 .../rules_settings_query_delay_client.ts | 0 .../rules_settings_client.mock.ts | 0 .../rules_settings_client.test.ts | 0 .../rules_settings/rules_settings_client.ts | 0 .../rules_settings_client_factory.test.ts | 0 .../rules_settings_client_factory.ts | 0 .../rules_settings_feature.test.ts | 0 .../rules_settings/rules_settings_feature.ts | 0 .../rules_settings_service.mock.ts | 0 .../rules_settings_service.test.ts | 0 .../rules_settings/rules_settings_service.ts | 0 .../rules_settings/schemas/flapping_schema.ts | 0 .../server/rules_settings/schemas/index.ts | 0 .../schemas/query_delay_schema.ts | 0 .../geo_containment/migrations.test.ts | 0 .../geo_containment/migrations.ts | 0 .../saved_objects/get_import_warnings.test.ts | 0 .../saved_objects/get_import_warnings.ts | 0 .../alerting/server/saved_objects/index.ts | 0 .../saved_objects/is_rule_exportable.test.ts | 0 .../saved_objects/is_rule_exportable.ts | 0 .../maintenance_window_mapping.ts | 0 .../saved_objects/migrations/7.10/index.ts | 0 .../saved_objects/migrations/7.11/index.ts | 0 .../saved_objects/migrations/7.13/index.ts | 0 .../saved_objects/migrations/7.14/index.ts | 0 .../saved_objects/migrations/7.15/index.ts | 0 .../saved_objects/migrations/7.16/index.ts | 0 .../saved_objects/migrations/8.0/index.ts | 0 .../saved_objects/migrations/8.2/index.ts | 0 .../saved_objects/migrations/8.3/index.ts | 0 .../saved_objects/migrations/8.4/index.ts | 0 .../saved_objects/migrations/8.5/index.ts | 0 .../saved_objects/migrations/8.6/index.ts | 1 - .../saved_objects/migrations/8.7/index.ts | 0 .../saved_objects/migrations/8.8/index.ts | 0 .../saved_objects/migrations/constants.ts | 0 .../saved_objects/migrations/index.test.ts | 0 .../server/saved_objects/migrations/index.ts | 0 .../server/saved_objects/migrations/types.ts | 0 .../server/saved_objects/migrations/utils.ts | 0 .../ad_hoc_run_params_model_versions.ts | 0 ...key_pending_invalidation_model_versions.ts | 0 .../saved_objects/model_versions/index.ts | 0 .../maintenance_window_model_versions.ts | 0 .../model_versions/rule_model_versions.ts | 0 .../rules_settings_model_versions.ts | 0 .../partially_update_rule.test.ts | 0 .../saved_objects/partially_update_rule.ts | 0 .../saved_objects/rrule_mappings_field.ts | 0 .../saved_objects/rules_settings_mappings.ts | 0 .../schemas/raw_ad_hoc_run_params/index.ts | 0 .../schemas/raw_ad_hoc_run_params/v1.ts | 0 .../raw_api_key_pending_invalidation/index.ts | 0 .../raw_api_key_pending_invalidation/v1.ts | 0 .../schemas/raw_maintenance_window/index.ts | 0 .../schemas/raw_maintenance_window/v1.ts | 0 .../saved_objects/schemas/raw_rule/index.ts | 0 .../saved_objects/schemas/raw_rule/latest.ts | 0 .../saved_objects/schemas/raw_rule/v1.ts | 0 .../saved_objects/schemas/raw_rule/v2.ts | 0 .../saved_objects/schemas/raw_rule/v3.ts | 0 .../schemas/raw_rules_settings/index.ts | 0 .../schemas/raw_rules_settings/v1.ts | 0 .../transform_rule_for_export.test.ts | 0 .../transform_rule_for_export.ts | 0 .../action_scheduler/action_scheduler.test.ts | 0 .../action_scheduler/action_scheduler.ts | 0 .../task_runner/action_scheduler/index.ts | 0 .../lib/build_rule_url.test.ts | 0 .../action_scheduler/lib/build_rule_url.ts | 0 .../lib/format_action_to_enqueue.test.ts | 0 .../lib/format_action_to_enqueue.ts | 0 .../lib/get_summarized_alerts.test.ts | 0 .../lib/get_summarized_alerts.ts | 0 .../task_runner/action_scheduler/lib/index.ts | 0 .../lib/rule_action_helper.test.ts | 0 .../lib/rule_action_helper.ts | 0 .../lib/should_schedule_action.test.ts | 0 .../lib/should_schedule_action.ts | 0 .../action_scheduler/schedulers/index.ts | 0 .../per_alert_action_scheduler.test.ts | 0 .../schedulers/per_alert_action_scheduler.ts | 0 .../summary_action_scheduler.test.ts | 0 .../schedulers/summary_action_scheduler.ts | 0 .../system_action_scheduler.test.ts | 0 .../schedulers/system_action_scheduler.ts | 0 .../action_scheduler/test_fixtures.ts | 2 +- .../task_runner/action_scheduler/types.ts | 0 .../task_runner/ad_hoc_task_runner.test.ts | 0 .../server/task_runner/ad_hoc_task_runner.ts | 0 .../ad_hoc_task_running_handler.test.ts | 0 .../ad_hoc_task_running_handler.ts | 0 .../task_runner/alert_task_instance.test.ts | 0 .../server/task_runner/alert_task_instance.ts | 0 .../alerting/server/task_runner/fixtures.ts | 0 .../task_runner/get_executor_services.ts | 0 .../alerting/server/task_runner/index.ts | 0 .../task_runner/inject_action_params.test.ts | 0 .../task_runner/inject_action_params.ts | 0 .../lib/clear_expired_snoozes.test.ts | 0 .../task_runner/lib/clear_expired_snoozes.ts | 0 .../alerting/server/task_runner/lib/index.ts | 0 .../lib/partially_update_ad_hoc_run.test.ts | 0 .../lib/partially_update_ad_hoc_run.ts | 0 .../lib/process_run_result.test.ts | 0 .../task_runner/lib/process_run_result.ts | 0 .../lib/task_runner_logger.test.ts | 0 .../task_runner/lib/task_runner_logger.ts | 0 .../task_runner/lib/with_alerting_span.ts | 0 .../server/task_runner/log_alerts.test.ts | 0 .../alerting/server/task_runner/log_alerts.ts | 0 .../get_maintenance_windows.test.ts | 0 .../get_maintenance_windows.ts | 0 .../task_runner/maintenance_windows/index.ts | 0 .../maintenance_windows_service.mock.ts | 0 .../maintenance_windows_service.test.ts | 0 .../maintenance_windows_service.ts | 0 .../server/task_runner/rule_loader.test.ts | 0 .../server/task_runner/rule_loader.ts | 0 .../task_runner/rule_running_handler.test.ts | 0 .../task_runner/rule_running_handler.ts | 0 .../task_runner/rule_type_runner.test.ts | 0 .../server/task_runner/rule_type_runner.ts | 0 .../server/task_runner/task_runner.test.ts | 0 .../server/task_runner/task_runner.ts | 0 .../task_runner_alerts_client.test.ts | 0 .../task_runner/task_runner_cancel.test.ts | 0 .../task_runner/task_runner_factory.test.ts | 0 .../server/task_runner/task_runner_factory.ts | 0 .../task_runner/task_runner_timer.test.ts | 0 .../server/task_runner/task_runner_timer.ts | 0 .../transform_action_params.test.ts | 0 .../task_runner/transform_action_params.ts | 4 +- .../alerting/server/task_runner/types.ts | 0 .../alerting/server/test_utils/index.ts | 3 +- .../plugins/shared}/alerting/server/types.ts | 0 .../usage/alerting_usage_collector.test.ts | 0 .../server/usage/alerting_usage_collector.ts | 0 .../shared}/alerting/server/usage/index.ts | 0 .../lib/get_telemetry_from_alerts.test.ts | 0 .../usage/lib/get_telemetry_from_alerts.ts | 0 .../lib/get_telemetry_from_event_log.test.ts | 0 .../usage/lib/get_telemetry_from_event_log.ts | 0 .../lib/get_telemetry_from_kibana.test.ts | 0 .../usage/lib/get_telemetry_from_kibana.ts | 0 .../get_telemetry_from_task_manager.test.ts | 0 .../lib/get_telemetry_from_task_manager.ts | 0 .../lib/group_connectors_by_consumers.ts | 0 .../lib/group_rules_by_notify_when.test.ts | 0 .../usage/lib/group_rules_by_notify_when.ts | 0 .../lib/group_rules_by_search_type.test.ts | 0 .../usage/lib/group_rules_by_search_type.ts | 0 .../usage/lib/group_rules_by_status.test.ts | 0 .../server/usage/lib/group_rules_by_status.ts | 0 .../lib/parse_simple_rule_type_bucket.test.ts | 0 .../lib/parse_simple_rule_type_bucket.ts | 0 .../lib/replace_dots_with_underscores.test.ts | 0 .../lib/replace_dots_with_underscores.ts | 0 .../shared}/alerting/server/usage/task.ts | 0 .../alerting/server/usage/task_state.test.ts | 0 .../alerting/server/usage/task_state.ts | 0 .../shared}/alerting/server/usage/types.ts | 0 .../plugins/shared}/alerting/tsconfig.json | 2 +- .../plugins/shared}/cases/README.md | 0 .../shared}/cases/common/api/helpers.ts | 0 .../plugins/shared}/cases/common/api/index.ts | 0 .../shared}/cases/common/api/runtime_types.ts | 0 .../shared}/cases/common/api/saved_object.ts | 0 .../cases/common/constants/application.ts | 0 .../shared}/cases/common/constants/files.ts | 0 .../shared}/cases/common/constants/index.ts | 0 .../cases/common/constants/mime_types.ts | 0 .../cases/common/constants/owner.test.ts | 0 .../shared}/cases/common/constants/owners.ts | 0 .../shared}/cases/common/constants/types.ts | 0 .../cases/common/constants/visualizations.ts | 0 .../shared}/cases/common/files/index.test.ts | 0 .../shared}/cases/common/files/index.ts | 0 .../plugins/shared}/cases/common/index.ts | 0 .../shared}/cases/common/registry.test.ts | 0 .../plugins/shared}/cases/common/registry.ts | 0 .../shared}/cases/common/schema/index.test.ts | 0 .../shared}/cases/common/schema/index.ts | 0 .../shared}/cases/common/schema/types.ts | 0 .../plugins/shared}/cases/common/types.ts | 0 .../cases/common/types/api/alert/latest.ts | 0 .../cases/common/types/api/alert/v1.test.ts | 0 .../cases/common/types/api/alert/v1.ts | 0 .../common/types/api/attachment/latest.ts | 0 .../common/types/api/attachment/v1.test.ts | 0 .../cases/common/types/api/attachment/v1.ts | 0 .../cases/common/types/api/case/latest.ts | 0 .../cases/common/types/api/case/v1.test.ts | 0 .../shared}/cases/common/types/api/case/v1.ts | 0 .../common/types/api/configure/latest.ts | 0 .../common/types/api/configure/v1.test.ts | 0 .../cases/common/types/api/configure/v1.ts | 0 .../common/types/api/connector/latest.ts | 0 .../common/types/api/connector/v1.test.ts | 0 .../cases/common/types/api/connector/v1.ts | 0 .../common/types/api/custom_field/latest.ts | 0 .../common/types/api/custom_field/v1.test.ts | 0 .../cases/common/types/api/custom_field/v1.ts | 0 .../types/api/external_service/latest.ts | 0 .../types/api/external_service/v1.test.ts | 0 .../common/types/api/external_service/v1.ts | 0 .../shared}/cases/common/types/api/index.ts | 0 .../cases/common/types/api/metrics/latest.ts | 0 .../cases/common/types/api/metrics/v1.test.ts | 0 .../cases/common/types/api/metrics/v1.ts | 0 .../common/types/api/observable/latest.ts | 0 .../common/types/api/observable/v1.test.ts | 0 .../cases/common/types/api/observable/v1.ts | 0 .../cases/common/types/api/stats/latest.ts | 0 .../cases/common/types/api/stats/v1.ts | 0 .../cases/common/types/api/user/latest.ts | 0 .../cases/common/types/api/user/v1.test.ts | 0 .../shared}/cases/common/types/api/user/v1.ts | 0 .../common/types/api/user_action/latest.ts | 0 .../common/types/api/user_action/v1.test.ts | 0 .../cases/common/types/api/user_action/v1.ts | 0 .../common/types/domain/attachment/latest.ts | 0 .../common/types/domain/attachment/v1.test.ts | 0 .../common/types/domain/attachment/v1.ts | 0 .../cases/common/types/domain/case/latest.ts | 0 .../cases/common/types/domain/case/v1.test.ts | 0 .../cases/common/types/domain/case/v1.ts | 0 .../common/types/domain/configure/latest.ts | 0 .../common/types/domain/configure/v1.test.ts | 0 .../cases/common/types/domain/configure/v1.ts | 0 .../common/types/domain/connector/latest.ts | 0 .../common/types/domain/connector/v1.test.ts | 0 .../cases/common/types/domain/connector/v1.ts | 0 .../types/domain/custom_field/latest.ts | 0 .../types/domain/custom_field/v1.test.ts | 0 .../common/types/domain/custom_field/v1.ts | 0 .../types/domain/external_service/latest.ts | 0 .../types/domain/external_service/v1.test.ts | 0 .../types/domain/external_service/v1.ts | 0 .../cases/common/types/domain/index.ts | 0 .../common/types/domain/observable/latest.ts | 0 .../common/types/domain/observable/v1.test.ts | 0 .../common/types/domain/observable/v1.ts | 0 .../cases/common/types/domain/user/latest.ts | 0 .../cases/common/types/domain/user/v1.test.ts | 0 .../cases/common/types/domain/user/v1.ts | 0 .../types/domain/user_action/action/latest.ts | 0 .../types/domain/user_action/action/v1.ts | 0 .../domain/user_action/assignees/latest.ts | 0 .../domain/user_action/assignees/v1.test.ts | 0 .../types/domain/user_action/assignees/v1.ts | 0 .../domain/user_action/category/latest.ts | 0 .../domain/user_action/category/v1.test.ts | 0 .../types/domain/user_action/category/v1.ts | 0 .../domain/user_action/comment/latest.ts | 0 .../domain/user_action/comment/v1.test.ts | 0 .../types/domain/user_action/comment/v1.ts | 0 .../domain/user_action/connector/latest.ts | 0 .../domain/user_action/connector/v1.test.ts | 0 .../types/domain/user_action/connector/v1.ts | 0 .../domain/user_action/create_case/latest.ts | 0 .../domain/user_action/create_case/v1.test.ts | 0 .../domain/user_action/create_case/v1.ts | 0 .../user_action/custom_fields/latest.ts | 0 .../user_action/custom_fields/v1.test.ts | 0 .../domain/user_action/custom_fields/v1.ts | 0 .../domain/user_action/delete_case/latest.ts | 0 .../domain/user_action/delete_case/v1.test.ts | 0 .../domain/user_action/delete_case/v1.ts | 0 .../domain/user_action/description/latest.ts | 0 .../domain/user_action/description/v1.test.ts | 0 .../domain/user_action/description/v1.ts | 0 .../common/types/domain/user_action/latest.ts | 0 .../types/domain/user_action/pushed/latest.ts | 0 .../domain/user_action/pushed/v1.test.ts | 0 .../types/domain/user_action/pushed/v1.ts | 0 .../domain/user_action/settings/latest.ts | 0 .../domain/user_action/settings/v1.test.ts | 0 .../types/domain/user_action/settings/v1.ts | 0 .../domain/user_action/severity/latest.ts | 0 .../domain/user_action/severity/v1.test.ts | 0 .../types/domain/user_action/severity/v1.ts | 0 .../types/domain/user_action/status/latest.ts | 0 .../domain/user_action/status/v1.test.ts | 0 .../types/domain/user_action/status/v1.ts | 0 .../types/domain/user_action/tags/latest.ts | 0 .../types/domain/user_action/tags/v1.test.ts | 0 .../types/domain/user_action/tags/v1.ts | 0 .../types/domain/user_action/title/latest.ts | 0 .../types/domain/user_action/title/v1.test.ts | 0 .../types/domain/user_action/title/v1.ts | 0 .../types/domain/user_action/v1.test.ts | 0 .../common/types/domain/user_action/v1.ts | 0 .../plugins/shared}/cases/common/ui/index.ts | 0 .../plugins/shared}/cases/common/ui/types.ts | 2 +- .../utils/__snapshots__/api_tags.test.ts.snap | 0 .../cases/common/utils/api_tags.test.ts | 0 .../shared}/cases/common/utils/api_tags.ts | 0 .../cases/common/utils/attachments.test.ts | 0 .../shared}/cases/common/utils/attachments.ts | 0 .../cases/common/utils/capabilities.test.tsx | 0 .../cases/common/utils/capabilities.ts | 2 +- .../cases/common/utils/connectors_api.ts | 0 .../shared}/cases/common/utils/index.ts | 0 .../utils/markdown_plugins/lens/constants.ts | 0 .../utils/markdown_plugins/lens/index.ts | 0 .../utils/markdown_plugins/lens/parser.ts | 0 .../utils/markdown_plugins/lens/serializer.ts | 0 .../utils/markdown_plugins/timeline/index.ts | 0 .../utils/markdown_plugins/timeline/parser.ts | 0 .../markdown_plugins/timeline/serializer.ts | 0 .../markdown_plugins/timeline/translations.ts | 0 .../utils/markdown_plugins/utils.test.ts | 0 .../common/utils/markdown_plugins/utils.ts | 0 .../shared}/cases/common/utils/owner.test.ts | 0 .../shared}/cases/common/utils/owner.ts | 0 .../cases/common/utils/user_actions.test.ts | 0 .../cases/common/utils/user_actions.ts | 0 .../shared}/cases/docs/openapi/README.md | 2 +- .../shared}/cases/docs/openapi/bundled.json | 0 .../shared}/cases/docs/openapi/bundled.yaml | 0 .../cases/docs/openapi/components/README.md | 0 .../examples/add_comment_request.yaml | 0 .../examples/add_comment_response.yaml | 0 .../examples/create_case_request.yaml | 0 .../examples/create_case_response.yaml | 0 .../examples/find_case_activity_response.yaml | 0 .../examples/find_case_response.yaml | 0 .../examples/find_connector_response.yaml | 0 .../examples/get_case_alerts_response.yaml | 0 .../get_case_configuration_response.yaml | 0 .../get_case_observability_response.yaml | 0 .../examples/get_case_response.yaml | 0 .../examples/get_comment_response.yaml | 0 .../examples/get_reporters_response.yaml | 0 .../examples/get_tags_response.yaml | 0 .../examples/push_case_response.yaml | 0 .../set_case_configuration_request.yaml | 0 .../set_case_configuration_response.yaml | 0 .../update_case_configuration_request.yaml | 0 .../update_case_configuration_response.yaml | 0 .../examples/update_case_request.yaml | 0 .../examples/update_case_response.yaml | 0 .../examples/update_comment_request.yaml | 0 .../examples/update_comment_response.yaml | 0 .../openapi/components/headers/kbn_xsrf.yaml | 0 .../components/parameters/alert_id.yaml | 0 .../parameters/assignees_filter.yaml | 0 .../components/parameters/case_id.yaml | 0 .../components/parameters/category.yaml | 0 .../components/parameters/comment_id.yaml | 0 .../parameters/configuration_id.yaml | 0 .../components/parameters/connector_id.yaml | 0 .../parameters/defaultSearchOperator.yaml | 0 .../openapi/components/parameters/from.yaml | 0 .../openapi/components/parameters/ids.yaml | 0 .../parameters/includeComments.yaml | 0 .../components/parameters/owner_filter.yaml | 0 .../components/parameters/page_index.yaml | 0 .../components/parameters/page_size.yaml | 0 .../components/parameters/reporters.yaml | 0 .../openapi/components/parameters/search.yaml | 0 .../components/parameters/searchFields.yaml | 0 .../parameters/searchFieldsType.yaml | 0 .../parameters/searchFieldsTypeArray.yaml | 0 .../components/parameters/severity.yaml | 0 .../components/parameters/sortField.yaml | 0 .../components/parameters/sort_order.yaml | 0 .../components/parameters/space_id.yaml | 0 .../openapi/components/parameters/status.yaml | 0 .../openapi/components/parameters/tags.yaml | 0 .../openapi/components/parameters/to.yaml | 0 .../parameters/user_action_types.yaml | 0 .../components/schemas/4xx_response.yaml | 0 .../components/schemas/action_types.yaml | 0 .../openapi/components/schemas/actions.yaml | 0 .../add_alert_comment_request_properties.yaml | 0 .../schemas/add_case_comment_request.yaml | 0 .../schemas/add_case_file_request.yaml | 0 .../add_user_comment_request_properties.yaml | 0 .../alert_comment_response_properties.yaml | 0 .../components/schemas/alert_identifiers.yaml | 0 .../components/schemas/alert_indices.yaml | 0 .../schemas/alert_response_properties.yaml | 0 .../openapi/components/schemas/assignees.yaml | 0 .../components/schemas/case_categories.yaml | 0 .../components/schemas/case_category.yaml | 0 .../case_configure_connector_properties.yaml | 0 .../schemas/case_configure_customfields.yaml | 0 .../case_configure_response_properties.yaml | 0 .../components/schemas/case_customfields.yaml | 0 .../components/schemas/case_description.yaml | 0 .../case_response_closed_by_properties.yaml | 0 ...e_response_connector_field_properties.yaml | 0 .../case_response_created_by_properties.yaml | 0 .../schemas/case_response_properties.yaml | 0 .../case_response_pushed_by_properties.yaml | 0 .../case_response_updated_by_properties.yaml | 0 .../components/schemas/case_severity.yaml | 0 .../components/schemas/case_status.yaml | 0 .../openapi/components/schemas/case_tags.yaml | 0 .../components/schemas/case_title.yaml | 0 .../components/schemas/closure_types.yaml | 0 .../components/schemas/comment_types.yaml | 0 .../schemas/connector_properties.yaml | 0 .../connector_properties_cases_webhook.yaml | 0 .../schemas/connector_properties_jira.yaml | 0 .../schemas/connector_properties_none.yaml | 0 .../connector_properties_resilient.yaml | 0 .../connector_properties_servicenow.yaml | 0 .../connector_properties_servicenow_sir.yaml | 0 .../connector_properties_swimlane.yaml | 0 .../connector_response_properties.yaml | 0 .../components/schemas/connector_types.yaml | 0 .../schemas/create_case_request.yaml | 0 .../components/schemas/external_service.yaml | 0 .../openapi/components/schemas/owner.yaml | 0 .../openapi/components/schemas/owners.yaml | 0 .../schemas/payload_alert_comment.yaml | 0 .../components/schemas/payload_assignees.yaml | 0 .../components/schemas/payload_connector.yaml | 0 .../schemas/payload_create_case.yaml | 0 .../components/schemas/payload_delete.yaml | 0 .../schemas/payload_description.yaml | 0 .../components/schemas/payload_pushed.yaml | 0 .../components/schemas/payload_settings.yaml | 0 .../components/schemas/payload_severity.yaml | 0 .../components/schemas/payload_status.yaml | 0 .../components/schemas/payload_tags.yaml | 0 .../components/schemas/payload_title.yaml | 0 .../schemas/payload_user_comment.yaml | 0 .../docs/openapi/components/schemas/rule.yaml | 0 .../components/schemas/rule_properties.yaml | 0 .../set_case_configuration_request.yaml | 0 .../openapi/components/schemas/settings.yaml | 0 .../openapi/components/schemas/string.yaml | 0 .../components/schemas/string_array.yaml | 0 .../components/schemas/template_tags.yaml | 0 .../openapi/components/schemas/templates.yaml | 0 ...date_alert_comment_request_properties.yaml | 0 .../schemas/update_case_comment_request.yaml | 0 .../update_case_configuration_request.yaml | 0 .../schemas/update_case_request.yaml | 0 ...pdate_user_comment_request_properties.yaml | 0 ...user_actions_find_response_properties.yaml | 0 .../user_actions_response_properties.yaml | 0 .../user_comment_response_properties.yaml | 0 .../components/schemas/user_properties.yaml | 0 .../cases/docs/openapi/entrypoint.yaml | 0 .../cases/docs/openapi/paths/README.md | 0 .../cases/docs/openapi/paths/api@cases.yaml | 0 .../docs/openapi/paths/api@cases@_find.yaml | 0 .../paths/api@cases@alerts@{alertid}.yaml | 0 .../openapi/paths/api@cases@configure.yaml | 0 .../api@cases@configure@connectors@_find.yaml | 0 ...api@cases@configure@{configurationid}.yaml | 0 .../openapi/paths/api@cases@reporters.yaml | 0 .../docs/openapi/paths/api@cases@status.yaml | 0 .../docs/openapi/paths/api@cases@tags.yaml | 0 .../openapi/paths/api@cases@{caseid}.yaml | 0 .../paths/api@cases@{caseid}@alerts.yaml | 0 .../paths/api@cases@{caseid}@comments.yaml | 0 .../api@cases@{caseid}@comments@_find.yaml | 0 ...i@cases@{caseid}@comments@{commentid}.yaml | 0 ...caseid}@connector@{connectorid}@_push.yaml | 0 .../paths/api@cases@{caseid}@files.yaml | 0 .../api@cases@{caseid}@user_actions.yaml | 0 ...api@cases@{caseid}@user_actions@_find.yaml | 0 .../shared}/cases/images/all_cases.png | Bin .../cases/images/all_cases_selector_modal.png | Bin .../shared}/cases/images/case_view.png | Bin .../shared}/cases/images/configure.png | Bin .../plugins/shared}/cases/images/create.png | Bin .../plugins/shared}/cases/images/logo.png | Bin .../shared}/cases/images/recent_cases.png | Bin .../plugins/shared/cases}/jest.config.js | 8 +- .../plugins/shared}/cases/kibana.jsonc | 0 .../plugins/shared}/cases/package.json | 0 .../cases/public/api/__mocks__/index.ts | 0 .../shared}/cases/public/api/decoders.ts | 0 .../shared}/cases/public/api/index.test.ts | 0 .../plugins/shared}/cases/public/api/index.ts | 0 .../shared}/cases/public/api/utils.test.ts | 0 .../plugins/shared}/cases/public/api/utils.ts | 0 .../shared}/cases/public/application.tsx | 0 .../cases/public/client/api/index.test.ts | 0 .../shared}/cases/public/client/api/index.ts | 0 .../external_reference_registry.ts | 0 .../persistable_state_registry.ts | 0 .../client/attachment_framework/types.ts | 0 .../client/helpers/can_use_cases.test.ts | 0 .../public/client/helpers/can_use_cases.ts | 0 .../client/helpers/capabilities.test.ts | 0 .../public/client/helpers/capabilities.ts | 0 .../client/helpers/get_rule_id_from_event.ts | 0 .../client/helpers/group_alerts_by_rule.ts | 0 .../ui/get_all_cases_selector_modal.tsx | 0 .../cases/public/client/ui/get_cases.tsx | 0 .../public/client/ui/get_cases_context.tsx | 0 .../client/ui/get_create_case_flyout.tsx | 0 .../public/client/ui/get_recent_cases.tsx | 0 .../common/apm/use_cases_transactions.test.ts | 0 .../common/apm/use_cases_transactions.ts | 0 .../common/apm/use_start_transaction.ts | 0 .../shared}/cases/public/common/errors.ts | 0 .../cases/public/common/hooks.test.tsx | 0 .../shared}/cases/public/common/hooks.ts | 0 .../common/lib/kibana/__mocks__/index.ts | 0 .../lib/kibana/__mocks__/use_application.tsx | 0 .../public/common/lib/kibana/hooks.test.tsx | 0 .../cases/public/common/lib/kibana/hooks.ts | 0 .../cases/public/common/lib/kibana/index.ts | 0 .../common/lib/kibana/kibana_react.mock.tsx | 0 .../public/common/lib/kibana/kibana_react.ts | 0 .../public/common/lib/kibana/services.ts | 0 .../lib/kibana/use_application.test.tsx | 0 .../common/lib/kibana/use_application.tsx | 0 .../cases/public/common/mock/connectors.ts | 0 .../shared}/cases/public/common/mock/index.ts | 0 .../cases/public/common/mock/permissions.ts | 0 .../public/common/mock/register_connectors.ts | 0 .../public/common/mock/test_providers.tsx | 0 .../common/navigation/__mocks__/hooks.ts | 0 .../common/navigation/deep_links.test.ts | 0 .../public/common/navigation/deep_links.ts | 0 .../public/common/navigation/hooks.test.tsx | 0 .../cases/public/common/navigation/hooks.ts | 0 .../cases/public/common/navigation/index.ts | 0 .../public/common/navigation/paths.test.ts | 0 .../cases/public/common/navigation/paths.ts | 0 .../cases/public/common/test_utils.tsx | 0 .../cases/public/common/translations.ts | 0 .../public/common/use_cases_features.test.tsx | 0 .../public/common/use_cases_features.tsx | 0 .../common/use_cases_local_storage.test.tsx | 0 .../public/common/use_cases_local_storage.tsx | 0 .../public/common/use_cases_toast.test.tsx | 0 .../cases/public/common/use_cases_toast.tsx | 0 .../public/common/use_is_user_typing.test.tsx | 0 .../public/common/use_is_user_typing.tsx | 0 .../cases/public/common/use_license.test.tsx | 0 .../cases/public/common/use_license.tsx | 0 .../cases/public/components/__mock__/form.ts | 0 .../public/components/__mock__/timeline.tsx | 0 .../assignees/edit_assignees_flyout.test.tsx | 0 .../assignees/edit_assignees_flyout.tsx | 0 .../edit_assignees_selectable.test.tsx | 0 .../assignees/edit_assignees_selectable.tsx | 0 .../assignees/no_selected_assignees.test.tsx | 0 .../assignees/no_selected_assignees.tsx | 0 .../actions/assignees/translations.ts | 0 .../assignees/use_assignees_action.test.tsx | 0 .../assignees/use_assignees_action.tsx | 0 .../copy_id/use_copy_id_action.test.tsx | 0 .../actions/copy_id/use_copy_id_action.tsx | 0 .../components/actions/delete/translations.ts | 0 .../actions/delete/use_delete_action.test.tsx | 0 .../actions/delete/use_delete_action.tsx | 0 .../actions/severity/translations.ts | 0 .../severity/use_severity_action.test.tsx | 0 .../actions/severity/use_severity_action.tsx | 0 .../components/actions/status/translations.ts | 0 .../status/use_should_disable_status.test.tsx | 0 .../status/use_should_disable_status.tsx | 0 .../actions/status/use_status_action.test.tsx | 0 .../actions/status/use_status_action.tsx | 0 .../actions/tags/edit_tags_flyout.test.tsx | 0 .../actions/tags/edit_tags_flyout.tsx | 0 .../tags/edit_tags_selectable.test.tsx | 0 .../actions/tags/edit_tags_selectable.tsx | 0 .../components/actions/tags/translations.ts | 0 .../actions/tags/use_tags_action.test.tsx | 0 .../actions/tags/use_tags_action.tsx | 0 .../public/components/actions/translations.ts | 0 .../cases/public/components/actions/types.ts | 0 .../actions/use_items_action.test.tsx | 0 .../components/actions/use_items_action.tsx | 0 .../actions/use_items_state.test.tsx | 0 .../components/actions/use_items_state.tsx | 0 .../components/add_comment/index.test.tsx | 0 .../public/components/add_comment/index.tsx | 0 .../public/components/add_comment/schema.tsx | 0 .../components/add_comment/translations.ts | 0 .../all_cases/all_cases_list.test.tsx | 0 .../components/all_cases/all_cases_list.tsx | 0 .../all_cases/assignees_column.test.tsx | 0 .../components/all_cases/assignees_column.tsx | 0 .../all_cases/assignees_filter.test.tsx | 0 .../components/all_cases/assignees_filter.tsx | 0 .../all_cases/cases_metrics.test.tsx | 0 .../components/all_cases/cases_metrics.tsx | 0 .../all_cases/columns_popover.test.tsx | 0 .../components/all_cases/columns_popover.tsx | 0 .../public/components/all_cases/constants.ts | 0 .../components/all_cases/header.test.tsx | 0 .../public/components/all_cases/header.tsx | 0 .../components/all_cases/index.test.tsx | 0 .../public/components/all_cases/index.tsx | 0 .../all_cases/multi_select_filter.test.tsx | 0 .../all_cases/multi_select_filter.tsx | 0 .../components/all_cases/nav_buttons.test.tsx | 0 .../components/all_cases/nav_buttons.tsx | 0 .../components/all_cases/schema.test.ts | 0 .../public/components/all_cases/schema.ts | 0 .../components/all_cases/search.test.tsx | 0 .../public/components/all_cases/search.tsx | 0 .../all_cases_selector_modal.test.tsx | 0 .../all_cases_selector_modal.tsx | 0 .../all_cases/selector_modal/index.tsx | 0 ..._cases_add_to_existing_case_modal.test.tsx | 0 .../use_cases_add_to_existing_case_modal.tsx | 0 .../all_cases/severity_filter.test.tsx | 0 .../components/all_cases/severity_filter.tsx | 0 .../all_cases/solution_filter.test.tsx | 0 .../components/all_cases/solution_filter.tsx | 0 .../all_cases/status_filter.test.tsx | 0 .../components/all_cases/status_filter.tsx | 0 .../public/components/all_cases/table.tsx | 0 .../more_filters_selectable.tsx | 0 .../all_cases/table_filter_config/types.ts | 0 .../use_custom_fields_filter_config.tsx | 0 .../use_filter_config.test.tsx | 0 .../table_filter_config/use_filter_config.tsx | 0 .../use_system_filter_config.tsx | 0 .../all_cases/table_filters.test.tsx | 0 .../components/all_cases/table_filters.tsx | 0 .../components/all_cases/translations.ts | 0 .../public/components/all_cases/types.ts | 0 .../components/all_cases/use_actions.test.tsx | 0 .../components/all_cases/use_actions.tsx | 0 .../all_cases/use_all_cases_state.test.tsx | 0 .../all_cases/use_all_cases_state.tsx | 0 .../all_cases/use_bulk_actions.test.tsx | 0 .../components/all_cases/use_bulk_actions.tsx | 0 .../all_cases/use_cases_columns.test.tsx | 0 .../all_cases/use_cases_columns.tsx | 0 .../use_cases_columns_configuration.test.tsx | 0 .../use_cases_columns_configuration.tsx | 0 .../use_cases_columns_selection.test.tsx | 0 .../all_cases/use_cases_columns_selection.tsx | 0 .../all_cases/use_is_loading_cases.tsx | 0 .../all_cases/use_on_refresh_cases.test.tsx | 0 .../all_cases/use_on_refresh_cases.tsx | 0 .../components/all_cases/utility_bar.test.tsx | 0 .../components/all_cases/utility_bar.tsx | 0 .../all_cases_url_state_deserializer.test.ts | 0 .../utils/all_cases_url_state_deserializer.ts | 0 .../all_cases_url_state_serializer.test.ts | 0 .../utils/all_cases_url_state_serializer.ts | 0 .../components/all_cases/utils/index.test.ts | 0 .../components/all_cases/utils/index.ts | 0 ...rge_selected_columns_with_configuration.ts | 0 .../all_cases/utils/parse_url_params.test.tsx | 0 .../all_cases/utils/parse_url_params.tsx | 0 .../all_cases/utils/sanitize_state.test.ts | 0 .../all_cases/utils/sanitize_state.ts | 0 .../utils/stringify_url_params.test.tsx | 0 .../all_cases/utils/stringify_url_params.tsx | 0 .../cases/public/components/app/index.tsx | 0 .../public/components/app/routes.test.tsx | 0 .../cases/public/components/app/routes.tsx | 0 .../public/components/app/translations.ts | 0 .../cases/public/components/app/types.ts | 0 .../app/use_available_owners.test.ts | 0 .../components/app/use_available_owners.ts | 0 .../app/use_readonly_header.test.tsx | 0 .../components/app/use_readonly_header.ts | 0 .../callouts/case_callouts.test.tsx | 0 .../components/callouts/case_callouts.tsx | 0 .../callouts/platinum_callout.test.tsx | 0 .../components/callouts/platinum_callout.tsx | 0 .../components/callouts/translations.ts | 0 .../action_bar_status_item.test.tsx | 0 .../action_bar_status_item.tsx | 0 .../case_action_bar/actions.test.tsx | 0 .../components/case_action_bar/actions.tsx | 0 .../case_action_bar/helpers.test.ts | 0 .../components/case_action_bar/helpers.ts | 0 .../components/case_action_bar/index.test.tsx | 0 .../components/case_action_bar/index.tsx | 0 .../status_context_menu.test.tsx | 0 .../case_action_bar/status_context_menu.tsx | 0 .../case_form_fields/assignees.test.tsx | 0 .../components/case_form_fields/assignees.tsx | 0 .../case_form_fields/category.test.tsx | 0 .../components/case_form_fields/category.tsx | 0 .../case_form_fields/connector.test.tsx | 0 .../components/case_form_fields/connector.tsx | 0 .../case_form_fields/custom_fields.test.tsx | 0 .../case_form_fields/custom_fields.tsx | 0 .../case_form_fields/description.test.tsx | 0 .../case_form_fields/description.tsx | 0 .../case_form_fields/index.test.tsx | 0 .../components/case_form_fields/index.tsx | 0 .../components/case_form_fields/schema.tsx | 0 .../case_form_fields/severity.test.tsx | 0 .../components/case_form_fields/severity.tsx | 0 .../sync_alerts_toggle.test.tsx | 0 .../case_form_fields/sync_alerts_toggle.tsx | 0 .../components/case_form_fields/tags.test.tsx | 0 .../components/case_form_fields/tags.tsx | 0 .../case_form_fields/title.test.tsx | 0 .../components/case_form_fields/title.tsx | 0 .../case_form_fields/translations.ts | 0 .../components/case_form_fields/utils.test.ts | 0 .../components/case_form_fields/utils.ts | 0 .../case_settings/sync_alerts_switch.test.tsx | 0 .../case_settings/sync_alerts_switch.tsx | 0 .../use_on_refresh_case_view_page.tsx | 0 .../case_view/case_view_page.test.tsx | 0 .../components/case_view/case_view_page.tsx | 0 .../case_view/case_view_tabs.test.tsx | 0 .../components/case_view/case_view_tabs.tsx | 0 .../components/assign_users.test.tsx | 0 .../case_view/components/assign_users.tsx | 0 .../components/case_view_activity.test.tsx | 0 .../components/case_view_activity.tsx | 0 .../components/case_view_alerts.test.tsx | 0 .../case_view/components/case_view_alerts.tsx | 0 .../components/case_view_alerts_empty.tsx | 0 .../components/case_view_files.test.tsx | 0 .../case_view/components/case_view_files.tsx | 0 .../components/case_view_observables.test.tsx | 0 .../components/case_view_observables.tsx | 0 .../case_view_similar_cases.test.tsx | 0 .../components/case_view_similar_cases.tsx | 0 .../components/custom_fields.test.tsx | 0 .../case_view/components/custom_fields.tsx | 0 .../components/edit_category.test.tsx | 0 .../case_view/components/edit_category.tsx | 0 .../case_view/components/edit_tags.test.tsx | 0 .../case_view/components/edit_tags.tsx | 0 .../case_view/components/helpers.test.ts | 0 .../case_view/components/helpers.ts | 0 .../case_view/components/sidebar_section.tsx | 0 .../case_view/components/sidebar_title.tsx | 0 .../components/suggest_users_popover.test.tsx | 0 .../components/suggest_users_popover.tsx | 0 .../case_view/components/user_list.test.tsx | 0 .../case_view/components/user_list.tsx | 0 .../components/case_view/does_not_exist.tsx | 0 .../components/case_view/index.test.tsx | 0 .../public/components/case_view/index.tsx | 0 .../case_view/metrics/index.test.tsx | 0 .../components/case_view/metrics/index.tsx | 0 .../components/case_view/metrics/status.tsx | 0 .../components/case_view/metrics/totals.tsx | 0 .../case_view/metrics/translations.ts | 0 .../public/components/case_view/mocks.ts | 0 .../components/case_view/translations.ts | 0 .../public/components/case_view/types.ts | 0 .../case_view/use_case_observables.test.ts | 0 .../case_view/use_case_observables.ts | 0 .../use_on_refresh_case_view_page.tsx | 0 .../case_view/use_on_update_field.ts | 0 .../cases_global_components.test.tsx | 0 .../cases_context/cases_global_components.tsx | 0 .../public/components/cases_context/index.tsx | 0 .../components/cases_context/query_client.ts | 0 .../state/cases_context_reducer.ts | 0 .../state/cases_state_context.ts | 2 +- .../state/use_is_add_to_case_open.test.tsx | 0 .../state/use_is_add_to_case_open.ts | 0 .../cases_context/use_cases_context.ts | 2 +- .../category/category_component.test.tsx | 0 .../category/category_component.tsx | 0 .../category/category_form_field.test.tsx | 0 .../category/category_form_field.tsx | 0 .../category_viewer_component.test.tsx | 0 .../category/category_viewer_component.tsx | 0 .../components/category/translations.ts | 0 .../configure_cases/__mock__/index.tsx | 0 .../configure_cases/closure_options.test.tsx | 0 .../configure_cases/closure_options.tsx | 0 .../closure_options_radio.test.tsx | 0 .../configure_cases/closure_options_radio.tsx | 0 .../configure_cases/connectors.test.tsx | 0 .../components/configure_cases/connectors.tsx | 0 .../connectors_dropdown.test.tsx | 0 .../configure_cases/connectors_dropdown.tsx | 0 .../delete_confirmation_modal.test.tsx | 0 .../delete_confirmation_modal.tsx | 0 .../configure_cases/field_mapping.test.tsx | 0 .../configure_cases/field_mapping.tsx | 0 .../field_mapping_row_static.tsx | 0 .../configure_cases/flyout.test.tsx | 0 .../components/configure_cases/flyout.tsx | 0 .../components/configure_cases/index.test.tsx | 0 .../components/configure_cases/index.tsx | 0 .../configure_cases/mapping.test.tsx | 0 .../components/configure_cases/mapping.tsx | 0 .../configure_cases/translations.ts | 0 .../components/configure_cases/utils.test.tsx | 0 .../components/configure_cases/utils.ts | 0 .../components/confirm_delete_case/index.tsx | 0 .../confirm_delete_case/translations.ts | 0 .../connector_selector/form.test.tsx | 0 .../components/connector_selector/form.tsx | 0 .../components/connectors/card.test.tsx | 0 .../public/components/connectors/card.tsx | 0 .../connectors/cases_webhook/case_fields.tsx | 0 .../case_fields_preview.test.tsx | 0 .../cases_webhook/case_fields_preview.tsx | 0 .../connectors/cases_webhook/index.ts | 0 .../connectors/cases_webhook/translations.ts | 0 .../connectors/connectors_registry.ts | 0 .../public/components/connectors/constants.ts | 0 .../connectors/deprecated_callout.test.tsx | 0 .../connectors/deprecated_callout.tsx | 0 .../components/connectors/fields_form.tsx | 0 .../connectors/fields_preview_form.tsx | 0 .../public/components/connectors/index.ts | 0 .../connectors/jira/__mocks__/api.ts | 0 .../components/connectors/jira/api.test.ts | 0 .../public/components/connectors/jira/api.ts | 0 .../connectors/jira/case_fields.test.tsx | 0 .../connectors/jira/case_fields.tsx | 0 .../jira/case_fields_preview.test.tsx | 0 .../connectors/jira/case_fields_preview.tsx | 0 .../components/connectors/jira/index.ts | 0 .../connectors/jira/search_issues.tsx | 0 .../connectors/jira/translations.ts | 0 .../components/connectors/jira/types.ts | 0 .../use_get_fields_by_issue_type.test.tsx | 0 .../jira/use_get_fields_by_issue_type.tsx | 0 .../connectors/jira/use_get_issue.test.tsx | 0 .../connectors/jira/use_get_issue.tsx | 0 .../jira/use_get_issue_types.test.tsx | 0 .../connectors/jira/use_get_issue_types.tsx | 0 .../connectors/jira/use_get_issues.test.tsx | 0 .../connectors/jira/use_get_issues.tsx | 0 .../public/components/connectors/mock.ts | 0 .../connectors/resilient/__mocks__/api.ts | 0 .../components/connectors/resilient/api.ts | 0 .../connectors/resilient/case_fields.test.tsx | 0 .../connectors/resilient/case_fields.tsx | 0 .../resilient/case_fields_preview.test.tsx | 0 .../resilient/case_fields_preview.tsx | 0 .../components/connectors/resilient/index.ts | 0 .../connectors/resilient/translations.ts | 0 .../components/connectors/resilient/types.ts | 0 .../resilient/use_get_incident_types.test.tsx | 0 .../resilient/use_get_incident_types.tsx | 0 .../resilient/use_get_severity.test.tsx | 0 .../connectors/resilient/use_get_severity.tsx | 0 .../rewrite_response_to_camel_case.test.ts | 0 .../rewrite_response_to_camel_case.ts | 0 .../connectors/servicenow/__mocks__/api.ts | 0 .../connectors/servicenow/api.test.ts | 0 .../components/connectors/servicenow/api.ts | 0 .../connectors/servicenow/helpers.ts | 0 .../components/connectors/servicenow/index.ts | 0 .../servicenow_itsm_case_fields.test.tsx | 0 .../servicenow_itsm_case_fields.tsx | 0 ...rvicenow_itsm_case_fields_preview.test.tsx | 0 .../servicenow_itsm_case_fields_preview.tsx | 0 .../servicenow_sir_case_fields.test.tsx | 0 .../servicenow/servicenow_sir_case_fields.tsx | 0 ...ervicenow_sir_case_fields_preview.test.tsx | 0 .../servicenow_sir_case_fields_preview.tsx | 0 .../connectors/servicenow/translations.ts | 0 .../components/connectors/servicenow/types.ts | 0 .../servicenow/use_get_choices.test.tsx | 0 .../connectors/servicenow/use_get_choices.tsx | 0 .../connectors/swimlane/case_fields.test.tsx | 0 .../connectors/swimlane/case_fields.tsx | 0 .../swimlane/case_fields_preview.test.tsx | 0 .../swimlane/case_fields_preview.tsx | 0 .../components/connectors/swimlane/index.ts | 0 .../connectors/swimlane/translations.ts | 0 .../connectors/swimlane/validator.test.ts | 0 .../connectors/swimlane/validator.ts | 0 .../components/connectors/test_utils.tsx | 0 .../connectors/thehive/case_fields.test.tsx | 0 .../connectors/thehive/case_fields.tsx | 0 .../thehive/case_fields_preview.test.tsx | 0 .../thehive/case_fields_preview.tsx | 0 .../components/connectors/thehive/index.ts | 0 .../connectors/thehive/translations.ts | 0 .../components/connectors/thehive/types.ts | 0 .../public/components/connectors/types.ts | 0 ...ancel_creation_confirmation_modal.test.tsx | 0 .../cancel_creation_confirmation_modal.tsx | 0 .../create/flyout/create_case_flyout.test.tsx | 0 .../create/flyout/create_case_flyout.tsx | 0 .../public/components/create/flyout/index.tsx | 0 .../use_cases_add_to_new_case_flyout.test.tsx | 0 .../use_cases_add_to_new_case_flyout.tsx | 0 .../public/components/create/form.test.tsx | 0 .../cases/public/components/create/form.tsx | 0 .../components/create/form_context.test.tsx | 0 .../public/components/create/form_context.tsx | 0 .../public/components/create/form_fields.tsx | 0 .../public/components/create/index.test.tsx | 0 .../cases/public/components/create/index.tsx | 0 .../cases/public/components/create/mock.ts | 0 .../components/create/owner_selector.test.tsx | 0 .../components/create/owner_selector.tsx | 0 .../cases/public/components/create/schema.tsx | 0 .../components/create/submit_button.test.tsx | 0 .../components/create/submit_button.tsx | 0 .../components/create/template.test.tsx | 0 .../public/components/create/templates.tsx | 0 .../public/components/create/translations.ts | 0 .../use_cancel_creation_action.test.tsx | 0 .../create/use_cancel_creation_action.tsx | 0 .../public/components/create/utils.test.ts | 0 .../cases/public/components/create/utils.ts | 0 .../components/custom_fields/builder.tsx | 0 .../custom_fields_list/index.test.tsx | 0 .../custom_fields_list/index.tsx | 0 .../delete_confirmation_modal.test.tsx | 0 .../delete_confirmation_modal.tsx | 0 .../components/custom_fields/form.test.tsx | 0 .../public/components/custom_fields/form.tsx | 0 .../custom_fields/form_fields.test.tsx | 0 .../components/custom_fields/form_fields.tsx | 0 .../components/custom_fields/index.test.tsx | 0 .../public/components/custom_fields/index.tsx | 0 .../components/custom_fields/number/config.ts | 0 .../custom_fields/number/configure.test.tsx | 0 .../custom_fields/number/configure.tsx | 0 .../number/configure_number_field.test.ts | 0 .../number/configure_number_field.ts | 0 .../custom_fields/number/create.test.tsx | 0 .../custom_fields/number/create.tsx | 0 .../custom_fields/number/edit.test.tsx | 0 .../components/custom_fields/number/edit.tsx | 0 .../number/get_eui_table_column.test.tsx | 0 .../number/get_eui_table_column.tsx | 0 .../custom_fields/number/view.test.tsx | 0 .../components/custom_fields/number/view.tsx | 0 .../components/custom_fields/schema.tsx | 0 .../components/custom_fields/text/config.ts | 0 .../custom_fields/text/configure.test.tsx | 0 .../custom_fields/text/configure.tsx | 0 .../text/configure_text_field.test.ts | 0 .../text/configure_text_field.ts | 0 .../custom_fields/text/create.test.tsx | 0 .../components/custom_fields/text/create.tsx | 0 .../custom_fields/text/edit.test.tsx | 0 .../components/custom_fields/text/edit.tsx | 0 .../text/get_eui_table_column.test.tsx | 0 .../text/get_eui_table_column.tsx | 0 .../custom_fields/text/view.test.tsx | 0 .../components/custom_fields/text/view.tsx | 0 .../custom_fields/toggle/configure.test.tsx | 0 .../custom_fields/toggle/configure.tsx | 0 .../toggle/configure_text_field.test.ts | 0 .../toggle/configure_toggle_field.ts | 0 .../custom_fields/toggle/create.test.tsx | 0 .../custom_fields/toggle/create.tsx | 0 .../custom_fields/toggle/edit.test.tsx | 0 .../components/custom_fields/toggle/edit.tsx | 0 .../toggle/get_eui_table_column.test.tsx | 0 .../toggle/get_eui_table_column.tsx | 0 .../custom_fields/toggle/view.test.tsx | 0 .../components/custom_fields/toggle/view.tsx | 0 .../components/custom_fields/translations.ts | 0 .../public/components/custom_fields/types.ts | 0 .../components/custom_fields/utils.test.ts | 0 .../public/components/custom_fields/utils.ts | 0 .../components/description/index.test.tsx | 0 .../public/components/description/index.tsx | 0 .../public/components/description/schema.ts | 0 .../edit_connector/connectors_form.test.tsx | 0 .../edit_connector/connectors_form.tsx | 0 .../components/edit_connector/index.test.tsx | 0 .../components/edit_connector/index.tsx | 0 .../edit_connector/push_button.test.tsx | 0 .../components/edit_connector/push_button.tsx | 0 .../edit_connector/push_callouts.test.tsx | 0 .../edit_connector/push_callouts.tsx | 0 .../components/edit_connector/translations.ts | 0 .../__snapshots__/empty_value.test.tsx.snap | 0 .../empty_value/empty_value.test.tsx | 0 .../public/components/empty_value/index.tsx | 0 .../components/empty_value/translations.ts | 0 .../experimental_badge.test.tsx | 0 .../experimental_badge/experimental_badge.tsx | 0 .../public/components/files/add_file.test.tsx | 0 .../public/components/files/add_file.tsx | 0 .../file_actions_popover_button.test.tsx | 0 .../files/file_actions_popover_button.tsx | 0 .../files/file_attachment_event.test.tsx | 0 .../files/file_attachment_event.tsx | 0 .../files/file_delete_button.test.tsx | 0 .../components/files/file_delete_button.tsx | 0 .../files/file_download_button.test.tsx | 0 .../components/files/file_download_button.tsx | 0 .../components/files/file_name_link.test.tsx | 0 .../components/files/file_name_link.tsx | 0 .../components/files/file_preview.test.tsx | 0 .../public/components/files/file_preview.tsx | 0 .../components/files/file_type.test.tsx | 0 .../public/components/files/file_type.tsx | 0 .../components/files/files_table.test.tsx | 0 .../public/components/files/files_table.tsx | 0 .../files/files_utility_bar.test.tsx | 0 .../components/files/files_utility_bar.tsx | 0 .../public/components/files/translations.tsx | 0 .../cases/public/components/files/types.ts | 0 .../files/use_file_preview.test.tsx | 0 .../components/files/use_file_preview.tsx | 0 .../files/use_files_table_columns.test.tsx | 0 .../files/use_files_table_columns.tsx | 0 .../public/components/files/utils.test.tsx | 0 .../cases/public/components/files/utils.tsx | 0 .../components/filter_popover/index.test.tsx | 0 .../components/filter_popover/index.tsx | 0 .../__snapshots__/index.test.tsx.snap | 0 .../components/formatted_date/index.test.tsx | 0 .../components/formatted_date/index.tsx | 0 .../formatted_date/maybe_date.test.ts | 0 .../components/formatted_date/maybe_date.ts | 0 .../header_page/editable_title.test.tsx | 0 .../components/header_page/editable_title.tsx | 0 .../components/header_page/index.test.tsx | 0 .../public/components/header_page/index.tsx | 0 .../components/header_page/title.test.tsx | 0 .../public/components/header_page/title.tsx | 0 .../components/header_page/translations.ts | 0 .../components/insert_timeline/index.test.tsx | 0 .../components/insert_timeline/index.tsx | 0 .../__snapshots__/index.test.tsx.snap | 0 .../components/link_icon/index.test.tsx | 0 .../public/components/link_icon/index.tsx | 0 .../public/components/links/index.test.tsx | 0 .../cases/public/components/links/index.tsx | 0 .../public/components/links/translations.ts | 0 .../localized_date_tooltip/index.test.tsx | 0 .../localized_date_tooltip/index.tsx | 0 .../components/markdown_editor/context.tsx | 0 .../editable_markdown_footer.tsx | 0 .../editable_markdown_renderer.test.tsx | 0 .../editable_markdown_renderer.tsx | 0 .../components/markdown_editor/editor.tsx | 0 .../components/markdown_editor/eui_form.tsx | 0 .../components/markdown_editor/index.tsx | 0 .../markdown_editor/markdown_link.tsx | 0 .../lens/__mocks__/use_lens_draft_comment.ts | 0 .../markdown_editor/plugins/lens/constants.ts | 0 .../markdown_editor/plugins/lens/index.ts | 0 .../markdown_editor/plugins/lens/parser.ts | 0 .../markdown_editor/plugins/lens/plugin.tsx | 0 .../plugins/lens/translations.ts | 0 .../plugins/lens/use_lens_button_toggle.ts | 0 .../plugins/lens/use_lens_draft_comment.ts | 0 .../lens/use_lens_open_visualization.tsx | 0 .../markdown_editor/renderer.test.tsx | 0 .../components/markdown_editor/renderer.tsx | 0 .../scrollable_markdown_renderer.test.tsx | 0 .../scrollable_markdown_renderer.tsx | 0 .../markdown_editor/translations.ts | 0 .../components/markdown_editor/types.ts | 0 .../use_markdown_session_storage.test.tsx | 0 .../use_markdown_session_storage.tsx | 0 .../components/markdown_editor/use_plugins.ts | 0 .../components/markdown_editor/utils.test.ts | 0 .../components/markdown_editor/utils.ts | 0 .../public/components/no_privileges/index.tsx | 0 .../components/no_privileges/translations.ts | 0 .../delete_confirmation_modal.test.tsx | 0 .../delete_confirmation_modal.tsx | 0 .../components/observable_types/form.test.tsx | 0 .../components/observable_types/form.tsx | 0 .../observable_types/form_fields.test.tsx | 0 .../observable_types/form_fields.tsx | 0 .../observable_types/index.test.tsx | 0 .../components/observable_types/index.tsx | 0 .../observable_types_list/index.test.tsx | 0 .../observable_types_list/index.tsx | 0 .../components/observable_types/schema.tsx | 0 .../observable_types/translations.ts | 0 .../observables/add_observable.test.tsx | 0 .../components/observables/add_observable.tsx | 0 .../public/components/observables/builder.tsx | 0 .../edit_observable_modal.test.tsx | 0 .../observables/edit_observable_modal.tsx | 0 .../observables/fields_config.test.ts | 0 .../components/observables/fields_config.ts | 0 ...observable_actions_popover_button.test.tsx | 0 .../observable_actions_popover_button.tsx | 0 .../observables/observable_form.test.tsx | 0 .../observables/observable_form.tsx | 0 .../observables/observables_table.test.tsx | 0 .../observables/observables_table.tsx | 0 .../observables_utility_bar.test.tsx | 0 .../observables/observables_utility_bar.tsx | 0 .../components/observables/translations.tsx | 0 .../optional_field_label/index.test.tsx | 0 .../components/optional_field_label/index.tsx | 0 .../components/property_actions/index.tsx | 0 .../property_actions/translations.ts | 0 .../recent_cases/filters/index.test.tsx | 0 .../components/recent_cases/filters/index.tsx | 0 .../recent_cases/get_filter_options.test.ts | 0 .../recent_cases/get_filter_options.ts | 0 .../recent_cases/icon_with_count.tsx | 0 .../components/recent_cases/index.test.tsx | 0 .../public/components/recent_cases/index.tsx | 0 .../recent_cases/loading_placeholders.tsx | 0 .../recent_cases/no_cases/index.test.tsx | 0 .../recent_cases/no_cases/index.tsx | 0 .../components/recent_cases/recent_cases.tsx | 0 .../components/recent_cases/translations.ts | 0 .../public/components/recent_cases/types.ts | 0 .../removable_item/removable_item.test.tsx | 0 .../removable_item/removable_item.tsx | 0 .../public/components/severity/config.ts | 0 .../components/severity/selector.test.tsx | 0 .../public/components/severity/selector.tsx | 0 .../components/severity/sidebar_selector.tsx | 0 .../components/severity/translations.ts | 0 .../components/similar_cases/table.test.tsx | 0 .../public/components/similar_cases/table.tsx | 0 .../components/similar_cases/translations.ts | 0 .../use_similar_cases_columns.tsx | 0 .../public/components/status/button.test.tsx | 0 .../cases/public/components/status/button.tsx | 0 .../cases/public/components/status/config.ts | 0 .../cases/public/components/status/index.ts | 0 .../status/status_popover_button.test.tsx | 0 .../status/status_popover_button.tsx | 0 .../components/status/status_stats.test.tsx | 0 .../public/components/status/status_stats.tsx | 0 .../public/components/status/translations.ts | 0 .../cases/public/components/status/types.ts | 0 .../system_actions/cases/cases.test.tsx | 0 .../components/system_actions/cases/cases.tsx | 0 .../cases/cases_params.test.tsx | 0 .../system_actions/cases/cases_params.tsx | 0 .../system_actions/cases/constants.ts | 0 .../system_actions/cases/translations.ts | 0 .../components/system_actions/cases/types.ts | 0 .../system_actions/cases/utils.test.ts | 0 .../components/system_actions/cases/utils.ts | 0 .../public/components/system_actions/index.ts | 0 .../cases/public/components/tags/tags.tsx | 0 .../public/components/tags/translations.ts | 0 .../public/components/templates/form.test.tsx | 0 .../public/components/templates/form.tsx | 0 .../components/templates/form_fields.test.tsx | 0 .../components/templates/form_fields.tsx | 0 .../components/templates/index.test.tsx | 0 .../public/components/templates/index.tsx | 0 .../components/templates/schema.test.tsx | 0 .../public/components/templates/schema.tsx | 0 .../templates/template_fields.test.tsx | 0 .../components/templates/template_fields.tsx | 0 .../templates/template_tags.test.tsx | 0 .../components/templates/template_tags.tsx | 0 .../templates/templates_list.test.tsx | 0 .../components/templates/templates_list.tsx | 0 .../components/templates/translations.ts | 0 .../public/components/templates/types.ts | 0 .../public/components/templates/utils.test.ts | 0 .../public/components/templates/utils.ts | 0 .../components/timeline_context/index.tsx | 0 .../timeline_context/use_timeline_context.ts | 0 .../components/truncated_text/index.tsx | 0 .../shared}/cases/public/components/types.ts | 0 .../components/use_breadcrumbs/index.test.tsx | 0 .../components/use_breadcrumbs/index.ts | 0 .../create_case_modal.test.tsx | 0 .../create_case_modal.tsx | 0 .../use_create_case_modal/index.test.tsx | 0 .../use_create_case_modal/index.tsx | 0 .../callout/callout.test.tsx | 0 .../use_push_to_service/callout/callout.tsx | 0 .../callout/helpers.test.tsx | 0 .../use_push_to_service/callout/helpers.tsx | 0 .../callout/index.test.tsx | 0 .../use_push_to_service/callout/index.tsx | 0 .../callout/translations.ts | 0 .../use_push_to_service/callout/types.ts | 0 .../use_push_to_service/helpers.tsx | 0 .../use_push_to_service/index.test.tsx | 0 .../components/use_push_to_service/index.tsx | 0 .../use_push_to_service/translations.ts | 0 .../user_actions/assignees.test.tsx | 0 .../components/user_actions/assignees.tsx | 0 .../components/user_actions/builder.tsx | 0 .../components/user_actions/category.test.tsx | 0 .../components/user_actions/category.tsx | 0 .../registered_attachments.test.tsx.snap | 0 .../user_actions/comment/actions.tsx | 0 .../user_actions/comment/alert.test.tsx | 0 .../components/user_actions/comment/alert.tsx | 0 .../user_actions/comment/alert_event.test.tsx | 0 .../user_actions/comment/alert_event.tsx | 0 .../user_actions/comment/comment.test.tsx | 0 .../user_actions/comment/comment.tsx | 0 .../comment/external_reference.tsx | 0 .../comment/host_isolation_event.test.tsx | 0 .../comment/host_isolation_event.tsx | 0 .../comment/persistable_state.tsx | 0 .../comment/registered_attachments.test.tsx | 0 .../comment/registered_attachments.tsx | 0 .../user_actions/comment/show_alert.test.tsx | 0 .../user_actions/comment/show_alert.tsx | 0 .../comment/show_alert_table_link.test.tsx | 0 .../comment/show_alert_table_link.tsx | 0 .../user_actions/comment/translations.tsx | 0 .../components/user_actions/comment/user.tsx | 0 .../components/user_actions/common.test.tsx | 0 .../public/components/user_actions/common.tsx | 0 .../user_actions/connector.test.tsx | 0 .../components/user_actions/connector.tsx | 0 .../components/user_actions/constants.ts | 0 .../user_actions/content_toolbar.test.tsx | 0 .../user_actions/content_toolbar.tsx | 0 .../user_actions/copy_link.test.tsx | 0 .../components/user_actions/copy_link.tsx | 0 .../user_actions/create_case.test.tsx | 0 .../components/user_actions/create_case.tsx | 0 .../custom_fields/custom_fields.test.tsx | 0 .../custom_fields/custom_fields.tsx | 0 ...ete_attachment_confirmation_modal.test.tsx | 0 .../delete_attachment_confirmation_modal.tsx | 0 .../user_actions/description.test.tsx | 0 .../components/user_actions/description.tsx | 0 .../components/user_actions/helpers.test.ts | 0 .../public/components/user_actions/helpers.ts | 0 .../components/user_actions/index.test.tsx | 0 .../public/components/user_actions/index.tsx | 0 .../user_actions/markdown_form.test.tsx | 0 .../components/user_actions/markdown_form.tsx | 0 .../public/components/user_actions/mock.ts | 0 .../user_actions/move_to_reference.test.tsx | 0 .../user_actions/move_to_reference.tsx | 0 .../alert_property_actions.test.tsx | 0 .../alert_property_actions.tsx | 0 .../property_actions.test.tsx | 0 .../property_actions/property_actions.tsx | 0 ...ered_attachments_property_actions.test.tsx | 0 ...egistered_attachments_property_actions.tsx | 0 .../property_actions/translations.tsx | 0 .../use_delete_property_action.test.tsx | 0 .../use_delete_property_action.tsx | 0 .../user_comment_property_actions.test.tsx | 0 .../user_comment_property_actions.tsx | 0 .../components/user_actions/pushed.test.tsx | 0 .../public/components/user_actions/pushed.tsx | 0 .../public/components/user_actions/schema.ts | 0 .../components/user_actions/settings.test.tsx | 0 .../components/user_actions/settings.tsx | 0 .../components/user_actions/severity.test.tsx | 0 .../components/user_actions/severity.tsx | 0 .../user_actions/show_more_button.test.tsx | 0 .../user_actions/show_more_button.tsx | 0 .../components/user_actions/status.test.tsx | 0 .../public/components/user_actions/status.tsx | 0 .../components/user_actions/tags.test.tsx | 0 .../public/components/user_actions/tags.tsx | 0 .../user_actions/timestamp.test.tsx | 0 .../components/user_actions/timestamp.tsx | 0 .../components/user_actions/title.test.tsx | 0 .../public/components/user_actions/title.tsx | 0 .../components/user_actions/translations.ts | 0 .../public/components/user_actions/types.ts | 0 .../user_actions/use_last_page.test.tsx | 0 .../components/user_actions/use_last_page.tsx | 0 .../use_user_actions_handler.test.tsx | 0 .../user_actions/use_user_actions_handler.tsx | 0 .../use_user_actions_last_page.test.tsx | 0 .../use_user_actions_last_page.tsx | 0 .../use_user_actions_pagination.test.tsx | 0 .../use_user_actions_pagination.tsx | 0 .../use_user_permissions.test.tsx | 0 .../user_actions/use_user_permissions.tsx | 0 .../user_actions_aria_labels.test.tsx | 0 .../user_actions/user_actions_aria_labels.tsx | 0 .../user_actions/user_actions_list.test.tsx | 0 .../user_actions/user_actions_list.tsx | 0 .../filter_activity.test.tsx | 0 .../filter_activity.tsx | 0 .../user_actions_activity_bar/index.test.tsx | 0 .../user_actions_activity_bar/index.tsx | 0 .../sort_activity.test.tsx | 0 .../sort_activity.tsx | 0 .../user_actions_activity_bar/translations.ts | 0 .../user_actions_activity_bar/types.ts | 0 .../user_profiles/data_test_subject.ts | 0 .../user_profiles/display_name.test.ts | 0 .../components/user_profiles/display_name.ts | 0 .../user_profiles/empty_message.test.tsx | 0 .../user_profiles/empty_message.tsx | 0 .../user_profiles/hoverable_avatar.test.tsx | 0 .../user_profiles/hoverable_avatar.tsx | 0 .../hoverable_avatar_resolver.test.tsx | 0 .../hoverable_avatar_resolver.tsx | 0 .../hoverable_user_with_avatar.test.tsx | 0 .../hoverable_user_with_avatar.tsx | 0 ...verable_user_with_avatar_resolver.test.tsx | 0 .../hoverable_user_with_avatar_resolver.tsx | 0 .../hoverable_username_resolver.test.tsx | 0 .../hoverable_username_resolver.tsx | 0 .../user_profiles/no_matches.test.tsx | 0 .../components/user_profiles/no_matches.tsx | 0 .../user_profiles/removable_user.test.tsx | 0 .../user_profiles/removable_user.tsx | 0 .../user_profiles/small_user_avatar.test.tsx | 0 .../user_profiles/small_user_avatar.tsx | 0 .../components/user_profiles/sort.test.ts | 0 .../public/components/user_profiles/sort.ts | 0 .../components/user_profiles/translations.ts | 0 .../public/components/user_profiles/types.ts | 0 .../components/user_profiles/unknown_user.tsx | 0 .../user_profiles/user_avatar.test.tsx | 0 .../components/user_profiles/user_avatar.tsx | 0 .../user_profiles/user_converter.test.ts | 0 .../user_profiles/user_converter.ts | 0 .../user_profiles/user_tooltip.test.tsx | 0 .../components/user_profiles/user_tooltip.tsx | 0 .../user_profiles/username.test.tsx | 0 .../components/user_profiles/username.tsx | 0 .../cases/public/components/utils.test.ts | 0 .../shared}/cases/public/components/utils.ts | 0 .../actions/__mocks__/action_wrapper.tsx | 0 .../actions/action_wrapper.test.tsx | 0 .../visualizations/actions/action_wrapper.tsx | 0 .../actions/add_to_existing_case.tsx | 0 .../convert_to_absolute_time_range.test.tsx | 0 .../actions/convert_to_absolute_time_range.ts | 0 .../visualizations/actions/index.ts | 0 .../actions/is_compatible.test.ts | 0 .../visualizations/actions/is_compatible.ts | 0 .../visualizations/actions/mocks.ts | 0 .../actions/open_modal.test.tsx | 0 .../visualizations/actions/open_modal.tsx | 0 .../visualizations/actions/register.ts | 0 .../visualizations/actions/translations.ts | 0 .../visualizations/actions/types.ts | 0 .../visualizations/actions/utils.test.ts | 0 .../visualizations/actions/utils.ts | 0 .../visualizations/attachment.test.tsx | 0 .../components/visualizations/attachment.tsx | 0 .../components/visualizations/index.mock.ts | 0 .../visualizations/lens_renderer.test.tsx | 0 .../visualizations/lens_renderer.tsx | 0 .../visualizations/open_lens_button.test.tsx | 0 .../visualizations/open_lens_button.tsx | 0 .../visualizations/translations.tsx | 0 .../public/components/visualizations/types.ts | 0 .../cases/public/containers/__mocks__/api.ts | 0 .../__mocks__/use_get_action_license.tsx | 0 .../cases/public/containers/api.test.tsx | 0 .../shared}/cases/public/containers/api.ts | 0 .../containers/configure/__mocks__/api.ts | 0 .../public/containers/configure/api.test.ts | 0 .../cases/public/containers/configure/api.ts | 0 .../cases/public/containers/configure/mock.ts | 0 .../containers/configure/translations.ts | 0 .../public/containers/configure/types.ts | 0 .../configure/use_action_types.test.tsx | 0 .../containers/configure/use_action_types.tsx | 0 .../use_get_all_case_configurations.test.ts | 0 .../use_get_all_case_configurations.tsx | 0 .../use_get_case_configuration.test.tsx | 0 .../configure/use_get_case_configuration.tsx | 0 .../use_get_case_configurations_query.test.ts | 0 .../use_get_case_configurations_query.tsx | 0 .../use_get_supported_action_connectors.tsx | 0 ...t_supported_action_connectors.tsx.test.tsx | 0 .../use_persist_configuration.test.tsx | 0 .../configure/use_persist_configuration.tsx | 0 .../public/containers/configure/utils.test.ts | 0 .../public/containers/configure/utils.ts | 0 .../cases/public/containers/constants.ts | 0 .../shared}/cases/public/containers/mock.ts | 2 +- .../cases/public/containers/translations.ts | 0 .../shared}/cases/public/containers/types.ts | 0 .../containers/use_bulk_update_case.test.tsx | 0 .../containers/use_bulk_update_case.tsx | 0 .../use_create_attachments.test.tsx | 0 .../containers/use_create_attachments.tsx | 0 .../containers/use_delete_cases.test.tsx | 0 .../public/containers/use_delete_cases.tsx | 0 .../containers/use_delete_comment.test.tsx | 0 .../public/containers/use_delete_comment.tsx | 0 .../use_delete_file_attachment.test.tsx | 0 .../containers/use_delete_file_attachment.tsx | 0 .../use_delete_observables.test.tsx | 0 .../containers/use_delete_observables.tsx | 0 .../use_find_case_user_actions.test.tsx | 0 .../containers/use_find_case_user_actions.tsx | 0 .../use_get_action_license.test.tsx | 0 .../containers/use_get_action_license.tsx | 0 .../public/containers/use_get_case.test.tsx | 0 .../cases/public/containers/use_get_case.tsx | 0 .../use_get_case_connectors.test.tsx | 0 .../containers/use_get_case_connectors.tsx | 0 .../use_get_case_file_stats.test.tsx | 0 .../containers/use_get_case_file_stats.tsx | 0 .../containers/use_get_case_files.test.tsx | 0 .../public/containers/use_get_case_files.tsx | 0 .../containers/use_get_case_metrics.test.tsx | 0 .../containers/use_get_case_metrics.tsx | 0 .../use_get_case_user_actions_stats.test.tsx | 0 .../use_get_case_user_actions_stats.tsx | 0 .../containers/use_get_case_users.test.tsx | 0 .../public/containers/use_get_case_users.tsx | 0 .../public/containers/use_get_cases.test.tsx | 0 .../cases/public/containers/use_get_cases.tsx | 0 .../containers/use_get_cases_metrics.test.tsx | 0 .../containers/use_get_cases_metrics.tsx | 0 .../containers/use_get_categories.test.tsx | 0 .../public/containers/use_get_categories.tsx | 0 .../containers/use_get_feature_ids.test.tsx | 0 .../public/containers/use_get_feature_ids.tsx | 0 .../containers/use_get_similar_cases.test.tsx | 0 .../containers/use_get_similar_cases.tsx | 0 .../public/containers/use_get_tags.test.tsx | 0 .../cases/public/containers/use_get_tags.tsx | 0 ...e_infinite_find_case_user_actions.test.tsx | 0 .../use_infinite_find_case_user_actions.tsx | 0 .../containers/use_messages_storage.test.tsx | 0 .../containers/use_messages_storage.tsx | 0 .../containers/use_patch_observables.test.tsx | 0 .../containers/use_patch_observables.tsx | 0 .../public/containers/use_post_case.test.tsx | 0 .../cases/public/containers/use_post_case.tsx | 0 .../containers/use_post_observables.test.tsx | 0 .../containers/use_post_observables.tsx | 0 .../use_post_push_to_service.test.tsx | 0 .../containers/use_post_push_to_service.tsx | 0 .../use_replace_custom_field.test.tsx | 0 .../containers/use_replace_custom_field.tsx | 0 .../containers/use_update_case.test.tsx | 0 .../public/containers/use_update_case.tsx | 0 .../containers/use_update_comment.test.tsx | 0 .../public/containers/use_update_comment.tsx | 0 .../containers/user_profiles/__mocks__/api.ts | 0 .../containers/user_profiles/api.mock.ts | 0 .../containers/user_profiles/api.test.ts | 0 .../public/containers/user_profiles/api.ts | 0 .../user_profiles/use_assignees.test.ts | 0 .../containers/user_profiles/use_assignees.ts | 0 .../use_bulk_get_user_profiles.test.ts | 0 .../use_bulk_get_user_profiles.ts | 0 .../use_get_current_user_profile.test.ts | 0 .../use_get_current_user_profile.ts | 0 .../use_suggest_user_profiles.test.ts | 0 .../use_suggest_user_profiles.ts | 0 .../cases/public/containers/utils.test.ts | 0 .../shared}/cases/public/containers/utils.ts | 0 .../shared}/cases/public/files/index.test.ts | 0 .../shared}/cases/public/files/index.ts | 0 .../cases/public/files/translations.ts | 0 .../shared}/cases/public/files/types.ts | 0 .../plugins/shared}/cases/public/index.tsx | 0 .../public/internal_attachments/index.ts | 0 .../plugins/shared}/cases/public/mocks.ts | 0 .../cases/public/mocks/mock_cases_context.tsx | 0 .../shared}/cases/public/plugin.test.ts | 0 .../plugins/shared}/cases/public/plugin.ts | 0 .../plugins/shared}/cases/public/types.ts | 0 .../cases/public/utils/permissions.test.ts | 0 .../shared}/cases/public/utils/permissions.ts | 0 .../cases/public/utils/use_mount_appended.ts | 0 .../external_reference_registry.ts | 0 .../server/attachment_framework/mocks.ts | 0 .../persistable_state_registry.test.ts | 0 .../persistable_state_registry.ts | 0 .../so_references.test.ts | 0 .../attachment_framework/so_references.ts | 0 .../server/attachment_framework/types.ts | 0 .../__snapshots__/audit_logger.test.ts.snap | 0 .../__snapshots__/authorization.test.ts.snap | 0 .../server/authorization/audit_logger.test.ts | 0 .../server/authorization/audit_logger.ts | 0 .../authorization/authorization.test.ts | 0 .../server/authorization/authorization.ts | 0 .../cases/server/authorization/index.test.ts | 0 .../cases/server/authorization/index.ts | 0 .../cases/server/authorization/mock.ts | 0 .../cases/server/authorization/types.ts | 0 .../cases/server/authorization/utils.test.ts | 0 .../cases/server/authorization/utils.ts | 0 .../cases/server/client/alerts/get.test.ts | 0 .../shared}/cases/server/client/alerts/get.ts | 0 .../cases/server/client/alerts/types.ts | 0 .../server/client/attachments/add.test.ts | 0 .../cases/server/client/attachments/add.ts | 0 .../client/attachments/add_file.test.ts | 0 .../server/client/attachments/add_file.ts | 0 .../client/attachments/bulk_create.test.ts | 0 .../server/client/attachments/bulk_create.ts | 0 .../client/attachments/bulk_delete.test.ts | 0 .../server/client/attachments/bulk_delete.ts | 0 .../client/attachments/bulk_get.test.ts | 0 .../server/client/attachments/bulk_get.ts | 0 .../cases/server/client/attachments/client.ts | 0 .../server/client/attachments/delete.test.ts | 0 .../cases/server/client/attachments/delete.ts | 0 .../server/client/attachments/get.test.ts | 0 .../cases/server/client/attachments/get.ts | 0 .../cases/server/client/attachments/types.ts | 0 .../server/client/attachments/update.test.ts | 0 .../cases/server/client/attachments/update.ts | 0 .../server/client/attachments/validators.ts | 0 .../server/client/cases/bulk_create.test.ts | 0 .../cases/server/client/cases/bulk_create.ts | 0 .../server/client/cases/bulk_get.test.ts | 0 .../cases/server/client/cases/bulk_get.ts | 0 .../server/client/cases/bulk_update.test.ts | 0 .../cases/server/client/cases/bulk_update.ts | 0 .../cases/server/client/cases/client.ts | 0 .../cases/server/client/cases/create.test.ts | 0 .../cases/server/client/cases/create.ts | 0 .../cases/server/client/cases/delete.test.ts | 0 .../cases/server/client/cases/delete.ts | 0 .../cases/server/client/cases/get.test.ts | 0 .../shared}/cases/server/client/cases/get.ts | 0 .../shared}/cases/server/client/cases/mock.ts | 0 .../server/client/cases/observables.test.ts | 0 .../cases/server/client/cases/observables.ts | 0 .../shared}/cases/server/client/cases/push.ts | 0 .../client/cases/replace_custom_field.test.ts | 0 .../client/cases/replace_custom_field.ts | 0 .../cases/server/client/cases/search.test.ts | 0 .../cases/server/client/cases/search.ts | 0 .../cases/server/client/cases/similar.test.ts | 0 .../cases/server/client/cases/similar.ts | 0 .../cases/server/client/cases/translations.ts | 0 .../cases/server/client/cases/types.ts | 0 .../cases/server/client/cases/utils.test.ts | 0 .../cases/server/client/cases/utils.ts | 0 .../server/client/cases/validators.test.ts | 0 .../cases/server/client/cases/validators.ts | 0 .../shared}/cases/server/client/client.ts | 0 .../cases/server/client/client_internal.ts | 0 .../server/client/configure/client.test.ts | 0 .../cases/server/client/configure/client.ts | 0 .../client/configure/create_mappings.ts | 0 .../server/client/configure/get_mappings.ts | 0 .../cases/server/client/configure/types.ts | 0 .../client/configure/update_mappings.ts | 0 .../client/configure/validators.test.ts | 0 .../server/client/configure/validators.ts | 0 .../cases/server/client/factory.test.ts | 0 .../shared}/cases/server/client/factory.ts | 0 .../cases/server/client/files/index.test.ts | 0 .../cases/server/client/files/index.ts | 0 .../shared}/cases/server/client/index.ts | 0 .../client/metrics/actions/actions.test.ts | 0 .../server/client/metrics/actions/actions.ts | 0 .../actions/aggregations/isolate_host.ts | 0 .../server/client/metrics/actions/index.ts | 0 .../client/metrics/aggregation_handler.ts | 0 .../metrics/alerts/aggregations/hosts.ts | 0 .../metrics/alerts/aggregations/index.ts | 0 .../metrics/alerts/aggregations/users.ts | 0 .../client/metrics/alerts/count.test.ts | 0 .../server/client/metrics/alerts/count.ts | 0 .../client/metrics/alerts/details.test.ts | 0 .../server/client/metrics/alerts/details.ts | 0 .../aggregations/avg_duration.test.ts | 0 .../all_cases/aggregations/avg_duration.ts | 0 .../aggregations/status_counts.test.ts | 0 .../all_cases/aggregations/status_counts.ts | 0 .../client/metrics/all_cases/mttr.test.ts | 0 .../server/client/metrics/all_cases/mttr.ts | 0 .../client/metrics/all_cases/status.test.ts | 0 .../server/client/metrics/all_cases/status.ts | 0 .../metrics/all_cases_aggregation_handler.ts | 0 .../client/metrics/all_cases_base_handler.ts | 0 .../server/client/metrics/base_handler.ts | 0 .../cases/server/client/metrics/client.ts | 0 .../server/client/metrics/connectors.test.ts | 0 .../cases/server/client/metrics/connectors.ts | 0 .../client/metrics/get_case_metrics.test.ts | 0 .../server/client/metrics/get_case_metrics.ts | 0 .../client/metrics/get_cases_metrics.test.ts | 0 .../client/metrics/get_cases_metrics.ts | 0 .../client/metrics/get_status_totals.test.ts | 0 .../client/metrics/get_status_totals.ts | 0 .../server/client/metrics/lifespan.test.ts | 0 .../cases/server/client/metrics/lifespan.ts | 0 .../single_case_aggregation_handler.ts | 0 .../metrics/single_case_base_handler.ts | 0 .../client/metrics/test_utils/alerts.ts | 0 .../client/metrics/test_utils/client.ts | 0 .../client/metrics/test_utils/lifespan.ts | 0 .../cases/server/client/metrics/types.ts | 0 .../cases/server/client/metrics/utils.test.ts | 0 .../cases/server/client/metrics/utils.ts | 0 .../shared}/cases/server/client/mocks.ts | 0 .../server/client/observable_types.test.ts | 0 .../cases/server/client/observable_types.ts | 0 .../shared}/cases/server/client/types.ts | 0 .../server/client/user_actions/client.ts | 0 .../server/client/user_actions/connectors.ts | 0 .../server/client/user_actions/find.test.ts | 0 .../cases/server/client/user_actions/find.ts | 0 .../cases/server/client/user_actions/get.ts | 0 .../cases/server/client/user_actions/stats.ts | 0 .../cases/server/client/user_actions/types.ts | 0 .../cases/server/client/user_actions/users.ts | 0 .../cases/server/client/user_actions/utils.ts | 0 .../cases/server/client/user_profiles.mock.ts | 0 .../shared}/cases/server/client/utils.test.ts | 0 .../shared}/cases/server/client/utils.ts | 4 +- .../cases/server/client/validators.test.ts | 0 .../shared}/cases/server/client/validators.ts | 0 .../shared}/cases/server/common/constants.ts | 0 .../shared}/cases/server/common/error.test.ts | 0 .../shared}/cases/server/common/error.ts | 0 .../shared}/cases/server/common/index.ts | 0 .../common/limiter_checker/base_limiter.ts | 0 .../common/limiter_checker/index.test.ts | 0 .../server/common/limiter_checker/index.ts | 0 .../limiter_checker/limiters/alerts.test.ts | 0 .../common/limiter_checker/limiters/alerts.ts | 0 .../limiter_checker/limiters/files.test.ts | 0 .../common/limiter_checker/limiters/files.ts | 0 ...able_state_and_external_references.test.ts | 0 ...rsistable_state_and_external_references.ts | 0 .../common/limiter_checker/test_utils.ts | 0 .../server/common/limiter_checker/types.ts | 0 .../common/models/case_with_comments.test.ts | 0 .../common/models/case_with_comments.ts | 0 .../cases/server/common/models/index.ts | 0 .../cases/server/common/partitioning.test.ts | 0 .../cases/server/common/partitioning.ts | 0 .../cases/server/common/references.test.ts | 0 .../shared}/cases/server/common/references.ts | 0 .../cases/server/common/runtime_types.test.ts | 0 .../cases/server/common/runtime_types.ts | 0 .../shared}/cases/server/common/types.ts | 0 .../cases/server/common/types/attachments.ts | 0 .../cases/server/common/types/case.test.ts | 0 .../shared}/cases/server/common/types/case.ts | 0 .../server/common/types/configure.test.ts | 0 .../cases/server/common/types/configure.ts | 0 .../common/types/connector_mappings.test.ts | 0 .../server/common/types/connector_mappings.ts | 0 .../cases/server/common/types/connectors.ts | 0 .../server/common/types/external_service.ts | 0 .../shared}/cases/server/common/types/user.ts | 0 .../cases/server/common/types/user_actions.ts | 0 .../shared}/cases/server/common/utils.test.ts | 0 .../shared}/cases/server/common/utils.ts | 0 .../cases/server/common/validators.test.ts | 0 .../shared}/cases/server/common/validators.ts | 0 .../shared}/cases/server/config.test.ts | 0 .../plugins/shared}/cases/server/config.ts | 0 .../cases/server/connectors/cases/README.md | 0 .../connectors/cases/cases_connector.test.ts | 0 .../connectors/cases/cases_connector.ts | 0 .../connectors/cases/cases_connector_error.ts | 0 .../cases/cases_connector_executor.test.ts | 0 .../cases/cases_connector_executor.ts | 0 .../cases/cases_oracle_service.test.ts | 0 .../connectors/cases/cases_oracle_service.ts | 0 .../connectors/cases/cases_service.test.ts | 0 .../server/connectors/cases/cases_service.ts | 0 .../server/connectors/cases/constants.ts | 0 .../connectors/cases/crypto_service.test.ts | 0 .../server/connectors/cases/crypto_service.ts | 0 .../cases/full_jitter_backoff.test.ts | 0 .../connectors/cases/full_jitter_backoff.ts | 0 .../server/connectors/cases/index.mock.ts | 0 .../server/connectors/cases/index.test.ts | 0 .../cases/server/connectors/cases/index.ts | 0 .../connectors/cases/retry_service.test.ts | 0 .../server/connectors/cases/retry_service.ts | 0 .../server/connectors/cases/schema.test.ts | 0 .../cases/server/connectors/cases/schema.ts | 0 .../server/connectors/cases/test_helpers.ts | 0 .../server/connectors/cases/translations.ts | 0 .../cases/server/connectors/cases/types.ts | 0 .../server/connectors/cases/utils.test.ts | 0 .../cases/server/connectors/cases/utils.ts | 0 .../server/connectors/cases_webook/format.ts | 0 .../server/connectors/cases_webook/index.ts | 0 .../server/connectors/cases_webook/mapping.ts | 0 .../server/connectors/cases_webook/types.ts | 0 .../cases/server/connectors/factory.ts | 0 .../shared}/cases/server/connectors/index.ts | 2 +- .../server/connectors/jira/format.test.ts | 0 .../cases/server/connectors/jira/format.ts | 0 .../cases/server/connectors/jira/index.ts | 0 .../cases/server/connectors/jira/mapping.ts | 0 .../cases/server/connectors/jira/types.ts | 0 .../connectors/resilient/format.test.ts | 0 .../server/connectors/resilient/format.ts | 0 .../server/connectors/resilient/index.ts | 0 .../server/connectors/resilient/mapping.ts | 0 .../server/connectors/resilient/types.ts | 0 .../server/connectors/servicenow/index.ts | 0 .../connectors/servicenow/itsm_format.test.ts | 0 .../connectors/servicenow/itsm_format.ts | 0 .../connectors/servicenow/itsm_mapping.ts | 0 .../connectors/servicenow/sir_format.test.ts | 0 .../connectors/servicenow/sir_format.ts | 0 .../connectors/servicenow/sir_mapping.ts | 0 .../server/connectors/servicenow/types.ts | 0 .../server/connectors/swimlane/format.test.ts | 0 .../server/connectors/swimlane/format.ts | 0 .../cases/server/connectors/swimlane/index.ts | 0 .../server/connectors/swimlane/mapping.ts | 0 .../cases/server/connectors/swimlane/types.ts | 0 .../server/connectors/thehive/format.test.ts | 0 .../cases/server/connectors/thehive/format.ts | 0 .../cases/server/connectors/thehive/index.ts | 0 .../server/connectors/thehive/mapping.ts | 0 .../cases/server/connectors/thehive/types.ts | 0 .../shared}/cases/server/connectors/types.ts | 0 .../cases/server/custom_fields/factory.ts | 0 .../cases/server/custom_fields/index.ts | 0 .../cases/server/custom_fields/number.ts | 0 .../cases/server/custom_fields/text.ts | 0 .../cases/server/custom_fields/toggle.ts | 0 .../cases/server/custom_fields/types.ts | 0 .../cases/server/features/constants.ts | 0 .../shared}/cases/server/features/index.ts | 0 .../shared}/cases/server/features/v1.ts | 0 .../shared}/cases/server/features/v2.ts | 0 .../shared}/cases/server/files/index.test.ts | 0 .../shared}/cases/server/files/index.ts | 0 .../shared}/cases/server/files/types.ts | 0 .../plugins/shared}/cases/server/index.ts | 0 .../server/internal_attachments/index.ts | 0 .../plugins/shared}/cases/server/mocks.ts | 0 .../shared}/cases/server/plugin.test.ts | 0 .../plugins/shared}/cases/server/plugin.ts | 0 .../routes/api/__mocks__/request_responses.ts | 0 .../routes/api/cases/alerts/get_cases.ts | 0 .../api/cases/categories/get_categories.ts | 0 .../server/routes/api/cases/delete_cases.ts | 0 .../server/routes/api/cases/find_cases.ts | 0 .../server/routes/api/cases/get_case.test.ts | 0 .../cases/server/routes/api/cases/get_case.ts | 0 .../server/routes/api/cases/patch_cases.ts | 0 .../server/routes/api/cases/post_case.ts | 0 .../server/routes/api/cases/push_case.ts | 0 .../api/cases/reporters/get_reporters.ts | 0 .../cases/server/routes/api/cases/similar.ts | 0 .../server/routes/api/cases/tags/get_tags.ts | 0 .../api/comments/delete_all_comments.ts | 0 .../routes/api/comments/delete_comment.ts | 0 .../routes/api/comments/find_comments.ts | 0 .../server/routes/api/comments/get_alerts.ts | 0 .../api/comments/get_all_comment.test.ts | 0 .../routes/api/comments/get_all_comment.ts | 0 .../server/routes/api/comments/get_comment.ts | 0 .../routes/api/comments/patch_comment.ts | 0 .../routes/api/comments/post_comment.ts | 0 .../routes/api/configure/get_configure.ts | 0 .../routes/api/configure/get_connectors.ts | 0 .../routes/api/configure/patch_configure.ts | 0 .../routes/api/configure/post_configure.ts | 0 .../cases/server/routes/api/constants.ts | 0 .../server/routes/api/create_cases_route.ts | 0 .../server/routes/api/files/post_file.test.ts | 0 .../server/routes/api/files/post_file.ts | 0 .../server/routes/api/get_external_routes.ts | 0 .../server/routes/api/get_internal_routes.ts | 0 .../shared}/cases/server/routes/api/index.ts | 0 .../api/internal/bulk_create_attachments.ts | 0 .../internal/bulk_delete_file_attachments.ts | 0 .../api/internal/bulk_get_attachments.ts | 0 .../routes/api/internal/bulk_get_cases.ts | 0 .../routes/api/internal/get_case_metrics.ts | 0 .../internal/get_case_user_actions_stats.ts | 0 .../routes/api/internal/get_case_users.ts | 0 .../routes/api/internal/get_cases_metrics.ts | 0 .../routes/api/internal/get_connectors.ts | 0 .../api/internal/replace_custom_field.ts | 0 .../routes/api/internal/search_cases.ts | 0 .../api/internal/suggest_user_profiles.ts | 0 .../api/observables/delete_observable.ts | 0 .../api/observables/patch_observable.ts | 0 .../routes/api/observables/post_observable.ts | 0 .../server/routes/api/register_routes.test.ts | 0 .../server/routes/api/register_routes.ts | 0 .../routes/api/stats/get_status.test.ts | 0 .../server/routes/api/stats/get_status.ts | 0 .../shared}/cases/server/routes/api/types.ts | 0 .../api/user_actions/find_user_actions.ts | 0 .../user_actions/get_all_user_actions.test.ts | 0 .../api/user_actions/get_all_user_actions.ts | 0 .../cases/server/routes/api/utils.test.ts | 0 .../shared}/cases/server/routes/api/utils.ts | 0 .../server/saved_object_types/cases/cases.ts | 0 .../cases/model_versions.test.ts | 0 .../cases/model_versions.ts | 0 .../saved_object_types/cases/schemas/index.ts | 0 .../cases/schemas/latest.ts | 0 .../saved_object_types/cases/schemas/v1.ts | 0 .../saved_object_types/cases/schemas/v2.ts | 0 .../server/saved_object_types/cases_rules.ts | 0 .../server/saved_object_types/comments.ts | 0 .../server/saved_object_types/configure.ts | 0 .../saved_object_types/connector_mappings.ts | 0 .../import_export/export.ts | 0 .../cases/server/saved_object_types/index.ts | 0 .../migrations/cases.test.ts | 0 .../saved_object_types/migrations/cases.ts | 0 .../migrations/comments.test.ts | 0 .../saved_object_types/migrations/comments.ts | 0 .../migrations/configuration.test.ts | 0 .../migrations/configuration.ts | 0 .../migrations/constants.ts | 0 .../saved_object_types/migrations/index.ts | 0 .../migrations/user_actions/alerts.test.ts | 0 .../migrations/user_actions/alerts.ts | 0 .../migrations/user_actions/assignees.test.ts | 0 .../migrations/user_actions/assignees.ts | 0 .../user_actions/connector_id.test.ts | 0 .../migrations/user_actions/connector_id.ts | 0 .../migrations/user_actions/constants.ts | 0 .../migrations/user_actions/index.ts | 0 .../migrations/user_actions/payload.test.ts | 0 .../migrations/user_actions/payload.ts | 0 .../migrations/user_actions/severity.test.ts | 0 .../migrations/user_actions/severity.ts | 0 .../migrations/user_actions/types.ts | 0 .../migrations/utils.test.ts | 0 .../saved_object_types/migrations/utils.ts | 0 .../server/saved_object_types/telemetry.ts | 0 .../server/saved_object_types/user_actions.ts | 0 .../server/services/alerts/index.test.ts | 0 .../cases/server/services/alerts/index.ts | 0 .../server/services/attachments/index.test.ts | 0 .../server/services/attachments/index.ts | 0 .../attachments/operations/get.test.ts | 0 .../services/attachments/operations/get.ts | 0 .../server/services/attachments/test_utils.ts | 0 .../server/services/attachments/types.ts | 0 .../cases/server/services/cases/index.test.ts | 0 .../cases/server/services/cases/index.ts | 0 .../server/services/cases/transform.test.ts | 0 .../cases/server/services/cases/transform.ts | 2 +- .../cases/server/services/cases/types.ts | 0 .../server/services/configure/index.test.ts | 0 .../cases/server/services/configure/index.ts | 0 .../cases/server/services/configure/types.ts | 0 .../services/connector_mappings/index.test.ts | 0 .../services/connector_mappings/index.ts | 0 .../services/connector_mappings/types.ts | 0 .../connector_reference_handler.test.ts | 0 .../services/connector_reference_handler.ts | 0 .../shared}/cases/server/services/index.ts | 0 .../cases/server/services/licensing.ts | 0 .../shared}/cases/server/services/mocks.ts | 0 .../email_notification_service.test.ts | 0 .../email_notification_service.ts | 0 .../templates/assignees/renderer.test.ts | 0 .../templates/assignees/renderer.ts | 0 .../templates/assignees/template.html | 0 .../templates/assignees/template.test.ts | 0 .../notifications/templates/utils.test.ts | 0 .../services/notifications/templates/utils.ts | 0 .../server/services/notifications/types.ts | 0 .../services/so_reference_extractor.test.ts | 0 .../server/services/so_reference_extractor.ts | 0 .../server/services/so_references.test.ts | 0 .../cases/server/services/so_references.ts | 0 .../cases/server/services/test_utils.ts | 0 .../cases/server/services/transform.test.ts | 0 .../cases/server/services/transform.ts | 0 .../cases/server/services/type_guards.ts | 0 .../shared}/cases/server/services/types.ts | 0 .../__snapshots__/audit_logger.test.ts.snap | 0 .../__snapshots__/index.test.ts.snap | 0 .../__snapshots__/transform.test.ts.snap | 0 .../services/user_actions/abstract_builder.ts | 0 .../user_actions/audit_logger.test.ts | 0 .../services/user_actions/audit_logger.ts | 0 .../user_actions/builder_factory.test.ts | 0 .../services/user_actions/builder_factory.ts | 0 .../user_actions/builders/assignees.ts | 0 .../builders/audit_logger_utils.ts | 0 .../user_actions/builders/category.ts | 0 .../services/user_actions/builders/comment.ts | 0 .../user_actions/builders/connector.ts | 0 .../user_actions/builders/create_case.ts | 0 .../builders/custom_fields.test.ts | 0 .../user_actions/builders/custom_fields.ts | 0 .../user_actions/builders/description.ts | 0 .../services/user_actions/builders/noop.ts | 0 .../services/user_actions/builders/pushed.ts | 0 .../user_actions/builders/settings.ts | 0 .../user_actions/builders/severity.ts | 0 .../services/user_actions/builders/status.ts | 0 .../services/user_actions/builders/tags.ts | 0 .../services/user_actions/builders/title.ts | 0 .../services/user_actions/index.test.ts | 0 .../server/services/user_actions/index.ts | 0 .../server/services/user_actions/mocks.ts | 0 .../__snapshots__/find.test.ts.snap | 0 .../user_actions/operations/create.test.ts | 0 .../user_actions/operations/create.ts | 0 .../user_actions/operations/find.test.ts | 0 .../services/user_actions/operations/find.ts | 0 .../services/user_actions/test_utils.ts | 0 .../services/user_actions/transform.test.ts | 0 .../server/services/user_actions/transform.ts | 0 .../services/user_actions/type_guards.test.ts | 0 .../services/user_actions/type_guards.ts | 0 .../server/services/user_actions/types.ts | 0 .../services/user_profiles/index.test.ts | 0 .../server/services/user_profiles/index.ts | 0 .../cases/server/services/utils.test.ts | 0 .../shared}/cases/server/services/utils.ts | 0 .../telemetry/collect_telemetry_data.ts | 0 .../shared}/cases/server/telemetry/index.ts | 0 .../server/telemetry/queries/alerts.test.ts | 0 .../cases/server/telemetry/queries/alerts.ts | 0 .../queries/case_system_action.test.ts | 0 .../telemetry/queries/case_system_action.ts | 0 .../server/telemetry/queries/cases.test.ts | 0 .../cases/server/telemetry/queries/cases.ts | 0 .../server/telemetry/queries/comments.test.ts | 0 .../server/telemetry/queries/comments.ts | 0 .../telemetry/queries/configuration.test.ts | 0 .../server/telemetry/queries/configuration.ts | 0 .../telemetry/queries/connectors.test.ts | 0 .../server/telemetry/queries/connectors.ts | 0 .../server/telemetry/queries/push.test.ts | 0 .../cases/server/telemetry/queries/push.ts | 0 .../telemetry/queries/user_actions.test.ts | 0 .../server/telemetry/queries/user_actions.ts | 0 .../server/telemetry/queries/utils.test.ts | 0 .../cases/server/telemetry/queries/utils.ts | 0 .../telemetry/schedule_telemetry_task.ts | 0 .../shared}/cases/server/telemetry/schema.ts | 0 .../telemetry_saved_objects_client.test.ts | 0 .../telemetry_saved_objects_client.ts | 0 .../shared}/cases/server/telemetry/types.ts | 0 .../plugins/shared}/cases/server/types.ts | 0 .../plugins/shared}/cases/tsconfig.json | 4 +- .../plugins/shared}/event_log/README.md | 8 +- .../plugins/shared}/event_log/common/index.ts | 0 .../shared}/event_log/common/lib/index.ts | 0 .../common/lib/millis_to_nanos.test.ts | 0 .../event_log/common/lib/millis_to_nanos.ts | 0 .../common/lib/nanos_to_millis.test.ts | 0 .../event_log/common/lib/nanos_to_millis.ts | 0 .../shared}/event_log/generated/README.md | 4 +- .../shared}/event_log/generated/mappings.json | 0 .../shared}/event_log/generated/schemas.ts | 0 .../plugins/shared/event_log}/jest.config.js | 9 +- .../event_log}/jest.integration.config.js | 4 +- .../plugins/shared}/event_log/kibana.jsonc | 0 .../event_log/scripts/create_schemas.js | 2 +- .../event_log/scripts/lib/line_writer.js | 0 .../shared}/event_log/scripts/mappings.js | 0 .../server/es/cluster_client_adapter.mock.ts | 0 .../server/es/cluster_client_adapter.test.ts | 2 +- .../server/es/cluster_client_adapter.ts | 1 - .../event_log/server/es/context.mock.ts | 0 .../event_log/server/es/context.test.ts | 2 +- .../shared}/event_log/server/es/context.ts | 0 .../event_log/server/es/documents.test.ts | 0 .../shared}/event_log/server/es/documents.ts | 0 .../shared}/event_log/server/es/index.ts | 0 .../shared}/event_log/server/es/init.test.ts | 0 .../shared}/event_log/server/es/init.ts | 0 .../shared}/event_log/server/es/names.mock.ts | 0 .../shared}/event_log/server/es/names.test.ts | 2 +- .../shared}/event_log/server/es/names.ts | 0 .../event_log/server/event_log_client.mock.ts | 0 .../event_log/server/event_log_client.test.ts | 0 .../event_log/server/event_log_client.ts | 0 .../server/event_log_service.mock.ts | 0 .../server/event_log_service.test.ts | 0 .../event_log/server/event_log_service.ts | 0 .../server/event_log_start_service.mock.ts | 0 .../server/event_log_start_service.test.ts | 0 .../server/event_log_start_service.ts | 0 .../event_log/server/event_logger.mock.ts | 0 .../event_log/server/event_logger.test.ts | 0 .../shared}/event_log/server/event_logger.ts | 0 .../plugins/shared}/event_log/server/index.ts | 0 .../event_log_update_mappings.test.ts | 0 .../lib/setup_test_servers.ts | 0 .../event_log/server/lib/delay.test.ts | 0 .../shared}/event_log/server/lib/delay.ts | 0 .../event_log/server/lib/ready_signal.test.ts | 0 .../event_log/server/lib/ready_signal.ts | 0 .../plugins/shared}/event_log/server/mocks.ts | 0 .../shared}/event_log/server/plugin.test.ts | 0 .../shared}/event_log/server/plugin.ts | 0 .../saved_object_provider_registry.mock.ts | 0 .../saved_object_provider_registry.test.ts | 0 .../server/saved_object_provider_registry.ts | 0 .../plugins/shared}/event_log/server/types.ts | 0 .../plugins/shared}/event_log/tsconfig.json | 2 +- .../chat_complete/adapters/gemini/types.ts | 2 +- .../plugins/shared}/rule_registry/README.md | 2 +- .../shared}/rule_registry/common/assets.ts | 0 .../ecs_component_template.ts | 0 .../technical_component_template.ts | 0 .../common/assets/field_maps/ecs_field_map.ts | 2 +- .../technical_rule_field_map.test.ts | 0 .../field_maps/technical_rule_field_map.ts | 0 .../index_templates/base_index_template.ts | 0 .../shared}/rule_registry/common/constants.ts | 0 .../rule_registry/common/field_map/index.ts | 0 .../common/field_map/merge_field_maps.ts | 0 .../runtime_type_from_fieldmap.test.ts | 0 .../field_map/runtime_type_from_fieldmap.ts | 0 .../shared}/rule_registry/common/index.ts | 0 .../common/parse_experimental_fields.ts | 0 .../common/parse_technical_fields.test.ts | 0 .../common/parse_technical_fields.ts | 0 .../common/pick_with_patterns/index.test.ts | 0 .../common/pick_with_patterns/index.ts | 0 .../common/schemas/8.0.0/index.ts | 0 .../common/schemas/8.13.0/index.ts | 0 .../common/schemas/8.17.0/index.ts | 0 .../common/schemas/8.6.0/index.ts | 0 .../common/schemas/8.7.0/index.ts | 0 .../common/schemas/8.8.0/index.ts | 0 .../rule_registry/common/schemas/README.md | 0 .../rule_registry/common/schemas/index.ts | 0 .../common/technical_rule_data_field_names.ts | 0 .../shared}/rule_registry/common/types.ts | 0 .../shared}/rule_registry/docs/README.md | 2 +- .../docs/alerts_client/alerts_client_api.md | 0 .../alerts_client/classes/alertsclient.md | 36 +- .../interfaces/bulkupdateoptions.md | 8 +- .../interfaces/constructoroptions.md | 8 +- .../alerts_client/interfaces/updateoptions.md | 8 +- .../docs/alerts_client_typedoc.json | 0 .../shared/rule_registry/jest.config.js | 18 + .../shared}/rule_registry/kibana.jsonc | 0 .../scripts/generate_ecs_fieldmap/index.js | 4 +- .../alert_data_client/alerts_client.mock.ts | 0 .../alert_data_client/alerts_client.test.ts | 0 .../server/alert_data_client/alerts_client.ts | 0 .../alerts_client_factory.test.ts | 0 .../alerts_client_factory.ts | 0 .../alert_data_client/audit_events.test.ts | 0 .../server/alert_data_client/audit_events.ts | 0 .../alert_data_client/browser_fields/index.ts | 0 .../server/alert_data_client/constants.ts | 0 .../tests/bulk_update.test.ts | 0 .../tests/bulk_update_cases.test.ts | 0 .../tests/find_alerts.test.ts | 0 .../alert_data_client/tests/get.test.ts | 0 .../tests/get_aad_fields.test.ts | 0 .../get_alerts_group_aggregations.test.ts | 0 .../tests/get_alerts_summary.test.ts | 0 .../tests/remove_cases_from_alerts.test.ts | 0 .../alert_data_client/tests/update.test.ts | 0 .../shared}/rule_registry/server/config.ts | 0 .../shared}/rule_registry/server/index.ts | 1 - .../server/lib/get_authz_filter.test.ts | 0 .../server/lib/get_authz_filter.ts | 0 .../server/lib/get_consumers_filter.test.tsx | 0 .../server/lib/get_consumers_filter.tsx | 0 .../server/lib/get_is_kibana_request.test.ts | 0 .../server/lib/get_is_kibana_request.ts | 0 .../lib/get_rule_type_ids_filter.test.tsx | 0 .../server/lib/get_rule_type_ids_filter.tsx | 0 .../server/lib/get_spaces_filter.test.ts | 0 .../server/lib/get_spaces_filter.ts | 0 .../shared}/rule_registry/server/lib/index.ts | 0 .../shared}/rule_registry/server/mocks.ts | 0 .../shared}/rule_registry/server/plugin.ts | 0 .../routes/__mocks__/request_context.ts | 0 .../routes/__mocks__/request_responses.ts | 0 .../routes/__mocks__/response_adapters.ts | 0 .../server/routes/__mocks__/server.ts | 0 .../server/routes/bulk_update_alerts.ts | 0 .../rule_registry/server/routes/find.test.ts | 0 .../rule_registry/server/routes/find.ts | 0 .../get_aad_fields_by_rule_type.test.ts | 0 .../routes/get_aad_fields_by_rule_type.ts | 0 .../server/routes/get_alert_by_id.test.ts | 0 .../server/routes/get_alert_by_id.ts | 0 .../server/routes/get_alert_index.test.ts | 0 .../server/routes/get_alert_index.ts | 0 .../server/routes/get_alert_summary.test.ts | 0 .../server/routes/get_alert_summary.ts | 0 .../get_alerts_group_aggregations.test.ts | 0 .../routes/get_alerts_group_aggregations.ts | 0 ...et_browser_fields_by_rule_type_ids.test.ts | 0 .../get_browser_fields_by_rule_type_ids.ts | 0 .../rule_registry/server/routes/index.ts | 0 .../server/routes/update_alert_by_id.test.ts | 0 .../server/routes/update_alert_by_id.ts | 0 .../server/routes/utils/route_validation.ts | 0 .../server/rule_data_client/index.ts | 0 .../rule_data_client/rule_data_client.mock.ts | 0 .../rule_data_client/rule_data_client.test.ts | 0 .../rule_data_client/rule_data_client.ts | 0 .../server/rule_data_client/types.ts | 0 .../server/rule_data_plugin_service/errors.ts | 0 .../server/rule_data_plugin_service/index.ts | 0 .../rule_data_plugin_service/index_info.ts | 0 .../rule_data_plugin_service/index_options.ts | 0 .../resource_installer.mock.ts | 0 .../resource_installer.test.ts | 0 .../resource_installer.ts | 0 .../rule_data_plugin_service.mock.ts | 0 .../rule_data_plugin_service.test.ts | 0 .../rule_data_plugin_service.ts | 0 .../rule_data_plugin_service/utils.test.ts | 0 .../server/rule_data_plugin_service/utils.ts | 0 .../rule_registry/server/scripts/README.md | 0 .../bulk_update_observability_alert_by_ids.sh | 0 ...ulk_update_observability_alert_by_query.sh | 0 ...te_old_security_solution_alert_by_query.sh | 0 .../scripts/find_observability_alert.sh | 0 .../server/scripts/get_alerts_index.sh | 0 .../server/scripts/get_observability_alert.sh | 0 .../server/scripts/get_security_alert.sh | 0 .../server/scripts/hunter/README.md | 0 .../scripts/hunter/delete_detections_user.sh | 0 .../scripts/hunter/detections_role.json | 0 .../scripts/hunter/detections_user.json | 0 .../scripts/hunter/get_detections_role.sh | 0 .../server/scripts/hunter/index.ts | 0 .../scripts/hunter/post_detections_role.sh | 0 .../scripts/hunter/post_detections_user.sh | 0 .../server/scripts/observer/README.md | 0 .../observer/delete_detections_user.sh | 0 .../scripts/observer/detections_role.json | 0 .../scripts/observer/detections_user.json | 0 .../scripts/observer/get_detections_role.sh | 0 .../observer/get_observability_alert.sh | 0 .../observer/get_security_solution_alert.sh | 0 .../server/scripts/observer/index.ts | 0 .../scripts/observer/post_detections_role.sh | 0 .../scripts/observer/post_detections_user.sh | 0 .../scripts/update_observability_alert.sh | 0 .../server/search_strategy/index.ts | 0 .../search_strategy/search_strategy.test.ts | 0 .../server/search_strategy/search_strategy.ts | 0 .../shared}/rule_registry/server/types.ts | 0 ...eate_persistence_rule_type_wrapper.mock.ts | 0 ...eate_persistence_rule_type_wrapper.test.ts | 0 .../create_persistence_rule_type_wrapper.ts | 0 .../server/utils/fetch_alert_by_uuid.ts | 0 .../server/utils/fetch_existing_alerts.ts | 0 .../utils/get_alerts_for_notification.test.ts | 0 .../utils/get_alerts_for_notification.ts | 0 .../server/utils/get_common_alert_fields.ts | 0 .../server/utils/persistence_types.ts | 0 .../utils/rule_executor.test_helpers.ts | 0 .../rule_registry/server/utils/utils.test.ts | 0 .../rule_registry/server/utils/utils.ts | 0 .../utils/with_rule_data_client_factory.ts | 0 .../shared}/rule_registry/tsconfig.json | 4 +- .../plugins/shared}/stack_alerts/README.md | 0 .../common/build_sorted_events_query.test.ts | 1 - .../common/build_sorted_events_query.ts | 0 .../stack_alerts/common/comparator.test.ts | 0 .../shared}/stack_alerts/common/comparator.ts | 0 .../stack_alerts/common/comparator_types.ts | 0 .../shared}/stack_alerts/common/constants.ts | 0 .../common/esql_query_utils.test.ts | 0 .../stack_alerts/common/esql_query_utils.ts | 0 .../shared}/stack_alerts/common/index.ts | 0 .../shared/stack_alerts/jest.config.js | 18 + .../plugins/shared}/stack_alerts/kibana.jsonc | 0 .../shared}/stack_alerts/public/index.ts | 0 .../shared}/stack_alerts/public/plugin.tsx | 0 .../data_view_select_popover.test.tsx | 0 .../components/data_view_select_popover.tsx | 0 .../components/index_select_popover.test.tsx | 0 .../components/index_select_popover.tsx | 0 .../components/source_fields_select.test.tsx | 0 .../components/source_fields_select.tsx | 0 .../public/rule_types/es_query/constants.ts | 0 .../expression/es_query_expression.test.tsx | 4 +- .../expression/es_query_expression.tsx | 0 .../expression/esql_query_expression.test.tsx | 0 .../expression/esql_query_expression.tsx | 0 .../es_query/expression/expression.test.tsx | 3 +- .../es_query/expression/expression.tsx | 0 .../rule_types/es_query/expression/index.ts | 0 .../expression/query_form_type_chooser.tsx | 0 .../expression/search_source_expression.scss | 0 .../search_source_expression.test.tsx | 0 .../expression/search_source_expression.tsx | 0 .../search_source_expression_form.tsx | 0 .../public/rule_types/es_query/index.ts | 0 .../es_query/rule_common_expressions/index.ts | 0 .../rule_common_expressions.test.tsx | 0 .../rule_common_expressions.tsx | 0 .../threshold_help_popover.tsx | 0 .../es_query/test_query_row/index.ts | 0 .../test_query_row/test_query_row.test.tsx | 0 .../test_query_row/test_query_row.tsx | 0 .../test_query_row_table.test.tsx | 0 .../test_query_row/test_query_row_table.tsx | 0 .../test_query_row/use_test_query.test.ts | 0 .../es_query/test_query_row/use_test_query.ts | 0 .../public/rule_types/es_query/types.ts | 0 .../public/rule_types/es_query/util.test.ts | 2 - .../public/rule_types/es_query/util.ts | 0 .../rule_types/es_query/validation.test.ts | 0 .../public/rule_types/es_query/validation.ts | 0 .../rule_types/geo_containment/index.ts | 0 .../rule_form/boundary_form.test.tsx | 0 .../rule_form/boundary_form.tsx | 0 .../rule_form/data_view_select.tsx | 0 .../rule_form/entity_form.test.tsx | 0 .../geo_containment/rule_form/entity_form.tsx | 0 .../geo_containment/rule_form/index.ts | 0 .../geo_containment/rule_form/query_input.tsx | 0 .../geo_containment/rule_form/rule_form.tsx | 0 .../rule_form/single_field_select.tsx | 0 .../rule_types/geo_containment/types.ts | 0 .../geo_containment/validation.test.ts | 0 .../rule_types/geo_containment/validation.ts | 0 .../stack_alerts/public/rule_types/index.ts | 0 .../rule_types/threshold/expression.scss | 0 .../rule_types/threshold/expression.test.tsx | 0 .../rule_types/threshold/expression.tsx | 0 .../public/rule_types/threshold/index.ts | 0 .../threshold/index_threshold_api.ts | 0 .../public/rule_types/threshold/types.ts | 0 .../rule_types/threshold/validation.test.ts | 0 .../public/rule_types/threshold/validation.ts | 0 .../threshold/visualization.test.tsx | 0 .../rule_types/threshold/visualization.tsx | 0 .../stack_alerts/server/feature.test.ts | 0 .../shared}/stack_alerts/server/feature.ts | 0 .../shared}/stack_alerts/server/index.test.ts | 0 .../shared}/stack_alerts/server/index.ts | 0 .../stack_alerts/server/plugin.test.ts | 0 .../shared}/stack_alerts/server/plugin.ts | 0 .../server/rule_types/constants.ts | 0 .../es_query/action_context.test.ts | 0 .../rule_types/es_query/action_context.ts | 0 .../server/rule_types/es_query/constants.ts | 0 .../rule_types/es_query/executor.test.ts | 0 .../server/rule_types/es_query/executor.ts | 0 .../server/rule_types/es_query/index.ts | 0 .../es_query/lib/fetch_es_query.test.ts | 0 .../rule_types/es_query/lib/fetch_es_query.ts | 0 .../es_query/lib/fetch_esql_query.test.ts | 0 .../es_query/lib/fetch_esql_query.ts | 0 .../lib/fetch_search_source_query.test.ts | 0 .../es_query/lib/fetch_search_source_query.ts | 0 .../rule_types/es_query/rule_type.test.ts | 0 .../server/rule_types/es_query/rule_type.ts | 0 .../es_query/rule_type_params.test.ts | 1 - .../rule_types/es_query/rule_type_params.ts | 0 .../server/rule_types/es_query/types.ts | 0 .../server/rule_types/es_query/util.test.ts | 0 .../server/rule_types/es_query/util.ts | 0 .../__snapshots__/rule_type.test.ts.snap | 0 .../rule_types/geo_containment/constants.ts | 0 .../geo_containment/executor.test.ts | 0 .../rule_types/geo_containment/executor.ts | 0 .../rule_types/geo_containment/index.ts | 0 .../geo_containment/lib/alert_context.test.ts | 0 .../geo_containment/lib/alert_context.ts | 0 .../geo_containment/lib/es_query_builder.ts | 0 .../get_entities_and_generate_alerts.test.ts | 2 +- .../lib/get_entities_and_generate_alerts.ts | 0 .../geo_containment/lib/get_query_dsl.test.ts | 0 .../geo_containment/lib/get_query_dsl.ts | 0 .../lib/get_shape_filters.test.ts | 0 .../geo_containment/lib/get_shape_filters.ts | 0 .../rule_types/geo_containment/lib/index.ts | 0 .../lib/transform_results.test.ts | 0 .../geo_containment/lib/transform_results.ts | 2 +- .../geo_containment/rule_type.test.ts | 0 .../rule_types/geo_containment/rule_type.ts | 0 .../tests/es_sample_response.json | 0 .../tests/es_sample_response_shapes.json | 0 .../es_sample_response_with_nesting.json | 0 .../rule_types/geo_containment/types.ts | 0 .../stack_alerts/server/rule_types/index.ts | 0 .../rule_types/index_threshold/README.md | 2 +- .../index_threshold/action_context.test.ts | 0 .../index_threshold/action_context.ts | 0 .../rule_types/index_threshold/index.ts | 0 .../index_threshold/rule_type.test.ts | 0 .../rule_types/index_threshold/rule_type.ts | 0 .../index_threshold/rule_type_params.test.ts | 2 - .../index_threshold/rule_type_params.ts | 0 .../server/rule_types/lib/comparator.ts | 0 .../stack_alerts/server/rule_types/types.ts | 0 .../shared}/stack_alerts/server/types.ts | 0 .../shared}/stack_alerts/tsconfig.json | 2 +- .../shared}/stack_connectors/README.md | 6 +- .../__mocks__/@kbn/code-editor/index.tsx | 0 .../stack_connectors/common/auth/constants.ts | 0 .../stack_connectors/common/auth/mocks.ts | 0 .../stack_connectors/common/auth/schema.ts | 0 .../stack_connectors/common/auth/types.ts | 0 .../common/auth/utils.test.ts | 0 .../stack_connectors/common/auth/utils.ts | 0 .../common/bedrock/constants.ts | 0 .../stack_connectors/common/bedrock/schema.ts | 0 .../stack_connectors/common/bedrock/types.ts | 0 .../common/crowdstrike/constants.ts | 0 .../common/crowdstrike/schema.ts | 0 .../common/crowdstrike/types.ts | 0 .../common/d3security/constants.ts | 0 .../common/d3security/schema.ts | 0 .../common/d3security/types.ts | 0 .../common/dynamic_config/types.ts | 0 .../common/experimental_features.ts | 0 .../common/gemini/constants.ts | 0 .../stack_connectors/common/gemini/schema.ts | 0 .../stack_connectors/common/gemini/types.ts | 0 .../shared}/stack_connectors/common/index.ts | 0 .../common/inference/constants.ts | 0 .../common/inference/schema.ts | 0 .../common/inference/types.ts | 0 .../stack_connectors/common/jira/constants.ts | 0 .../common/openai/constants.ts | 0 .../stack_connectors/common/openai/schema.ts | 0 .../stack_connectors/common/openai/types.ts | 0 .../common/opsgenie/index.test.ts | 0 .../stack_connectors/common/opsgenie/index.ts | 0 .../common/sentinelone/constants.ts | 0 .../common/sentinelone/schema.ts | 0 .../common/sentinelone/types.ts | 0 .../common/servicenow/constants.ts | 0 .../common/servicenow_config.ts | 0 .../common/slack_api/constants.ts | 0 .../stack_connectors/common/slack_api/lib.ts | 0 .../common/slack_api/schema.test.ts | 0 .../common/slack_api/schema.ts | 0 .../common/slack_api/types.ts | 0 .../common/thehive/constants.ts | 0 .../stack_connectors/common/thehive/schema.ts | 0 .../stack_connectors/common/thehive/types.ts | 0 .../common/tines/constants.ts | 0 .../stack_connectors/common/tines/schema.ts | 0 .../stack_connectors/common/tines/types.ts | 0 .../shared}/stack_connectors/common/types.ts | 0 .../shared/stack_connectors/jest.config.js | 18 + .../shared}/stack_connectors/kibana.jsonc | 0 .../public/common/auth/auth_config.test.tsx | 0 .../public/common/auth/auth_config.tsx | 0 .../common/auth/basic_auth_fields.test.tsx | 0 .../public/common/auth/basic_auth_fields.tsx | 0 .../common/auth/ssl_cert_fields.test.tsx | 0 .../public/common/auth/ssl_cert_fields.tsx | 0 .../public/common/auth/translations.ts | 0 .../common/experimental_features_service.ts | 0 .../common/get_experimental_features.ts | 0 .../stack_connectors/public/common/index.ts | 0 .../connector_types/bedrock/bedrock.test.tsx | 0 .../connector_types/bedrock/bedrock.tsx | 0 .../bedrock/connector.test.tsx | 0 .../connector_types/bedrock/connector.tsx | 0 .../connector_types/bedrock/constants.tsx | 0 .../bedrock/dashboard_link.tsx | 0 .../public/connector_types/bedrock/index.ts | 0 .../public/connector_types/bedrock/logo.tsx | 0 .../connector_types/bedrock/params.test.tsx | 0 .../public/connector_types/bedrock/params.tsx | 0 .../connector_types/bedrock/translations.ts | 0 .../public/connector_types/bedrock/types.ts | 0 .../cases_webhook/action_variables.ts | 0 .../connector_types/cases_webhook/index.ts | 0 .../cases_webhook/severity_filter.test.tsx | 0 .../cases_webhook/severity_filter.tsx | 0 .../cases_webhook/status_filter.test.tsx | 0 .../cases_webhook/status_filter.tsx | 0 .../cases_webhook/steps/auth.tsx | 0 .../cases_webhook/steps/create.tsx | 0 .../cases_webhook/steps/get.tsx | 0 .../cases_webhook/steps/index.ts | 0 .../cases_webhook/steps/update.styles.ts | 0 .../cases_webhook/steps/update.tsx | 0 .../cases_webhook/translations.ts | 0 .../connector_types/cases_webhook/types.ts | 0 .../cases_webhook/validator.ts | 0 .../cases_webhook/webhook.test.tsx | 0 .../connector_types/cases_webhook/webhook.tsx | 0 .../cases_webhook/webhook_connectors.test.tsx | 0 .../cases_webhook/webhook_connectors.tsx | 0 .../cases_webhook/webhook_params.test.tsx | 0 .../cases_webhook/webhook_params.tsx | 0 .../crowdstrike/crowdstrike.ts | 0 .../crowdstrike/crowdstrike_connector.tsx | 0 .../crowdstrike/crowdstrike_params_empty.tsx | 0 .../connector_types/crowdstrike/index.ts | 0 .../connector_types/crowdstrike/logo.svg | 0 .../connector_types/crowdstrike/logo.tsx | 0 .../crowdstrike/translations.ts | 0 .../connector_types/crowdstrike/types.ts | 0 .../d3security/connector.test.tsx | 0 .../connector_types/d3security/connector.tsx | 0 .../d3security/d3security.test.tsx | 0 .../connector_types/d3security/d3security.tsx | 0 .../connector_types/d3security/index.ts | 0 .../connector_types/d3security/logo.tsx | 0 .../d3security/params.test.tsx | 0 .../connector_types/d3security/params.tsx | 0 .../d3security/translations.ts | 0 .../connector_types/d3security/types.ts | 0 .../public/connector_types/email/api.ts | 0 .../connector_types/email/email.test.tsx | 0 .../public/connector_types/email/email.tsx | 0 .../email/email_connector.test.tsx | 0 .../connector_types/email/email_connector.tsx | 0 .../email/email_params.test.tsx | 0 .../connector_types/email/email_params.tsx | 0 .../email/exchange_form.test.tsx | 0 .../connector_types/email/exchange_form.tsx | 0 .../public/connector_types/email/index.ts | 0 .../connector_types/email/translations.ts | 0 .../email/use_email_config.test.ts | 0 .../connector_types/email/use_email_config.ts | 0 .../es_index/es_index.test.tsx | 0 .../connector_types/es_index/es_index.tsx | 0 .../es_index/es_index_connector.test.tsx | 0 .../es_index/es_index_connector.tsx | 0 .../es_index/es_index_params.test.tsx | 0 .../es_index/es_index_params.tsx | 0 .../public/connector_types/es_index/index.ts | 0 .../connector_types/es_index/translations.ts | 0 .../connector_types/gemini/connector.test.tsx | 0 .../connector_types/gemini/connector.tsx | 0 .../connector_types/gemini/constants.tsx | 0 .../connector_types/gemini/dashboard_link.tsx | 0 .../connector_types/gemini/gemini.test.tsx | 0 .../public/connector_types/gemini/gemini.tsx | 0 .../public/connector_types/gemini/index.ts | 0 .../public/connector_types/gemini/logo.tsx | 0 .../connector_types/gemini/params.test.tsx | 0 .../public/connector_types/gemini/params.tsx | 0 .../connector_types/gemini/translations.ts | 0 .../public/connector_types/gemini/types.ts | 0 .../public/connector_types/index.ts | 0 .../inference/additional_options_fields.tsx | 0 .../inference/connector.test.tsx | 0 .../connector_types/inference/connector.tsx | 0 .../connector_types/inference/constants.tsx | 0 .../connector_types/inference/helpers.ts | 0 .../inference/hidden_fields.tsx | 0 .../public/connector_types/inference/index.ts | 0 .../inference/inference.test.tsx | 0 .../connector_types/inference/inference.tsx | 0 .../connector_types/inference/params.test.tsx | 0 .../connector_types/inference/params.tsx | 0 .../providers/assets/images/alibaba_cloud.svg | 0 .../assets/images/amazon_bedrock.svg | 0 .../providers/assets/images/anthropic.svg | 0 .../assets/images/azure_ai_studio.svg | 0 .../providers/assets/images/azure_open_ai.svg | 0 .../providers/assets/images/cohere.svg | 0 .../providers/assets/images/elastic.svg | 0 .../assets/images/google_ai_studio.svg | 0 .../providers/assets/images/hugging_face.svg | 0 .../providers/assets/images/ibm_watsonx.svg | 0 .../providers/assets/images/mistral.svg | 0 .../providers/assets/images/open_ai.svg | 0 .../providers/get_providers.test.tsx | 0 .../inference/providers/get_providers.ts | 0 .../service_provider.test.tsx | 0 .../service_provider.tsx | 0 .../providers/selectable/index.test.tsx | 0 .../inference/providers/selectable/index.tsx | 0 .../connector_types/inference/translations.ts | 0 .../public/connector_types/inference/types.ts | 0 .../public/connector_types/jira/api.test.ts | 0 .../public/connector_types/jira/api.ts | 0 .../public/connector_types/jira/index.ts | 0 .../public/connector_types/jira/jira.test.tsx | 0 .../public/connector_types/jira/jira.tsx | 0 .../jira/jira_connectors.test.tsx | 0 .../connector_types/jira/jira_connectors.tsx | 0 .../connector_types/jira/jira_params.test.tsx | 0 .../connector_types/jira/jira_params.tsx | 0 .../public/connector_types/jira/logo.tsx | 0 .../connector_types/jira/search_issues.tsx | 0 .../connector_types/jira/translations.ts | 0 .../public/connector_types/jira/types.ts | 0 .../jira/use_get_fields_by_issue_type.tsx | 0 .../jira/use_get_issue_types.tsx | 0 .../connector_types/jira/use_get_issues.tsx | 0 .../jira/use_get_single_issue.tsx | 0 .../connector_configuration_field.tsx | 0 .../connector_configuration_form_items.tsx | 0 .../connector_configuration_utils.ts | 0 .../lib/extract_action_variable.ts | 0 .../connector_types/lib/gen_ai/api.test.ts | 0 .../public/connector_types/lib/gen_ai/api.ts | 0 .../lib/gen_ai/translations.ts | 0 .../lib/gen_ai/use_get_dashboard.test.ts | 0 .../lib/gen_ai/use_get_dashboard.ts | 0 .../lib/rewrite_response_body.ts | 0 .../lib/servicenow/additional_fields.test.tsx | 0 .../lib/servicenow/additional_fields.tsx | 0 .../lib/servicenow/api.test.ts | 0 .../connector_types/lib/servicenow/api.ts | 2 +- .../application_required_callout.test.tsx | 0 .../application_required_callout.tsx | 0 .../auth_types/credentials_auth.tsx | 0 .../lib/servicenow/auth_types/index.ts | 0 .../lib/servicenow/auth_types/oauth.tsx | 0 .../lib/servicenow/credentials.test.tsx | 0 .../lib/servicenow/credentials.tsx | 0 .../lib/servicenow/credentials_api_url.tsx | 0 .../servicenow/deprecated_callout.test.tsx | 0 .../lib/servicenow/deprecated_callout.tsx | 0 .../lib/servicenow/helpers.test.ts | 0 .../connector_types/lib/servicenow/helpers.ts | 0 .../servicenow/installation_callout.test.tsx | 0 .../lib/servicenow/installation_callout.tsx | 0 .../lib/servicenow/selection_row.tsx | 0 .../servicenow/servicenow_connectors.test.tsx | 0 .../lib/servicenow/servicenow_connectors.tsx | 0 .../servicenow_connectors_no_app.test.tsx | 0 .../servicenow_connectors_no_app.tsx | 0 .../lib/servicenow/sn_store_button.test.tsx | 0 .../lib/servicenow/sn_store_button.tsx | 0 .../lib/servicenow/translations.ts | 0 .../connector_types/lib/servicenow/types.ts | 0 .../lib/servicenow/update_connector.test.tsx | 0 .../lib/servicenow/update_connector.tsx | 0 .../lib/servicenow/use_choices.test.tsx | 0 .../lib/servicenow/use_choices.tsx | 0 .../lib/servicenow/use_get_app_info.test.tsx | 0 .../lib/servicenow/use_get_app_info.tsx | 0 .../lib/servicenow/use_get_choices.test.tsx | 0 .../lib/servicenow/use_get_choices.tsx | 0 .../public/connector_types/lib/test_utils.tsx | 0 .../connector_types/lib/validate_json.test.ts | 0 .../connector_types/lib/validate_json.ts | 0 .../connector_types/openai/connector.test.tsx | 0 .../connector_types/openai/connector.tsx | 0 .../connector_types/openai/constants.tsx | 0 .../connector_types/openai/dashboard_link.tsx | 0 .../public/connector_types/openai/index.ts | 0 .../public/connector_types/openai/logo.tsx | 0 .../connector_types/openai/openai.test.tsx | 0 .../public/connector_types/openai/openai.tsx | 0 .../connector_types/openai/params.test.tsx | 0 .../public/connector_types/openai/params.tsx | 0 .../connector_types/openai/translations.ts | 0 .../public/connector_types/openai/types.ts | 0 .../opsgenie/close_alert.test.tsx | 0 .../connector_types/opsgenie/close_alert.tsx | 0 .../opsgenie/close_alert_schema.test.ts | 0 .../opsgenie/close_alert_schema.ts | 2 +- .../opsgenie/connector.test.tsx | 0 .../connector_types/opsgenie/connector.tsx | 0 .../connector_types/opsgenie/constants.ts | 0 .../create_alert/additional_options.test.tsx | 0 .../create_alert/additional_options.tsx | 0 .../opsgenie/create_alert/index.test.tsx | 0 .../opsgenie/create_alert/index.tsx | 0 .../create_alert/json_editor.test.tsx | 0 .../opsgenie/create_alert/json_editor.tsx | 0 .../opsgenie/create_alert/priority.test.tsx | 0 .../opsgenie/create_alert/priority.tsx | 0 .../opsgenie/create_alert/schema.test.ts | 0 .../opsgenie/create_alert/schema.ts | 2 +- .../opsgenie/create_alert/tags.test.tsx | 0 .../opsgenie/create_alert/tags.tsx | 0 .../opsgenie/create_alert/translations.ts | 0 .../opsgenie/display_more_options.test.tsx | 0 .../opsgenie/display_more_options.tsx | 0 .../public/connector_types/opsgenie/index.ts | 0 .../public/connector_types/opsgenie/logo.tsx | 0 .../connector_types/opsgenie/model.test.tsx | 0 .../public/connector_types/opsgenie/model.tsx | 0 .../connector_types/opsgenie/params.test.tsx | 0 .../connector_types/opsgenie/params.tsx | 0 .../opsgenie/schema_utils.test.ts | 0 .../connector_types/opsgenie/schema_utils.ts | 0 .../connector_types/opsgenie/translations.ts | 0 .../public/connector_types/opsgenie/types.ts | 0 .../public/connector_types/pagerduty/index.ts | 0 .../pagerduty/links_list.test.tsx | 0 .../connector_types/pagerduty/links_list.tsx | 0 .../public/connector_types/pagerduty/logo.tsx | 0 .../pagerduty/pagerduty.test.tsx | 0 .../connector_types/pagerduty/pagerduty.tsx | 0 .../pagerduty/pagerduty_connectors.test.tsx | 0 .../pagerduty/pagerduty_connectors.tsx | 0 .../pagerduty/pagerduty_params.test.tsx | 0 .../pagerduty/pagerduty_params.tsx | 0 .../connector_types/pagerduty/translations.ts | 0 .../connector_types/resilient/api.test.ts | 0 .../public/connector_types/resilient/api.ts | 0 .../public/connector_types/resilient/index.ts | 0 .../public/connector_types/resilient/logo.tsx | 0 .../resilient/resilient.test.tsx | 0 .../connector_types/resilient/resilient.tsx | 0 .../resilient/resilient_connectors.test.tsx | 0 .../resilient/resilient_connectors.tsx | 0 .../resilient/resilient_params.test.tsx | 0 .../resilient/resilient_params.tsx | 0 .../connector_types/resilient/translations.ts | 0 .../public/connector_types/resilient/types.ts | 0 .../resilient/use_get_incident_types.tsx | 0 .../resilient/use_get_severity.tsx | 0 .../connector_types/sentinelone/index.ts | 0 .../connector_types/sentinelone/logo.tsx | 0 .../sentinelone/sentinelone.ts | 0 .../sentinelone/sentinelone_connector.tsx | 0 .../sentinelone/sentinelone_params_empty.tsx | 0 .../sentinelone/translations.ts | 0 .../connector_types/sentinelone/types.ts | 0 .../connector_types/server_log/index.ts | 0 .../server_log/server_log.test.tsx | 0 .../connector_types/server_log/server_log.tsx | 0 .../server_log/server_log_params.test.tsx | 0 .../server_log/server_log_params.tsx | 0 .../connector_types/servicenow_itom/index.ts | 0 .../connector_types/servicenow_itom/logo.tsx | 0 .../servicenow_itom/servicenow_itom.test.tsx | 0 .../servicenow_itom/servicenow_itom.tsx | 0 .../servicenow_itom_params.test.tsx | 0 .../servicenow_itom_params.tsx | 0 .../connector_types/servicenow_itom/types.ts | 0 .../connector_types/servicenow_itsm/index.ts | 0 .../connector_types/servicenow_itsm/logo.tsx | 0 .../servicenow_itsm/servicenow_itsm.test.tsx | 0 .../servicenow_itsm/servicenow_itsm.tsx | 0 .../servicenow_itsm_params.test.tsx | 0 .../servicenow_itsm_params.tsx | 0 .../connector_types/servicenow_itsm/types.ts | 0 .../connector_types/servicenow_sir/index.ts | 0 .../connector_types/servicenow_sir/logo.tsx | 0 .../servicenow_sir/servicenow_sir.test.tsx | 0 .../servicenow_sir/servicenow_sir.tsx | 0 .../servicenow_sir_params.test.tsx | 0 .../servicenow_sir/servicenow_sir_params.tsx | 0 .../connector_types/servicenow_sir/types.ts | 0 .../slack/action_form.test.tsx | 0 .../public/connector_types/slack/index.ts | 0 .../connector_types/slack/slack.test.tsx | 0 .../public/connector_types/slack/slack.tsx | 0 .../slack/slack_connectors.test.tsx | 0 .../slack/slack_connectors.tsx | 0 .../slack/slack_params.test.tsx | 0 .../connector_types/slack/slack_params.tsx | 0 .../connector_types/slack/translations.ts | 0 .../connector_types/slack_api/index.tsx | 0 .../slack_api/slack_api.test.tsx | 0 .../connector_types/slack_api/slack_api.tsx | 0 .../slack_api/slack_connectors.test.tsx | 0 .../slack_api/slack_connectors.tsx | 0 .../slack_api/slack_params.test.tsx | 0 .../slack_api/slack_params.tsx | 0 .../connector_types/slack_api/translations.ts | 0 .../slack_api/use_valid_channels.tsx | 0 .../connector_types/swimlane/api.test.ts | 0 .../public/connector_types/swimlane/api.ts | 0 .../connector_types/swimlane/helpers.ts | 0 .../public/connector_types/swimlane/index.ts | 0 .../public/connector_types/swimlane/logo.tsx | 0 .../public/connector_types/swimlane/mocks.ts | 0 .../connector_types/swimlane/steps/index.ts | 0 .../swimlane/steps/swimlane_connection.tsx | 0 .../swimlane/steps/swimlane_fields.tsx | 0 .../swimlane/swimlane.test.tsx | 0 .../connector_types/swimlane/swimlane.tsx | 0 .../swimlane/swimlane_connectors.test.tsx | 0 .../swimlane/swimlane_connectors.tsx | 0 .../swimlane/swimlane_params.test.tsx | 0 .../swimlane/swimlane_params.tsx | 0 .../connector_types/swimlane/translations.ts | 0 .../public/connector_types/swimlane/types.ts | 0 .../swimlane/use_get_application.test.tsx | 0 .../swimlane/use_get_application.tsx | 0 .../public/connector_types/teams/index.ts | 0 .../public/connector_types/teams/logo.tsx | 0 .../connector_types/teams/teams.test.tsx | 0 .../public/connector_types/teams/teams.tsx | 0 .../teams/teams_connectors.test.tsx | 0 .../teams/teams_connectors.tsx | 0 .../teams/teams_params.test.tsx | 0 .../connector_types/teams/teams_params.tsx | 0 .../connector_types/teams/translations.ts | 0 .../thehive/connector.test.tsx | 0 .../connector_types/thehive/connector.tsx | 0 .../connector_types/thehive/constants.ts | 0 .../public/connector_types/thehive/index.ts | 0 .../public/connector_types/thehive/logo.tsx | 0 .../connector_types/thehive/params.test.tsx | 0 .../public/connector_types/thehive/params.tsx | 0 .../thehive/params_alert.test.tsx | 0 .../connector_types/thehive/params_alert.tsx | 0 .../thehive/params_case.test.tsx | 0 .../connector_types/thehive/params_case.tsx | 0 .../connector_types/thehive/thehive.test.tsx | 0 .../connector_types/thehive/thehive.tsx | 0 .../connector_types/thehive/translations.ts | 0 .../public/connector_types/thehive/types.ts | 0 .../public/connector_types/tines/index.ts | 0 .../public/connector_types/tines/logo.tsx | 0 .../connector_types/tines/tines.test.ts | 0 .../public/connector_types/tines/tines.ts | 0 .../tines/tines_connector.test.tsx | 0 .../connector_types/tines/tines_connector.tsx | 0 .../tines/tines_params.test.tsx | 0 .../connector_types/tines/tines_params.tsx | 0 .../connector_types/tines/translations.ts | 0 .../public/connector_types/tines/types.ts | 0 .../public/connector_types/torq/index.ts | 0 .../public/connector_types/torq/logo.tsx | 0 .../public/connector_types/torq/torq.test.tsx | 0 .../public/connector_types/torq/torq.tsx | 0 .../torq/torq_connectors.test.tsx | 0 .../connector_types/torq/torq_connectors.tsx | 0 .../connector_types/torq/torq_params.test.tsx | 0 .../connector_types/torq/torq_params.tsx | 0 .../connector_types/torq/translations.ts | 0 .../public/connector_types/types.ts | 0 .../public/connector_types/webhook/index.ts | 0 .../connector_types/webhook/translations.ts | 0 .../connector_types/webhook/webhook.test.tsx | 0 .../connector_types/webhook/webhook.tsx | 0 .../webhook/webhook_connectors.test.tsx | 0 .../webhook/webhook_connectors.tsx | 0 .../webhook/webhook_params.test.tsx | 0 .../webhook/webhook_params.tsx | 0 .../public/connector_types/xmatters/index.ts | 0 .../public/connector_types/xmatters/logo.tsx | 0 .../connector_types/xmatters/translations.ts | 0 .../xmatters/xmatters.test.tsx | 0 .../connector_types/xmatters/xmatters.tsx | 0 .../xmatters/xmatters_connectors.test.tsx | 0 .../xmatters/xmatters_connectors.tsx | 0 .../xmatters/xmatters_params.test.tsx | 0 .../xmatters/xmatters_params.tsx | 0 .../shared}/stack_connectors/public/index.ts | 0 .../shared}/stack_connectors/public/mocks.ts | 0 .../shared}/stack_connectors/public/plugin.ts | 0 .../shared}/stack_connectors/server/config.ts | 0 .../connector_types/bedrock/bedrock.test.ts | 0 .../server/connector_types/bedrock/bedrock.ts | 0 .../connector_types/bedrock/index.test.ts | 0 .../server/connector_types/bedrock/index.ts | 0 .../connector_types/bedrock/render.test.ts | 0 .../server/connector_types/bedrock/render.ts | 0 .../connector_types/cases_webhook/api.test.ts | 0 .../connector_types/cases_webhook/api.ts | 0 .../connector_types/cases_webhook/index.ts | 0 .../connector_types/cases_webhook/mock.ts | 0 .../connector_types/cases_webhook/schema.ts | 0 .../cases_webhook/service.test.ts | 0 .../connector_types/cases_webhook/service.ts | 0 .../cases_webhook/translations.ts | 0 .../connector_types/cases_webhook/types.ts | 0 .../cases_webhook/utils.test.ts | 0 .../connector_types/cases_webhook/utils.ts | 0 .../cases_webhook/validators.ts | 0 .../crowdstrike/crowdstrike.test.ts | 0 .../crowdstrike/crowdstrike.ts | 0 .../connector_types/crowdstrike/error.ts | 0 .../connector_types/crowdstrike/index.ts | 0 .../crowdstrike/rtr_session_manager.test.ts | 0 .../crowdstrike/rtr_session_manager.ts | 0 .../connector_types/crowdstrike/types.ts | 0 .../d3security/d3security.test.ts | 0 .../connector_types/d3security/d3security.ts | 0 .../connector_types/d3security/helpers.ts | 0 .../connector_types/d3security/index.test.ts | 0 .../connector_types/d3security/index.ts | 0 .../connector_types/d3security/render.test.ts | 0 .../connector_types/d3security/render.ts | 0 .../connector_types/email/index.test.ts | 0 .../server/connector_types/email/index.ts | 0 .../connector_types/email/send_email.test.ts | 0 .../connector_types/email/send_email.ts | 2 +- .../email/send_email_graph_api.test.ts | 0 .../email/send_email_graph_api.ts | 0 .../connector_types/es_index/index.test.ts | 0 .../server/connector_types/es_index/index.ts | 0 .../connector_types/gemini/gemini.test.ts | 0 .../server/connector_types/gemini/gemini.ts | 0 .../connector_types/gemini/index.test.ts | 0 .../server/connector_types/gemini/index.ts | 0 .../connector_types/gemini/render.test.ts | 0 .../server/connector_types/gemini/render.ts | 0 .../server/connector_types/index.test.ts | 0 .../server/connector_types/index.ts | 0 .../connector_types/inference/helpers.ts | 1 - .../connector_types/inference/index.test.ts | 0 .../server/connector_types/inference/index.ts | 0 .../inference/inference.test.ts | 2 +- .../connector_types/inference/inference.ts | 0 .../server/connector_types/jira/api.test.ts | 0 .../server/connector_types/jira/api.ts | 0 .../server/connector_types/jira/index.ts | 0 .../server/connector_types/jira/mocks.ts | 0 .../connector_types/jira/schema.test.ts | 0 .../server/connector_types/jira/schema.ts | 0 .../connector_types/jira/service.test.ts | 0 .../server/connector_types/jira/service.ts | 0 .../connector_types/jira/translations.ts | 0 .../server/connector_types/jira/types.ts | 2 - .../server/connector_types/jira/utils.test.ts | 0 .../server/connector_types/jira/utils.ts | 0 .../server/connector_types/jira/validators.ts | 0 .../lib/convert_timestamp.test.ts | 0 .../connector_types/lib/convert_timestamp.ts | 0 .../gen_ai/create_gen_ai_dashboard.test.ts | 0 .../lib/gen_ai/create_gen_ai_dashboard.ts | 0 .../lib/gen_ai/gen_ai_dashboard.ts | 0 .../lib/http_response_retry_header.ts | 0 .../server/connector_types/lib/result_type.ts | 0 .../server/connector_types/lib/schemas.ts | 0 .../lib/servicenow/api.test.ts | 0 .../connector_types/lib/servicenow/api.ts | 0 .../lib/servicenow/config.test.ts | 0 .../connector_types/lib/servicenow/config.ts | 0 .../servicenow/create_service_wrapper.test.ts | 0 .../lib/servicenow/create_service_wrapper.ts | 0 .../connector_types/lib/servicenow/mocks.ts | 0 .../connector_types/lib/servicenow/schema.ts | 0 .../lib/servicenow/service.test.ts | 0 .../connector_types/lib/servicenow/service.ts | 2 +- .../lib/servicenow/translations.ts | 0 .../connector_types/lib/servicenow/types.ts | 2 - .../lib/servicenow/utils.test.ts | 0 .../connector_types/lib/servicenow/utils.ts | 0 .../lib/servicenow/validators.test.ts | 0 .../lib/servicenow/validators.ts | 0 .../connector_types/lib/string_utils.test.ts | 0 .../connector_types/lib/string_utils.ts | 0 .../lib/unflatten_object.test.ts | 0 .../connector_types/lib/unflatten_object.ts | 0 .../connector_types/lib/validators.test.ts | 0 .../server/connector_types/lib/validators.ts | 0 .../connector_types/openai/index.test.ts | 0 .../server/connector_types/openai/index.ts | 0 .../openai/lib/azure_openai_utils.test.ts | 0 .../openai/lib/azure_openai_utils.ts | 0 .../openai/lib/openai_utils.test.ts | 0 .../openai/lib/openai_utils.ts | 0 .../openai/lib/other_openai_utils.test.ts | 0 .../openai/lib/other_openai_utils.ts | 0 .../connector_types/openai/lib/utils.test.ts | 0 .../connector_types/openai/lib/utils.ts | 0 .../connector_types/openai/openai.test.ts | 0 .../server/connector_types/openai/openai.ts | 0 .../connector_types/openai/render.test.ts | 0 .../server/connector_types/openai/render.ts | 0 .../opsgenie/connector.test.ts | 0 .../connector_types/opsgenie/connector.ts | 0 .../server/connector_types/opsgenie/index.ts | 0 .../render_template_variables.test.ts | 0 .../opsgenie/render_template_variables.ts | 0 .../connector_types/opsgenie/schema.test.ts | 0 .../server/connector_types/opsgenie/schema.ts | 0 .../connector_types/opsgenie/test_schema.ts | 0 .../connector_types/opsgenie/translations.ts | 0 .../server/connector_types/opsgenie/types.ts | 0 .../connector_types/pagerduty/index.test.ts | 0 .../server/connector_types/pagerduty/index.ts | 0 .../pagerduty/post_pagerduty.ts | 0 .../connector_types/resilient/constants.ts | 0 .../server/connector_types/resilient/index.ts | 0 .../server/connector_types/resilient/mocks.ts | 0 .../resilient/resilient.test.ts | 0 .../connector_types/resilient/resilient.ts | 0 .../connector_types/resilient/schema.ts | 0 .../connector_types/resilient/translations.ts | 0 .../server/connector_types/resilient/types.ts | 2 - .../connector_types/resilient/utils.test.ts | 0 .../server/connector_types/resilient/utils.ts | 0 .../connector_types/sentinelone/index.ts | 0 .../connector_types/sentinelone/mocks.ts | 2 - .../connector_types/sentinelone/render.ts | 0 .../sentinelone/sentinelone.test.ts | 0 .../sentinelone/sentinelone.ts | 0 .../connector_types/server_log/index.test.ts | 0 .../connector_types/server_log/index.ts | 0 .../servicenow_itom/api.test.ts | 0 .../connector_types/servicenow_itom/api.ts | 0 .../connector_types/servicenow_itom/index.ts | 0 .../servicenow_itom/service.test.ts | 0 .../servicenow_itom/service.ts | 0 .../connector_types/servicenow_itsm/api.ts | 0 .../servicenow_itsm/index.test.ts | 0 .../connector_types/servicenow_itsm/index.ts | 0 .../servicenow_itsm/service.test.ts | 0 .../servicenow_itsm/service.ts | 0 .../servicenow_sir/api.test.ts | 0 .../connector_types/servicenow_sir/api.ts | 0 .../servicenow_sir/index.test.ts | 0 .../connector_types/servicenow_sir/index.ts | 0 .../servicenow_sir/service.test.ts | 0 .../connector_types/servicenow_sir/service.ts | 0 .../connector_types/slack/index.test.ts | 0 .../server/connector_types/slack/index.ts | 0 .../connector_types/slack_api/api.test.ts | 0 .../server/connector_types/slack_api/api.ts | 0 .../connector_types/slack_api/index.test.ts | 0 .../server/connector_types/slack_api/index.ts | 0 .../connector_types/slack_api/service.test.ts | 0 .../connector_types/slack_api/service.ts | 0 .../connector_types/slack_api/translations.ts | 0 .../connector_types/swimlane/api.test.ts | 0 .../server/connector_types/swimlane/api.ts | 0 .../connector_types/swimlane/helpers.test.ts | 0 .../connector_types/swimlane/helpers.ts | 0 .../server/connector_types/swimlane/index.ts | 0 .../server/connector_types/swimlane/mocks.ts | 0 .../server/connector_types/swimlane/schema.ts | 0 .../connector_types/swimlane/service.test.ts | 0 .../connector_types/swimlane/service.ts | 0 .../connector_types/swimlane/translations.ts | 0 .../server/connector_types/swimlane/types.ts | 1 - .../connector_types/swimlane/validators.ts | 0 .../connector_types/teams/index.test.ts | 0 .../server/connector_types/teams/index.ts | 0 .../connector_types/thehive/index.test.ts | 0 .../server/connector_types/thehive/index.ts | 0 .../connector_types/thehive/thehive.test.ts | 0 .../server/connector_types/thehive/thehive.ts | 0 .../connector_types/tines/api_schema.ts | 0 .../server/connector_types/tines/index.ts | 0 .../connector_types/tines/render.test.ts | 0 .../server/connector_types/tines/render.ts | 0 .../connector_types/tines/tines.test.ts | 0 .../server/connector_types/tines/tines.ts | 0 .../torq/__snapshots__/index.test.ts.snap | 0 .../server/connector_types/torq/index.test.ts | 0 .../server/connector_types/torq/index.ts | 0 .../webhook/__snapshots__/index.test.ts.snap | 0 .../connector_types/webhook/index.test.ts | 7 +- .../server/connector_types/webhook/index.ts | 0 .../server/connector_types/webhook/schema.ts | 0 .../server/connector_types/webhook/types.ts | 0 .../connector_types/xmatters/index.test.ts | 0 .../server/connector_types/xmatters/index.ts | 0 .../connector_types/xmatters/post_xmatters.ts | 0 .../shared}/stack_connectors/server/index.ts | 0 .../stack_connectors/server/plugin.test.ts | 0 .../shared}/stack_connectors/server/plugin.ts | 0 .../routes/get_inference_services.test.ts | 0 .../server/routes/get_inference_services.ts | 0 .../get_well_known_email_service.test.ts | 0 .../routes/get_well_known_email_service.ts | 0 .../stack_connectors/server/routes/index.ts | 0 .../server/routes/valid_slack_api_channels.ts | 0 .../shared}/stack_connectors/server/types.ts | 0 .../shared}/stack_connectors/tsconfig.json | 2 +- .../plugins/shared}/task_manager/README.md | 4 +- .../shared}/task_manager/common/constants.ts | 0 .../shared}/task_manager/common/index.ts | 0 .../shared/task_manager}/jest.config.js | 11 +- .../task_manager}/jest.integration.config.js | 4 +- .../plugins/shared}/task_manager/kibana.jsonc | 0 .../shared}/task_manager/server/MONITORING.md | 0 .../server/buffered_task_store.mock.ts | 0 .../server/buffered_task_store.test.ts | 0 .../server/buffered_task_store.ts | 0 .../task_manager/server/config.mock.ts | 0 .../task_manager/server/config.test.ts | 0 .../shared}/task_manager/server/config.ts | 0 .../shared}/task_manager/server/constants.ts | 0 .../shared}/task_manager/server/index.test.ts | 0 .../shared}/task_manager/server/index.ts | 0 .../task_cost_check.test.ts.snap | 0 .../task_priority_check.test.ts.snap | 0 .../server/integration_tests/lib/index.ts | 0 .../integration_tests/lib/inject_task.ts | 0 .../server/integration_tests/lib/retry.ts | 0 .../lib/setup_test_servers.ts | 0 .../managed_configuration.test.ts | 0 .../integration_tests/removed_types.test.ts | 0 .../integration_tests/task_cost_check.test.ts | 0 ...sk_manager_capacity_based_claiming.test.ts | 0 .../task_manager_switch_task_claimers.test.ts | 0 .../task_priority_check.test.ts | 0 .../task_state_validation.test.ts | 0 .../delete_inactive_nodes_task.test.ts | 0 .../delete_inactive_nodes_task.ts | 0 .../server/kibana_discovery_service/index.ts | 0 .../kibana_discovery_service.test.ts | 0 .../kibana_discovery_service.ts | 0 .../mock_kibana_discovery_service.ts | 0 .../server/lib/adhoc_task_counter.test.ts | 0 .../server/lib/adhoc_task_counter.ts | 0 .../server/lib/assign_pod_partitions.test.ts | 0 .../server/lib/assign_pod_partitions.ts | 0 .../server/lib/bulk_operation_buffer.test.ts | 0 .../server/lib/bulk_operation_buffer.ts | 0 .../server/lib/bulk_update_error.ts | 0 .../lib/calculate_health_status.test.ts | 0 .../server/lib/calculate_health_status.ts | 0 .../lib/correct_deprecated_fields.test.ts | 0 .../server/lib/correct_deprecated_fields.ts | 0 .../lib/create_managed_configuration.test.ts | 0 .../lib/create_managed_configuration.ts | 0 .../task_manager/server/lib/fill_pool.test.ts | 0 .../task_manager/server/lib/fill_pool.ts | 0 .../server/lib/get_default_capacity.test.ts | 0 .../server/lib/get_default_capacity.ts | 0 .../server/lib/get_next_run_at.test.ts | 0 .../server/lib/get_next_run_at.ts | 0 .../server/lib/get_retry_at.test.ts | 0 .../task_manager/server/lib/get_retry_at.ts | 0 .../server/lib/get_template_version.test.ts | 0 .../server/lib/get_template_version.ts | 0 .../server/lib/identify_es_error.test.ts | 0 .../server/lib/identify_es_error.ts | 0 .../task_manager/server/lib/intervals.test.ts | 0 .../task_manager/server/lib/intervals.ts | 0 .../lib/is_task_not_found_error.test.ts | 0 .../server/lib/is_task_not_found_error.ts | 0 .../server/lib/log_health_metrics.mock.ts | 0 .../server/lib/log_health_metrics.test.ts | 0 .../server/lib/log_health_metrics.ts | 0 .../server/lib/middleware.test.ts | 0 .../task_manager/server/lib/middleware.ts | 0 .../task_manager/server/lib/msearch_error.ts | 0 .../server/lib/remove_if_exists.test.ts | 0 .../server/lib/remove_if_exists.ts | 0 .../server/lib/result_type.test.ts | 0 .../task_manager/server/lib/result_type.ts | 0 .../server/lib/retryable_bulk_update.test.ts | 0 .../server/lib/retryable_bulk_update.ts | 0 .../lib/runtime_statistics_aggregator.ts | 0 .../server/lib/task_partitioner.test.ts | 0 .../server/lib/task_partitioner.ts | 0 .../server/lib/wrapped_logger.test.ts | 0 .../task_manager/server/lib/wrapped_logger.ts | 0 .../manual_tests/get_rule_run_event_logs.js | 0 .../server/metrics/create_aggregator.test.ts | 0 .../server/metrics/create_aggregator.ts | 0 .../task_manager/server/metrics/index.ts | 0 .../server/metrics/lib/counter.test.ts | 0 .../server/metrics/lib/counter.ts | 0 .../metrics/lib/get_task_type_group.test.ts | 0 .../server/metrics/lib/get_task_type_group.ts | 0 .../task_manager/server/metrics/lib/index.ts | 0 .../lib/metric_counter_service.test.ts | 0 .../metrics/lib/metric_counter_service.ts | 0 .../metrics/lib/simple_histogram.test.ts | 0 .../server/metrics/lib/simple_histogram.ts | 0 .../metrics/lib/unflatten_object.test.ts | 0 .../server/metrics/lib/unflatten_object.ts | 0 .../server/metrics/metrics_aggregator.mock.ts | 0 .../server/metrics/metrics_stream.test.ts | 0 .../server/metrics/metrics_stream.ts | 0 .../task_claim_metrics_aggregator.test.ts | 0 .../metrics/task_claim_metrics_aggregator.ts | 0 .../metrics/task_metrics_collector.test.ts | 0 .../server/metrics/task_metrics_collector.ts | 0 .../task_overdue_metrics_aggregator.test.ts | 0 .../task_overdue_metrics_aggregator.ts | 0 .../task_run_metrics_aggregator.test.ts | 0 .../metrics/task_run_metrics_aggregator.ts | 0 .../task_manager/server/metrics/types.ts | 0 .../shared}/task_manager/server/mocks.ts | 0 ...ground_task_utilization_statistics.test.ts | 0 .../background_task_utilization_statistics.ts | 0 .../monitoring/capacity_estimation.test.ts | 0 .../server/monitoring/capacity_estimation.ts | 0 .../configuration_statistics.test.ts | 0 .../monitoring/configuration_statistics.ts | 0 .../task_manager/server/monitoring/index.ts | 0 .../monitoring_stats_stream.test.ts | 0 .../monitoring/monitoring_stats_stream.ts | 0 .../monitoring/task_run_calculators.test.ts | 0 .../server/monitoring/task_run_calculators.ts | 0 .../monitoring/task_run_statistics.test.ts | 0 .../server/monitoring/task_run_statistics.ts | 0 .../monitoring/workload_statistics.test.ts | 0 .../server/monitoring/workload_statistics.ts | 0 .../task_manager/server/plugin.test.ts | 0 .../shared}/task_manager/server/plugin.ts | 0 .../polling/delay_on_claim_conflicts.test.ts | 0 .../polling/delay_on_claim_conflicts.ts | 0 .../task_manager/server/polling/index.ts | 0 .../server/polling/task_poller.test.ts | 0 .../server/polling/task_poller.ts | 0 .../server/polling_lifecycle.mock.ts | 0 .../server/polling_lifecycle.test.ts | 0 .../task_manager/server/polling_lifecycle.ts | 0 ..._task_overdue_percentiles_for_type.test.ts | 0 ...egate_task_overdue_percentiles_for_type.ts | 0 .../mark_available_tasks_as_claimed.test.ts | 0 .../mark_available_tasks_as_claimed.ts | 0 .../queries/oldest_idle_action_task.test.ts | 0 .../server/queries/oldest_idle_action_task.ts | 0 .../server/queries/query_clauses.test.ts | 0 .../server/queries/query_clauses.ts | 0 .../server/queries/task_claiming.mock.ts | 0 .../server/queries/task_claiming.test.ts | 4 +- .../server/queries/task_claiming.ts | 0 ...mark_removed_tasks_as_unrecognized.test.ts | 0 .../mark_removed_tasks_as_unrecognized.ts | 0 .../server/routes/_mock_handler_arguments.ts | 0 .../background_task_utilization.test.ts | 0 .../routes/background_task_utilization.ts | 0 .../task_manager/server/routes/health.test.ts | 3 +- .../task_manager/server/routes/health.ts | 0 .../task_manager/server/routes/index.ts | 0 .../server/routes/metrics.test.ts | 0 .../task_manager/server/routes/metrics.ts | 0 .../server/saved_objects/index.ts | 0 .../server/saved_objects/mappings.ts | 0 .../server/saved_objects/migrations.test.ts | 0 .../server/saved_objects/migrations.ts | 2 - .../saved_objects/migrations_880.test.ts | 0 .../migrations_helpers/get_rule_task_state.js | 0 .../background_task_node_model_versions.ts | 0 .../saved_objects/model_versions/index.ts | 0 .../model_versions/task_model_versions.ts | 0 .../schemas/background_task_node.ts | 0 .../server/saved_objects/schemas/task.test.ts | 0 .../server/saved_objects/schemas/task.ts | 0 .../shared}/task_manager/server/task.ts | 6 +- .../server/task_claimers/README.md | 0 .../server/task_claimers/index.test.ts | 0 .../server/task_claimers/index.ts | 0 .../lib/task_selector_by_capacity.ts | 0 .../task_claimers/strategy_mget.test.ts | 4 +- .../server/task_claimers/strategy_mget.ts | 0 .../strategy_update_by_query.test.ts | 4 +- .../task_claimers/strategy_update_by_query.ts | 0 .../task_manager/server/task_events.test.ts | 0 .../task_manager/server/task_events.ts | 0 .../server/task_pool/capacity.mock.ts | 0 .../server/task_pool/cost_capacity.test.ts | 0 .../server/task_pool/cost_capacity.ts | 0 .../task_manager/server/task_pool/index.ts | 0 .../server/task_pool/task_pool.mock.ts | 0 .../server/task_pool/task_pool.test.ts | 0 .../server/task_pool/task_pool.ts | 0 .../server/task_pool/test_utils.ts | 0 .../task_manager/server/task_pool/types.ts | 0 .../task_manager/server/task_pool/utils.ts | 0 .../server/task_pool/worker_capacity.test.ts | 0 .../server/task_pool/worker_capacity.ts | 0 .../server/task_running/errors.test.ts | 0 .../server/task_running/errors.ts | 0 .../task_manager/server/task_running/index.ts | 0 .../server/task_running/task_runner.test.ts | 2 +- .../server/task_running/task_runner.ts | 0 .../server/task_scheduling.mock.ts | 0 .../server/task_scheduling.test.ts | 0 .../task_manager/server/task_scheduling.ts | 0 .../task_manager/server/task_store.mock.ts | 0 .../task_manager/server/task_store.test.ts | 2 +- .../shared}/task_manager/server/task_store.ts | 0 .../server/task_type_dictionary.test.ts | 0 .../server/task_type_dictionary.ts | 0 .../server/task_validator.test.ts | 0 .../task_manager/server/task_validator.ts | 0 .../task_manager/server/test_utils/index.ts | 0 .../task_manager/server/usage/index.ts | 0 .../task_manager_usage_collector.test.ts | 0 .../usage/task_manager_usage_collector.ts | 0 .../task_manager/server/usage/types.ts | 0 .../shared}/task_manager/tsconfig.json | 2 +- .../context/action_type_registry.tsx | 0 .../.storybook/context/application.tsx | 0 .../.storybook/context/capabilities.tsx | 0 .../.storybook/context/http.ts | 0 .../.storybook/context/rule_type_registry.ts | 0 .../.storybook/decorator.tsx | 0 .../triggers_actions_ui/.storybook/main.ts | 0 .../triggers_actions_ui/.storybook/manager.ts | 3 +- .../.storybook/preview.tsx | 0 .../shared}/triggers_actions_ui/README.md | 66 +- .../triggers_actions_ui/common/data/index.ts | 0 .../common/data/lib/build_agg.test.ts | 0 .../common/data/lib/build_agg.ts | 0 .../common/data/lib/date_range_info.test.ts | 0 .../common/data/lib/date_range_info.ts | 0 .../lib/parse_aggregation_results.test.ts | 0 .../data/lib/parse_aggregation_results.ts | 0 .../common/experimental_features.ts | 0 .../triggers_actions_ui/common/index.ts | 1 - .../common/normalized_field_types.ts | 0 .../common/parse_interval.ts | 0 .../triggers_actions_ui/common/types.ts | 0 .../triggers_actions_ui/common/utils.ts | 0 .../shared/triggers_actions_ui/jest.config.js | 18 + .../shared}/triggers_actions_ui/kibana.jsonc | 0 .../application/action_type_registry.mock.ts | 0 .../alert_table_config_registry.test.ts | 0 .../alert_table_config_registry.ts | 0 .../public/application/alerts_app.tsx | 0 .../alert_lifecycle_status_badge.stories.tsx | 0 .../alert_lifecycle_status_badge.tsx | 0 .../components/center_justified_spinner.tsx | 0 .../components/delete_modal_confirmation.tsx | 0 .../application/components/health_check.scss | 0 .../components/health_check.test.tsx | 0 .../application/components/health_check.tsx | 0 .../public/application/components/index.ts | 0 ...son_editor_with_message_variables.test.tsx | 0 .../json_editor_with_message_variables.tsx | 0 .../components/json_field_wrapper.styles.ts | 0 .../components/json_field_wrapper.tsx | 0 .../mustache_text_field_wrapper.tsx | 0 .../prompts/empty_connectors_prompt.scss | 0 .../prompts/empty_connectors_prompt.tsx | 0 .../components/prompts/empty_prompt.tsx | 0 .../prompts/no_permission_prompt.tsx | 0 .../rules_delete_modal_confirmation.tsx | 0 .../rules_settings_flapping_form_section.tsx | 0 .../rules_settings_flapping_section.tsx | 0 .../rules_settings_query_delay_section.tsx | 0 .../rules_settings_link.stories.tsx | 0 .../rules_settings_link.test.tsx | 0 .../rules_setting/rules_settings_link.tsx | 0 .../rules_settings_modal.test.tsx | 0 .../rules_setting/rules_settings_modal.tsx | 0 .../components/section_loading.tsx | 0 .../components/simple_connector_form.test.tsx | 0 .../components/simple_connector_form.tsx | 0 .../application/components/test_utils.tsx | 0 .../text_area_with_autocomplete/index.tsx | 0 ...ilter_suggestions_for_autocomplete.test.ts | 0 .../filter_suggestions_for_autocomplete.ts | 0 .../lib/template_action_variable.test.ts | 0 .../lib/template_action_variable.ts | 0 .../text_area_with_message_variables.test.tsx | 0 .../text_area_with_message_variables.tsx | 0 ...text_field_with_message_variables.test.tsx | 0 .../text_field_with_message_variables.tsx | 0 .../toast_with_circuit_breaker_content.tsx | 0 ...update_api_key_modal_confirmation.test.tsx | 0 .../update_api_key_modal_confirmation.tsx | 0 .../public/application/connectors_app.tsx | 0 .../public/application/constants/index.ts | 0 .../public/application/constants/plugin.ts | 0 .../application/constants/time_units.ts | 0 .../application/context/connector_context.tsx | 0 .../application/context/health_context.tsx | 0 .../context/use_connector_context.ts | 0 .../public/application/home.test.tsx | 0 .../public/application/home.tsx | 0 .../public/application/hooks/constants.ts | 0 .../public/application/hooks/index.ts | 0 .../hooks/use_bulk_edit_response.tsx | 0 .../hooks/use_bulk_edit_select.test.tsx | 0 .../hooks/use_bulk_edit_select.tsx | 0 .../hooks/use_bulk_operation_toast.tsx | 0 .../hooks/use_create_connector.test.tsx | 0 .../hooks/use_create_connector.tsx | 0 .../application/hooks/use_edit_connector.tsx | 0 .../hooks/use_execute_connector.test.tsx | 0 .../hooks/use_execute_connector.tsx | 0 .../hooks/use_fetch_rule_action_connectors.ts | 0 .../use_get_query_delay_setting.test.tsx | 0 .../hooks/use_get_query_delay_settings.ts | 0 .../application/hooks/use_license.test.ts | 0 .../public/application/hooks/use_license.ts | 0 .../hooks/use_load_action_types_query.ts | 0 .../hooks/use_load_alert_summary.test.ts | 0 .../hooks/use_load_alert_summary.ts | 0 .../hooks/use_load_config_query.ts | 0 .../hooks/use_load_rule_aggregations.test.tsx | 0 .../hooks/use_load_rule_aggregations_query.ts | 0 .../hooks/use_load_rule_event_logs.ts | 0 .../hooks/use_load_rule_types_query.ts | 0 .../application/hooks/use_load_rules.test.tsx | 0 .../application/hooks/use_load_rules_query.ts | 0 .../hooks/use_load_tags_query.test.tsx | 0 .../application/hooks/use_load_tags_query.ts | 0 .../application/hooks/use_multiple_spaces.ts | 0 .../hooks/use_rule_aad_template_fields.ts | 0 .../hooks/use_rules_list_ui_state.ts | 0 .../application/hooks/use_sub_action.test.tsx | 0 .../application/hooks/use_sub_action.tsx | 0 .../hooks/use_update_rules_settings.test.tsx | 0 .../hooks/use_update_rules_settings.ts | 0 .../rules_list_sandbox.tsx | 0 .../action_connector_api/connector_types.ts | 0 .../lib/action_connector_api/connectors.ts | 0 .../lib/action_connector_api/create.test.ts | 0 .../lib/action_connector_api/create.ts | 0 .../lib/action_connector_api/delete.test.ts | 0 .../lib/action_connector_api/delete.ts | 0 .../lib/action_connector_api/execute.test.ts | 0 .../lib/action_connector_api/execute.ts | 0 .../lib/action_connector_api/index.ts | 0 .../load_execution_kpi_aggregations.test.ts | 0 .../load_execution_kpi_aggregations.ts | 0 .../load_execution_log_aggregations.test.ts | 0 .../load_execution_log_aggregations.ts | 0 .../lib/action_connector_api/update.test.ts | 0 .../lib/action_connector_api/update.ts | 0 .../lib/action_type_compare.test.ts | 0 .../application/lib/action_type_compare.ts | 0 .../public/application/lib/breadcrumb.test.ts | 0 .../public/application/lib/breadcrumb.ts | 0 .../public/application/lib/capabilities.ts | 0 .../lib/check_rule_type_enabled.test.tsx | 0 .../lib/check_rule_type_enabled.tsx | 0 .../public/application/lib/doc_title.test.ts | 0 .../public/application/lib/doc_title.ts | 0 .../lib/execution_duration_utils.test.ts | 0 .../lib/execution_duration_utils.ts | 0 .../application/lib/get_time_options.test.ts | 0 .../application/lib/get_time_options.ts | 0 .../application/lib/get_time_unit_label.ts | 0 .../lib/has_mustache_tokens.test.ts | 0 .../application/lib/has_mustache_tokens.ts | 0 .../application/lib/i18n_month_day_date.ts | 0 .../public/application/lib/index.ts | 0 .../public/application/lib/is_rule_snoozed.ts | 0 .../application/lib/monitoring_utils.test.ts | 0 .../application/lib/monitoring_utils.ts | 0 .../lib/rule_api/aggregate.test.ts | 0 .../application/lib/rule_api/aggregate.ts | 0 .../lib/rule_api/aggregate_helpers.ts | 0 .../rule_api/aggregate_kuery_filter.test.ts | 0 .../lib/rule_api/aggregate_kuery_filter.ts | 0 .../application/lib/rule_api/bulk_delete.ts | 0 .../application/lib/rule_api/bulk_disable.ts | 0 .../application/lib/rule_api/bulk_enable.ts | 0 .../application/lib/rule_api/clone.test.ts | 0 .../public/application/lib/rule_api/clone.ts | 0 .../lib/rule_api/common_transformations.ts | 0 .../lib/rule_api/get_filter.test.ts | 0 .../application/lib/rule_api/get_filter.ts | 0 .../rule_api/get_query_delay_settings.test.ts | 0 .../lib/rule_api/get_query_delay_settings.ts | 0 .../application/lib/rule_api/get_rule.test.ts | 0 .../application/lib/rule_api/get_rule.ts | 0 .../public/application/lib/rule_api/index.ts | 0 .../rule_api/load_action_error_log.test.ts | 0 .../lib/rule_api/load_action_error_log.ts | 0 .../load_execution_kpi_aggregations.ts | 0 .../load_execution_log_aggregations.test.ts | 0 .../load_execution_log_aggregations.ts | 0 .../load_global_execution_kpi_aggregations.ts | 0 .../lib/rule_api/map_filters_to_kql.test.ts | 0 .../lib/rule_api/map_filters_to_kql.ts | 0 .../map_filters_to_kuery_node.test.ts | 0 .../lib/rule_api/map_filters_to_kuery_node.ts | 0 .../application/lib/rule_api/mute.test.ts | 0 .../public/application/lib/rule_api/mute.ts | 0 .../lib/rule_api/mute_alert.test.ts | 0 .../application/lib/rule_api/mute_alert.ts | 0 .../lib/rule_api/rule_summary.test.ts | 0 .../application/lib/rule_api/rule_summary.ts | 0 .../lib/rule_api/rule_types.test.ts | 0 .../application/lib/rule_api/rule_types.ts | 0 .../application/lib/rule_api/rules.test.ts | 0 .../public/application/lib/rule_api/rules.ts | 0 .../application/lib/rule_api/rules_helpers.ts | 0 .../lib/rule_api/rules_kuery_filter.test.ts | 0 .../lib/rule_api/rules_kuery_filter.ts | 0 .../application/lib/rule_api/run_soon.test.ts | 0 .../application/lib/rule_api/run_soon.ts | 0 .../application/lib/rule_api/snooze.test.ts | 0 .../public/application/lib/rule_api/snooze.ts | 0 .../application/lib/rule_api/state.test.ts | 0 .../public/application/lib/rule_api/state.ts | 0 .../application/lib/rule_api/unmute.test.ts | 0 .../public/application/lib/rule_api/unmute.ts | 0 .../lib/rule_api/unmute_alert.test.ts | 0 .../application/lib/rule_api/unmute_alert.ts | 0 .../application/lib/rule_api/unsnooze.test.ts | 0 .../application/lib/rule_api/unsnooze.ts | 0 .../lib/rule_api/update_api_key.test.ts | 0 .../lib/rule_api/update_api_key.ts | 0 .../lib/rule_api/update_flapping_settings.ts | 0 .../update_query_delay_settings.test.ts | 0 .../rule_api/update_query_delay_settings.ts | 0 .../application/lib/rule_type_compare.test.ts | 0 .../application/lib/rule_type_compare.ts | 0 .../public/application/lib/run_rule.test.ts | 0 .../public/application/lib/run_rule.ts | 0 .../public/application/lib/search_filters.ts | 0 .../lib/suspended_component_with_props.tsx | 0 .../lib/template_action_variable.test.ts | 0 .../lib/template_action_variable.ts | 0 .../lib/validate_params_for_warnings.test.ts | 0 .../lib/validate_params_for_warnings.ts | 0 .../application/lib/value_validators.test.ts | 0 .../application/lib/value_validators.ts | 0 .../mock/alert_summary_widget/index.ts | 0 .../application/mock/rule_types_index.ts | 0 .../public/application/query_client.ts | 0 .../application/rule_type_registry.mock.ts | 0 .../public/application/rules_app.tsx | 0 .../action_form.test.tsx | 0 .../action_connector_form/action_form.tsx | 0 .../action_type_form.test.tsx | 0 .../action_type_form.tsx | 0 .../action_type_menu.test.tsx | 0 .../action_type_menu.tsx | 0 .../connector_add_inline.tsx | 0 .../connector_add_modal.scss | 0 .../connector_add_modal.test.tsx | 0 .../connector_add_modal.tsx | 0 .../connector_error_mock.tsx | 0 .../connector_form.test.tsx | 0 .../action_connector_form/connector_form.tsx | 0 .../connector_form_fields.test.tsx | 0 .../connector_form_fields.tsx | 0 .../connector_form_fields_global.test.tsx | 0 .../connector_form_fields_global.tsx | 0 .../action_connector_form/connector_mock.tsx | 0 .../connector_rules_list.test.tsx | 0 .../connector_rules_list.tsx | 0 .../connectors_selection.test.tsx | 0 .../connectors_selection.tsx | 0 .../create_connector_flyout/footer.tsx | 0 .../create_connector_flyout/header.tsx | 0 .../create_connector_flyout/index.test.tsx | 0 .../create_connector_flyout/index.tsx | 0 .../upgrade_license_callout.tsx | 0 .../edit_connector_flyout/footer.tsx | 0 .../edit_connector_flyout/header.tsx | 0 .../edit_connector_flyout/index.test.tsx | 0 .../edit_connector_flyout/index.tsx | 0 .../edit_connector_flyout/read_only.test.tsx | 0 .../edit_connector_flyout/read_only.tsx | 0 .../encrypted_fields_callout.test.tsx | 0 .../encrypted_fields_callout.tsx | 0 .../sections/action_connector_form/index.ts | 0 .../system_action_type_form.test.tsx | 0 .../system_action_type_form.tsx | 0 .../test_connector_form.test.tsx | 0 .../test_connector_form.tsx | 0 .../sections/action_connector_form/types.ts | 0 ...ons_connectors_event_log_list_kpi.test.tsx | 0 .../actions_connectors_event_log_list_kpi.tsx | 0 ...s_connectors_event_log_list_table.test.tsx | 0 ...ctions_connectors_event_log_list_table.tsx | 0 .../actions_connectors_home.test.tsx | 0 .../components/actions_connectors_home.tsx | 0 .../components/actions_connectors_list.scss | 0 .../actions_connectors_list.test.tsx | 0 .../components/actions_connectors_list.tsx | 0 .../components/types.ts | 0 .../alert_summary_widget.test.tsx | 0 .../alert_summary_widget.tsx | 0 .../components/alert_counts.tsx | 0 .../components/alert_item.tsx | 0 .../alert_summary_widget_compact.stories.tsx | 0 .../alert_summary_widget_compact.test.tsx | 0 .../alert_summary_widget_compact.tsx | 0 .../components/alert_summary_widget_error.tsx | 0 ...alert_summary_widget_full_size.stories.tsx | 0 .../alert_summary_widget_full_size.test.tsx | 0 .../alert_summary_widget_full_size.tsx | 0 .../alert_summary_widget_loader.tsx | 0 .../components/constants.tsx | 0 .../alert_summary_widget/components/index.ts | 0 .../sections/alert_summary_widget/index.tsx | 0 .../sections/alert_summary_widget/types.ts | 0 .../components/stack_alerts_page.test.tsx | 0 .../components/stack_alerts_page.tsx | 0 .../alerts_page/hooks/use_rule_stats.tsx | 0 .../use_rule_type_ids_by_feature_id.test.ts | 0 .../hooks/use_rule_type_ids_by_feature_id.ts | 0 .../sections/alerts_page/index.tsx | 0 .../alerts_search_bar.test.tsx | 0 .../alerts_search_bar/alerts_search_bar.tsx | 0 .../alerts_search_bar/build_es_query.ts | 0 .../sections/alerts_search_bar/constants.ts | 0 .../sections/alerts_search_bar/index.ts | 0 .../alerts_search_bar/quick_filters.ts | 0 .../alerts_search_bar/translations.ts | 0 .../sections/alerts_search_bar/types.ts | 0 .../url_synced_alerts_search_bar.tsx | 0 .../use_alert_search_bar_state_container.tsx | 0 .../alerts_flyout/alerts_flyout.test.tsx | 0 .../alerts_flyout/alerts_flyout.tsx | 0 .../alerts_flyout/alerts_flyout_header.tsx | 0 .../default_alerts_flyout.test.tsx | 0 .../alerts_flyout/default_alerts_flyout.tsx | 0 .../alerts_table/alerts_flyout/index.ts | 0 .../sections/alerts_table/alerts_table.scss | 0 .../alerts_table/alerts_table.test.tsx | 0 .../sections/alerts_table/alerts_table.tsx | 0 .../alerts_table/alerts_table_state.test.tsx | 0 .../alerts_table/alerts_table_state.tsx | 0 ...on_product_no_results_magnifying_glass.svg | 0 .../bulk_actions/bulk_actions.test.tsx | 0 .../bulk_actions/components/column_header.tsx | 0 .../bulk_actions/components/index.ts | 0 .../bulk_actions/components/row_cell.tsx | 0 .../bulk_actions/components/toolbar.tsx | 0 .../get_leading_control_column.tsx | 0 .../alerts_table/bulk_actions/reducer.ts | 0 .../alerts_table/bulk_actions/translations.ts | 0 .../sections/alerts_table/cases/cell.test.tsx | 0 .../sections/alerts_table/cases/cell.tsx | 0 .../sections/alerts_table/cases/index.mock.ts | 0 .../cases/use_case_view_navigation.test.ts | 0 .../cases/use_case_view_navigation.ts | 0 .../alert_lifecycle_status_cell.test.tsx | 0 .../cells/alert_lifecycle_status_cell.tsx | 0 .../alerts_table/cells/default_cell.test.tsx | 0 .../alerts_table/cells/default_cell.tsx | 0 .../alerts_table/cells/index.test.tsx | 0 .../sections/alerts_table/cells/index.tsx | 0 .../alerts_table/cells/render_cell_value.tsx | 0 .../sections/alerts_table/configuration.tsx | 0 .../sections/alerts_table/constants.ts | 0 .../contexts/alerts_table_context.ts | 0 .../alerts_table/empty_state.stories.tsx | 0 .../sections/alerts_table/empty_state.tsx | 0 .../hooks/alert_mute/use_alert_muted_state.ts | 0 .../alert_mute/use_get_muted_alerts.test.tsx | 0 .../hooks/alert_mute/use_get_muted_alerts.tsx | 0 .../hooks/alert_mute/use_mute_alert.test.tsx | 0 .../hooks/alert_mute/use_mute_alert.ts | 0 .../alert_mute/use_unmute_alert.test.tsx | 0 .../hooks/alert_mute/use_unmute_alert.ts | 0 .../hooks/apis/bulk_get_cases.test.ts | 0 .../alerts_table/hooks/apis/bulk_get_cases.ts | 0 .../apis/bulk_get_maintenance_windows.test.ts | 0 .../apis/bulk_get_maintenance_windows.ts | 0 .../hooks/apis/get_rules_muted_alerts.test.ts | 0 .../hooks/apis/get_rules_muted_alerts.ts | 0 .../sections/alerts_table/hooks/constants.ts | 0 .../sections/alerts_table/hooks/index.ts | 0 .../alerts_table/hooks/translations.ts | 0 .../alerts_table/hooks/use_actions_column.ts | 0 .../hooks/use_bulk_actions.test.tsx | 0 .../alerts_table/hooks/use_bulk_actions.ts | 0 .../hooks/use_bulk_get_cases.test.tsx | 0 .../alerts_table/hooks/use_bulk_get_cases.tsx | 0 .../use_bulk_get_maintenance_windows.test.ts | 0 .../use_bulk_get_maintenance_windows.tsx | 0 .../hooks/use_bulk_untrack_alerts.tsx | 0 .../use_bulk_untrack_alerts_by_query.test.ts | 0 .../use_bulk_untrack_alerts_by_query.tsx | 0 .../alerts_table/hooks/use_columns/index.ts | 0 .../hooks/use_columns/toggle_column.test.tsx | 0 .../hooks/use_columns/toggle_column.ts | 0 .../hooks/use_columns/use_columns.test.tsx | 0 .../hooks/use_columns/use_columns.ts | 0 .../alerts_table/hooks/use_pagination.test.ts | 0 .../alerts_table/hooks/use_pagination.ts | 0 .../alerts_table/hooks/use_sorting.test.ts | 0 .../alerts_table/hooks/use_sorting.ts | 0 .../sections/alerts_table/index.mock.ts | 0 .../sections/alerts_table/index.ts | 0 .../maintenance_windows/cell.test.tsx | 0 .../alerts_table/maintenance_windows/cell.tsx | 0 .../maintenance_windows/index.mock.ts | 0 .../maintenance_windows/tooltip_content.tsx | 0 .../sections/alerts_table/query_client.ts | 0 .../row_actions/alert_actions_cell.tsx | 0 .../default_alert_actions.test.tsx | 0 .../row_actions/default_alert_actions.tsx | 0 .../alerts_table/row_actions/index.ts | 0 .../mark_as_untracked_alert_action.tsx | 0 .../row_actions/mute_alert_action.tsx | 0 .../view_alert_details_alert_action.tsx | 0 .../view_rule_details_alert_action.tsx | 0 .../components/alerts_count/alerts_count.tsx | 0 .../hover_visibility_container/index.test.tsx | 0 .../hover_visibility_container/index.tsx | 0 .../toolbar/components/inspect/index.test.tsx | 0 .../toolbar/components/inspect/index.tsx | 0 .../toolbar/components/inspect/modal.test.tsx | 0 .../toolbar/components/inspect/modal.tsx | 0 .../components/inspect/translations.ts | 0 .../components/last_updated_at/index.tsx | 0 .../last_updated_at/translations.ts | 0 .../sections/alerts_table/toolbar/index.tsx | 0 .../toolbar/toolbar_visibility.tsx | 0 .../sections/alerts_table/translations.ts | 0 .../sections/alerts_table/types.ts | 0 .../components/bulk_operation_popover.tsx | 0 .../common/components/error_boundary.test.tsx | 0 .../common/components/error_boundary.tsx | 0 .../event_log/event_log_data_grid.tsx | 0 .../components/event_log/event_log_list.scss | 0 .../event_log_list_cell_renderer.test.tsx | 0 .../event_log_list_cell_renderer.tsx | 0 .../event_log/event_log_list_status.tsx | 0 .../event_log_list_status_filter.test.tsx | 0 .../event_log_list_status_filter.tsx | 0 .../event_log/event_log_pagination_status.tsx | 0 .../components/event_log/event_log_stat.tsx | 0 .../common/components/event_log/index.ts | 0 .../execution_duration_chart.test.tsx | 0 .../components/execution_duration_chart.tsx | 0 .../components/refine_search_prompt.tsx | 0 .../components/rule_quick_edit_buttons.scss | 0 .../rule_quick_edit_buttons.test.tsx | 0 .../components/rule_quick_edit_buttons.tsx | 0 .../components/untrack_alerts_modal.test.tsx | 0 .../components/untrack_alerts_modal.tsx | 0 .../with_actions_api_operations.test.tsx | 0 .../with_actions_api_operations.tsx | 0 .../with_bulk_rule_api_operations.test.tsx | 0 .../with_bulk_rule_api_operations.tsx | 0 .../application/sections/common/connectors.ts | 0 .../categories_badges.styles.ts | 0 .../categories_badges.test.tsx | 0 .../categories_badges/categories_badges.tsx | 0 .../components/categories_badges/index.ts | 0 .../categories_selector.styles.ts | 0 .../categories_selector.test.tsx | 0 .../categories_selector.tsx | 0 .../components/categories_selector/index.ts | 0 .../field_items/field_items.style.ts | 0 .../field_items/field_items.test.tsx | 0 .../components/field_items/field_items.tsx | 0 .../components/field_items/index.ts | 0 .../components/field_name/field_name.test.tsx | 0 .../components/field_name/field_name.tsx | 0 .../components/field_name/index.ts | 0 .../field_table/field_table.styles.ts | 0 .../field_table/field_table.test.tsx | 0 .../components/field_table/field_table.tsx | 0 .../field_table/field_table_header.styles.ts | 0 .../field_table/field_table_header.test.tsx | 0 .../field_table/field_table_header.tsx | 0 .../components/field_table/index.ts | 0 .../field_browser/components/search/index.ts | 0 .../components/search/search.test.tsx | 0 .../components/search/search.tsx | 0 .../field_browser/field_browser.styles.ts | 0 .../field_browser/field_browser.test.tsx | 0 .../sections/field_browser/field_browser.tsx | 0 .../field_browser_modal.test.tsx | 0 .../field_browser/field_browser_modal.tsx | 0 .../sections/field_browser/helpers.test.ts | 0 .../sections/field_browser/helpers.ts | 0 .../sections/field_browser/index.ts | 0 .../sections/field_browser/mock.ts | 0 .../sections/field_browser/translations.ts | 0 .../sections/field_browser/types.ts | 0 .../public/application/sections/index.tsx | 0 .../components/alert_muted_switch.tsx | 0 .../components/global_rule_event_log_list.tsx | 0 .../rule_details/components/rule.scss | 0 .../rule_details/components/rule.test.tsx | 0 .../sections/rule_details/components/rule.tsx | 0 .../components/rule_action_error_badge.tsx | 0 .../rule_action_error_log_flyout.test.tsx | 0 .../rule_action_error_log_flyout.tsx | 0 .../components/rule_actions.test.tsx | 0 .../rule_details/components/rule_actions.tsx | 0 .../components/rule_actions_popopver.scss | 0 .../components/rule_actions_popover.test.tsx | 0 .../components/rule_actions_popover.tsx | 0 .../components/rule_alert_list.tsx | 0 .../components/rule_definition.test.tsx | 0 .../components/rule_definition.tsx | 0 .../components/rule_details.test.tsx | 0 .../rule_details/components/rule_details.tsx | 0 .../components/rule_details_route.test.tsx | 0 .../components/rule_details_route.tsx | 0 .../components/rule_error_log.test.tsx | 0 .../components/rule_error_log.tsx | 0 .../rule_event_log_list.stories.tsx | 0 .../components/rule_event_log_list.test.tsx | 0 .../components/rule_event_log_list.tsx | 0 .../rule_event_log_list_kpi.test.tsx | 0 .../components/rule_event_log_list_kpi.tsx | 0 .../rule_event_log_list_table.test.tsx | 0 .../components/rule_event_log_list_table.tsx | 0 .../rule_execution_summary_and_chart.test.tsx | 0 .../rule_execution_summary_and_chart.tsx | 0 .../components/rule_route.test.tsx | 0 .../rule_details/components/rule_route.tsx | 0 .../components/rule_status_panel.test.tsx | 0 .../components/rule_status_panel.tsx | 0 .../rule_details/components/test_helpers.ts | 0 .../sections/rule_details/components/types.ts | 0 .../components/view_in_app.test.tsx | 0 .../rule_details/components/view_in_app.tsx | 0 .../sections/rule_form/confirm_rule_close.tsx | 0 .../sections/rule_form/confirm_rule_save.tsx | 0 .../rule_form/get_initial_interval.test.ts | 0 .../rule_form/get_initial_interval.ts | 0 .../rule_form/has_rule_changed.test.ts | 0 .../sections/rule_form/has_rule_changed.ts | 0 .../application/sections/rule_form/index.tsx | 0 .../sections/rule_form/rule_add.test.tsx | 0 .../sections/rule_form/rule_add.tsx | 0 .../sections/rule_form/rule_add_footer.tsx | 0 .../rule_form/rule_conditions.test.tsx | 0 .../sections/rule_form/rule_conditions.tsx | 0 .../rule_form/rule_conditions_group.test.tsx | 0 .../rule_form/rule_conditions_group.tsx | 0 .../sections/rule_form/rule_edit.test.tsx | 0 .../sections/rule_form/rule_edit.tsx | 0 .../sections/rule_form/rule_errors.test.tsx | 0 .../sections/rule_form/rule_errors.ts | 0 .../sections/rule_form/rule_form.scss | 0 .../sections/rule_form/rule_form.test.tsx | 0 .../sections/rule_form/rule_form.tsx | 0 .../rule_form_advanced_options.test.tsx | 0 .../rule_form/rule_form_advanced_options.tsx | 0 .../rule_form_consumer_selection.test.tsx | 0 .../rule_form_consumer_selection.tsx | 0 .../sections/rule_form/rule_form_route.tsx | 0 .../rule_form/rule_notify_when.test.tsx | 0 .../sections/rule_form/rule_notify_when.tsx | 0 .../sections/rule_form/rule_reducer.test.ts | 0 .../sections/rule_form/rule_reducer.ts | 0 .../rule_form/show_request_modal.test.tsx | 0 .../sections/rule_form/show_request_modal.tsx | 0 .../sections/rule_form/solution_filter.tsx | 0 .../components/action_type_filter.tsx | 0 .../components/bulk_snooze_modal.tsx | 0 .../components/bulk_snooze_schedule_modal.tsx | 0 .../components/collapsed_item_actions.scss | 0 .../collapsed_item_actions.test.tsx | 0 .../components/collapsed_item_actions.tsx | 0 .../components/create_rule_button.tsx | 0 .../use_rules_list_filter_store.test.tsx | 0 .../hooks/use_rules_list_filter_store.tsx | 0 .../components/kql_search_bar/constants.tsx | 0 .../kql_search_bar/helpers.test.tsx | 0 .../components/kql_search_bar/helpers.tsx | 0 .../components/kql_search_bar/index.tsx | 0 .../kql_search_bar/kql_search_bar.tsx | 0 .../validate_kuery_node.test.tsx | 0 .../kql_search_bar/validate_kuery_node.tsx | 0 .../components/manage_license_modal.tsx | 0 .../components/notify_badge/helpers.tsx | 0 .../components/notify_badge/index.tsx | 0 .../notify_badge/notify_badge.test.tsx | 0 .../components/notify_badge/notify_badge.tsx | 0 .../notify_badge_with_api.stories.tsx | 0 .../notify_badge/notify_badge_with_api.tsx | 0 .../components/notify_badge/translations.tsx | 0 .../components/notify_badge/types.ts | 0 .../percentile_selectable_popover.tsx | 0 .../components/rule_duration_format.tsx | 0 .../components/rule_enabled_switch.test.tsx | 0 .../components/rule_enabled_switch.tsx | 0 .../rule_execution_status_filter.tsx | 0 .../rule_last_run_outcome_filter.tsx | 0 .../rule_snooze/helpers/number_field.test.tsx | 0 .../rule_snooze/helpers/number_field.tsx | 0 .../components/rule_snooze/index.tsx | 0 .../panel/base_snooze_panel.test.tsx | 0 .../rule_snooze/panel/base_snooze_panel.tsx | 0 .../components/rule_snooze/panel/constants.ts | 0 .../rule_snooze/panel/helpers.test.tsx | 0 .../components/rule_snooze/panel/helpers.tsx | 0 .../components/rule_snooze/panel/index.tsx | 0 .../rule_snooze/panel/translations.tsx | 0 .../recurrence_scheduler/constants.ts | 0 .../custom_recurrence_scheduler.test.tsx | 0 .../custom_recurrence_scheduler.tsx | 0 .../recurrence_scheduler/helpers.test.tsx | 0 .../recurrence_scheduler/helpers.tsx | 0 .../recurrence_scheduler/index.tsx | 0 .../recurrence_scheduler.scss | 0 .../recurrence_scheduler/translations.tsx | 0 .../components/rule_snooze/scheduler.scss | 0 .../components/rule_snooze/scheduler.tsx | 0 .../components/rule_snooze_modal.tsx | 0 .../rule_status_dropdown.stories.tsx | 0 .../components/rule_status_dropdown.test.tsx | 0 .../components/rule_status_dropdown.tsx | 0 .../components/rule_status_filter.test.tsx | 0 .../components/rule_status_filter.tsx | 0 .../components/rule_tag_badge.stories.tsx | 0 .../components/rule_tag_badge.test.tsx | 0 .../rules_list/components/rule_tag_badge.tsx | 0 .../components/rule_tag_filter.stories.tsx | 0 .../components/rule_tag_filter.test.tsx | 0 .../rules_list/components/rule_tag_filter.tsx | 0 .../rules_list/components/rules_list.scss | 0 .../components/rules_list.stories.tsx | 0 .../rules_list/components/rules_list.test.tsx | 0 .../rules_list/components/rules_list.tsx | 0 .../rules_list_auto_refresh.test.tsx | 0 .../components/rules_list_auto_refresh.tsx | 0 .../rules_list_bulk_delete.test.tsx | 0 .../rules_list_bulk_disable.test.tsx | 0 .../components/rules_list_bulk_edit.test.tsx | 0 .../rules_list_bulk_enable.test.tsx | 0 .../rules_list_clear_rule_filter_banner.tsx | 0 .../rules_list_column_selector.test.tsx | 0 .../components/rules_list_column_selector.tsx | 0 .../components/rules_list_doc_link.tsx | 0 .../components/rules_list_error_banner.tsx | 0 .../components/rules_list_filters_bar.tsx | 0 .../components/rules_list_prompts.tsx | 0 .../components/rules_list_statuses.tsx | 0 .../components/rules_list_table.tsx | 0 .../rules_list_table_status_cell.test.tsx | 0 .../rules_list_table_status_cell.tsx | 0 .../rules_list/components/test_helpers.ts | 0 .../rules_list/components/type_filter.tsx | 0 .../sections/rules_list/translations.ts | 0 .../application/sections/test_utils.tsx | 0 .../application/sections/translations.ts | 0 .../public/application/type_registry.ts | 0 .../public/common/connectors_selection.tsx | 0 .../constants/action_frequency_types.ts | 0 .../common/constants/aggregation_types.ts | 0 .../public/common/constants/group_by_types.ts | 0 .../public/common/constants/index.ts | 0 .../common/experimental_features_service.ts | 0 .../closable_popover_title.test.tsx | 0 .../components/closable_popover_title.tsx | 0 .../expression_items/components/index.ts | 0 .../expression_items/for_the_last.test.tsx | 0 .../common/expression_items/for_the_last.tsx | 0 .../expression_items/group_by_over.test.tsx | 0 .../common/expression_items/group_by_over.tsx | 0 .../public/common/expression_items/index.ts | 0 .../public/common/expression_items/of.scss | 0 .../common/expression_items/of.test.tsx | 0 .../public/common/expression_items/of.tsx | 0 .../expression_items/threshold.test.tsx | 0 .../common/expression_items/threshold.tsx | 0 .../common/expression_items/value.test.tsx | 0 .../public/common/expression_items/value.tsx | 0 .../common/expression_items/when.test.tsx | 0 .../public/common/expression_items/when.tsx | 0 .../public/common/get_action_form.tsx | 0 .../common/get_add_connector_flyout.tsx | 0 .../public/common/get_add_rule_flyout.tsx | 0 .../public/common/get_alerts_search_bar.tsx | 0 .../public/common/get_alerts_table.tsx | 0 .../get_alerts_table_default_row_actions.tsx | 0 .../public/common/get_alerts_table_state.tsx | 0 .../common/get_edit_connector_flyout.tsx | 0 .../public/common/get_edit_rule_flyout.tsx | 0 .../common/get_experimental_features.test.tsx | 0 .../common/get_experimental_features.ts | 0 .../public/common/get_field_browser.tsx | 0 .../common/get_global_rule_event_log_list.tsx | 0 .../public/common/get_rule_alerts_summary.tsx | 0 .../public/common/get_rule_definition.tsx | 0 .../public/common/get_rule_event_log_list.tsx | 0 .../public/common/get_rule_snooze_modal.tsx | 0 .../common/get_rule_status_dropdown.tsx | 0 .../public/common/get_rule_status_filter.tsx | 0 .../public/common/get_rule_status_panel.tsx | 0 .../public/common/get_rule_tag_badge.tsx | 0 .../public/common/get_rule_tag_filter.tsx | 0 .../public/common/get_rules_list.tsx | 0 .../common/get_rules_list_notify_badge.tsx | 0 .../public/common/get_rules_settings_link.tsx | 0 .../public/common/index.ts | 0 .../public/common/index_controls/index.ts | 0 .../public/common/lib/data_apis.test.ts | 0 .../public/common/lib/data_apis.ts | 0 .../lib/format_rule_alert_count.test.ts | 0 .../common/lib/format_rule_alert_count.ts | 0 .../common/lib/get_time_options.test.ts | 0 .../public/common/lib/get_time_options.ts | 0 .../public/common/lib/get_time_unit_label.ts | 0 .../public/common/lib/index.ts | 0 .../common/lib/kibana/__mocks__/index.ts | 0 .../public/common/lib/kibana/index.ts | 0 .../common/lib/kibana/kibana_react.mock.ts | 0 .../public/common/lib/kibana/kibana_react.ts | 0 .../common/lib/kibana/use_spaces_data.tsx | 0 .../common/lib/rule_status_helper.test.ts | 0 .../public/common/lib/rule_status_helpers.ts | 0 .../public/common/truncated_text.tsx | 0 .../public/common/types.ts | 0 .../triggers_actions_ui/public/index.ts | 0 .../triggers_actions_ui/public/mocks.ts | 0 .../triggers_actions_ui/public/plugin.ts | 0 .../triggers_actions_ui/public/types.ts | 0 .../triggers_actions_ui/server/config.ts | 0 .../triggers_actions_ui/server/data/README.md | 0 .../triggers_actions_ui/server/data/index.ts | 0 .../server/data/lib/core_query_types.test.ts | 1 - .../server/data/lib/core_query_types.ts | 0 .../server/data/lib/index.ts | 0 .../server/data/lib/time_series_query.test.ts | 0 .../server/data/lib/time_series_query.ts | 2 +- .../server/data/lib/time_series_types.test.ts | 1 - .../server/data/lib/time_series_types.ts | 0 .../server/data/routes/fields.ts | 0 .../server/data/routes/index.ts | 0 .../server/data/routes/indices.ts | 2 +- .../server/data/routes/time_series_query.ts | 0 .../triggers_actions_ui/server/index.ts | 0 .../triggers_actions_ui/server/plugin.ts | 0 .../server/routes/config.test.ts | 0 .../server/routes/config.ts | 0 .../server/routes/health.ts | 0 .../server/routes/index.ts | 0 .../shared}/triggers_actions_ui/tsconfig.json | 4 +- x-pack/plugins/alerting/jest.config.js | 15 - x-pack/plugins/cases/jest.config.js | 15 - .../lib/enterprise_search_http_agent.ts | 2 +- x-pack/plugins/event_log/jest.config.js | 15 - x-pack/plugins/rule_registry/jest.config.js | 15 - x-pack/plugins/task_manager/jest.config.js | 15 - .../schema/xpack_platform.json | 3872 +++++- .../schema/xpack_plugins.json | 10686 +++++----------- .../packages}/kbn-alerts-grouping/README.md | 0 .../packages/kbn-alerts-grouping/index.ts | 14 + .../kbn-alerts-grouping/jest.config.js | 15 + .../kbn-alerts-grouping/kibana.jsonc | 0 .../kbn-alerts-grouping/package.json | 2 +- .../kbn-alerts-grouping/setup_tests.ts | 9 + .../src/components/alerts_grouping.test.tsx | 8 +- .../src/components/alerts_grouping.tsx | 8 +- .../components/alerts_grouping_level.test.tsx | 8 +- .../src/components/alerts_grouping_level.tsx | 8 +- .../kbn-alerts-grouping/src/constants.ts | 10 + .../src/contexts/alerts_grouping_context.tsx | 8 +- .../packages/kbn-alerts-grouping/src/index.ts | 10 + .../src/mocks/grouping_props.mock.tsx | 8 +- .../src/mocks/grouping_query.mock.ts | 8 +- .../kbn-alerts-grouping/src/types.ts | 8 +- .../kbn-alerts-grouping/tsconfig.json | 2 +- .../src/actions/index.ts | 2 +- .../bulk_actions_route.schema.yaml | 2 +- .../security_solution/common/constants.ts | 2 +- .../prebuilt_rules_customization.md | 6 +- .../sentinelone/routes/utils.ts | 2 +- .../server/lib/detection_engine/README.md | 4 +- .../logic/rule_actions/legacy_migrations.ts | 2 +- .../create_rule_execution_summary.ts | 2 +- .../scripts/get_action_instances.sh | 2 +- .../scripts/get_action_types.sh | 2 +- .../utils/create_datastream.ts | 2 +- .../alerting/group4/generate_alert_schemas.ts | 6 +- .../tests/common/cases/bulk_create_cases.ts | 2 +- .../plugins/cases/package.json | 2 +- .../plugins/event_log/package.json | 2 +- yarn.lock | 42 +- 6159 files changed, 8119 insertions(+), 8184 deletions(-) delete mode 100644 packages/kbn-alerts-grouping/index.ts delete mode 100644 packages/kbn-alerts-grouping/src/constants.ts delete mode 100644 packages/kbn-alerts-grouping/src/index.ts delete mode 100644 packages/kbn-alerts-ui-shared/jest.config.js delete mode 100644 packages/kbn-cases-components/jest.config.js delete mode 100644 packages/kbn-grouping/jest.config.js delete mode 100644 packages/kbn-grouping/setup_tests.ts delete mode 100644 packages/kbn-triggers-actions-ui-types/jest.config.js rename {packages => src/platform/packages/private}/response-ops/rule_params/README.md (100%) rename {packages => src/platform/packages/private}/response-ops/rule_params/index.ts (100%) rename {packages => src/platform/packages/private}/response-ops/rule_params/jest.config.js (82%) rename {packages => src/platform/packages/private}/response-ops/rule_params/kibana.jsonc (100%) rename {packages/kbn-alerting-types/flapping => src/platform/packages/private/response-ops/rule_params}/latest.ts (100%) rename {packages => src/platform/packages/private}/response-ops/rule_params/package.json (100%) rename {packages => src/platform/packages/private}/response-ops/rule_params/tsconfig.json (81%) rename {packages => src/platform/packages/private}/response-ops/rule_params/v1.ts (100%) rename {packages => src/platform/packages/shared}/kbn-actions-types/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-actions-types/action_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-actions-types/index.ts (100%) rename {packages/kbn-alerts-as-data-utils => src/platform/packages/shared/kbn-actions-types}/jest.config.js (83%) rename {packages => src/platform/packages/shared}/kbn-actions-types/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-actions-types/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-actions-types/rewrite_request_case_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-actions-types/tsconfig.json (84%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/action_group_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/action_variable.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/alert_fields_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/alert_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/alerting_framework_health_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/builtin_action_groups_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/circuit_breaker_message_header.ts (100%) rename {packages/response-ops/rule_params => src/platform/packages/shared/kbn-alerting-types/flapping}/latest.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/flapping/v1.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/jest.config.js (83%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/r_rule_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/rule_notify_when_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/rule_settings.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/rule_type_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/rule_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/search_strategy_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerting-types/tsconfig.json (90%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/index.ts (100%) rename {packages/kbn-rrule => src/platform/packages/shared/kbn-alerts-as-data-utils}/jest.config.js (82%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/field_maps/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/field_maps/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/search/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/search/security/fields.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/src/search/security/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-as-data-utils/tsconfig.json (84%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/README.mdx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/index.ts (100%) rename {packages/kbn-alerts-grouping => src/platform/packages/shared/kbn-alerts-ui-shared}/jest.config.js (70%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/lib/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/lib/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/package.json (100%) rename {packages/kbn-alerts-grouping => src/platform/packages/shared/kbn-alerts-ui-shared}/setup_tests.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/action_variables/action_variables.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/action_variables/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/action_variables/transforms.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/add_message_variables/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/add_message_variables/translations.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/constants/alerts.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/constants/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/constants/routes.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/transformations/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/type_registry.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/type_registry.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/types/action_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/types/alerts_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/types/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/types/rule_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/rule_settings/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-alerts-ui-shared/tsconfig.json (95%) rename {packages => src/platform/packages/shared}/kbn-cases-components/.storybook/main.js (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-cases-components/jest.config.js rename {packages => src/platform/packages/shared}/kbn-cases-components/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/package.json (100%) rename {packages/kbn-alerts-ui-shared => src/platform/packages/shared/kbn-cases-components}/setup_tests.ts (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/__stories__/tooltip.stories.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/status/config.ts (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/status/status.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/status/status.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/status/translations.ts (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/status/types.ts (91%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/tooltip/icon_with_count.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/tooltip/icon_with_count.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/tooltip/skeleton.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/tooltip/tooltip.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/tooltip/tooltip.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/tooltip/tooltip_content.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/tooltip/translations.ts (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/tooltip/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/tooltip/utils.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/src/tooltip/utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-cases-components/tsconfig.json (84%) rename {packages => src/platform/packages/shared}/kbn-grouping/.storybook/main.js (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/README.mdx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/index.tsx (100%) create mode 100644 src/platform/packages/shared/kbn-grouping/jest.config.js rename {packages => src/platform/packages/shared}/kbn-grouping/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/package.json (100%) rename {packages/kbn-cases-components => src/platform/packages/shared/kbn-grouping}/setup_tests.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/accordion_panel/group_stats.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/accordion_panel/index.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/accordion_panel/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/empty_results_panel.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/group_selector/custom_field_panel.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/group_selector/index.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/group_selector/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/grouping.mock.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/grouping.stories.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/grouping.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/grouping.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/styles.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/translations.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/components/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/containers/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/containers/query/helpers.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/containers/query/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/containers/query/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/containers/query/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/containers/query/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/hooks/state/actions.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/hooks/state/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/hooks/state/reducer.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/hooks/state/reducer.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/hooks/state/selectors.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/hooks/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/hooks/use_get_group_selector.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/hooks/use_get_group_selector.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/hooks/use_grouping.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/hooks/use_grouping.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/mocks.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/src/telemetry/const.ts (100%) rename {packages => src/platform/packages/shared}/kbn-grouping/tsconfig.json (90%) rename {packages => src/platform/packages/shared}/kbn-rrule/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-rrule/index.ts (100%) rename {packages/kbn-actions-types => src/platform/packages/shared/kbn-rrule}/jest.config.js (84%) rename {packages => src/platform/packages/shared}/kbn-rrule/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-rrule/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-rrule/rrule.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rrule/rrule.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rrule/tsconfig.json (82%) rename {packages => src/platform/packages/shared}/kbn-triggers-actions-ui-types/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-triggers-actions-ui-types/action_group_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-triggers-actions-ui-types/action_variable_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-triggers-actions-ui-types/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js rename {packages => src/platform/packages/shared}/kbn-triggers-actions-ui-types/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-triggers-actions-ui-types/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-triggers-actions-ui-types/rule_types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-triggers-actions-ui-types/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/README.md (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/index.ts (100%) rename x-pack/{packages/kbn-alerting-comparators => platform/packages/private/kbn-alerting-state-types}/jest.config.js (73%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/package.json (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/src/alert_instance.ts (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/src/lifecycle_state.ts (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/src/rule_task_instance.ts (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/src/task_state/index.ts (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/src/task_state/lib/index.ts (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/src/task_state/v1/index.ts (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/src/task_state/v1/migration.test.ts (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/src/task_state/v1/migration.ts (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/src/task_state/v1/schema.ts (100%) rename x-pack/{packages => platform/packages/private}/kbn-alerting-state-types/tsconfig.json (81%) rename x-pack/{packages => platform/packages/shared}/kbn-alerting-comparators/README.md (100%) rename x-pack/{packages => platform/packages/shared}/kbn-alerting-comparators/index.ts (100%) rename x-pack/{packages/kbn-alerting-state-types => platform/packages/shared/kbn-alerting-comparators}/jest.config.js (73%) rename x-pack/{packages => platform/packages/shared}/kbn-alerting-comparators/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/kbn-alerting-comparators/package.json (100%) rename x-pack/{packages => platform/packages/shared}/kbn-alerting-comparators/src/comparators.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-alerting-comparators/tsconfig.json (80%) rename x-pack/{plugins => platform/plugins/shared}/actions/README.md (98%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/alert_history_schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/alert_history_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/connector_feature_config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/connector_feature_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/execution_log_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/index.ts (95%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/mustache_template.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/mustache_template.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/rewrite_request_case.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/connector_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/connector_types/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/connector_types/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/connector_types/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/connector_types/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/create/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/create/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/create/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/create/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/create/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/delete/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/delete/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/delete/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/delete/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/execute/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/execute/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/execute/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/execute/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/execute/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/get/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/get/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/get/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/get/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/get/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/update/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/update/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/update/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/update/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/apis/update/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/response/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/response/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/response/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/response/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/routes/connector/response/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/validate_email_addresses.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/validate_email_addresses.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/validate_empty_strings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/common/validate_empty_strings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/README.md (65%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/action_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/auth_type.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/bedrock_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/bedrock_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/ca.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/cases_webhook_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/cert_type.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/connector_types.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/crowdstrike_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/crt.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/d3security_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/d3security_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/email_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/email_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/features.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/gemini_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/gemini_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/genai_azure_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/genai_openai_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/genai_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/has_auth.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/index_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/inference_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/inference_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/is_deprecated.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/is_missing_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/is_preconfigured.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/is_system_action.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/jira_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/jira_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/key.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/opsgenie_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/pagerduty_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/pfx.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/referenced_by_count.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/resilient_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/resilient_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_addevent.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_closealert.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_closeincident.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_createalert.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_documents.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_getchoices.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_getfields.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_getincident.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_issue.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_issues.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_issuetypes.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_message_email.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_message_serverlog.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_message_slack.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_postmessage.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_pushtoservice.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/run_validchannelid.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/sentinelone_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/servicenow_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/servicenow_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/slack_api_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/slack_api_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/swimlane_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/swimlane_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/teams_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/thehive_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/thehive_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/tines_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/tines_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/torq_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/torq_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/verification_mode.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/webhook_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/webhook_secrets.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/xmatters_config.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/docs/openapi/components/schemas/xmatters_secrets.yaml (100%) rename x-pack/{plugins/stack_connectors => platform/plugins/shared/actions}/jest.config.js (70%) rename x-pack/{plugins/alerting => platform/plugins/shared/actions}/jest.integration.config.js (77%) rename x-pack/{plugins => platform/plugins/shared}/actions/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/action_type_registry.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/action_type_registry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/action_type_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/actions_client/actions_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/actions_client/actions_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/actions_client/actions_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/actions_client/actions_client_hooks.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/actions_client/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/actions_config.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/actions_config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/actions_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/lib/connector_from_save_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/lib/is_connector_deprecated.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/lib/is_connector_deprecated.ts (96%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/create/create.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/create/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/create/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/create/types/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/execute/execute.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/execute/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/execute/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/execute/types/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/get/get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/get/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/get/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/get/types/params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/get_all/get_all.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/get_all/get_all.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/get_all/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/get_all/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/get_all/types/params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/list_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/list_types/list_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/list_types/list_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/list_types/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/list_types/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/list_types/types/list_types_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/update/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/update/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/update/types/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/methods/update/update.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/schemas/connector_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/schemas/connector_type_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/types/connector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/types/connector_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/application/connector/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/authorization/actions_authorization.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/authorization/actions_authorization.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/authorization/actions_authorization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/constants/event_log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/constants/plugin.ts (90%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/constants/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/create_execute_function.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/create_execute_function.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/create_system_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/create_system_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/create_unsecured_execute_function.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/create_unsecured_execute_function.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/data/connector/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/data/connector/find_connectors_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/data/connector/get_connector_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/data/connector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/data/connector/search_connectors_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/data/connector/types/find_connectors_so_result.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/data/connector/types/get_connector_so_result.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/data/connector/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/data/connector/types/params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/feature.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/integration_tests/axios_utils_connection.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/integration_tests/axios_utils_proxy.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/integration_tests/connector_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/integration_tests/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/integration_tests/lib/setup_test_servers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/integration_tests/mock_certs/unauthorized.crt (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/integration_tests/mock_certs/unauthorized.key (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/integration_tests/mock_certs/unauthorized_ca.crt (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/integration_tests/mocks/connector_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/action_execution_source.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/action_executor.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/action_executor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/action_executor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/action_task_params_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/action_task_params_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/audit_events.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/audit_events.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/axios_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/axios_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/bidirectional_connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/connector_token_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/connector_token_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/connector_token_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/create_action_event_log_record_object.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/create_action_event_log_record_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/create_jwt_assertion.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/create_jwt_assertion.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/custom_host_settings.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/custom_host_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/ensure_sufficient_license.test.ts (96%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/ensure_sufficient_license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/errors/action_execution_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/errors/action_type_disabled.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/errors/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/errors/preconfigured_action_disabled_modification.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/errors/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/event_based_telemetry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/gen_ai_token_tracking.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/gen_ai_token_tracking.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_action_type_feature_usage_name.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_basic_auth_header.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_basic_auth_header.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_custom_agents.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_custom_agents.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_execution_log_aggregation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_execution_log_aggregation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_gcp_oauth_access_token.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_gcp_oauth_access_token.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_node_ssl_options.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_node_ssl_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_oauth_client_credentials_access_token.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_oauth_client_credentials_access_token.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_oauth_jwt_access_token.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_oauth_jwt_access_token.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_system_action_kibana_privileges.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_token_count_from_bedrock_converse.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_token_count_from_bedrock_invoke.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_token_count_from_invoke_async_iterator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_token_count_from_invoke_stream.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_token_count_from_invoke_stream.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_token_count_from_openai_stream.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/get_token_count_from_openai_stream.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/has_reached_queued_action_limit.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/has_reached_queued_actions_limit.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/is_preconfigured.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/is_system_action.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/license_state.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/license_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/license_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/mustache_lambdas.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/mustache_lambdas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/mustache_renderer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/mustache_renderer.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/number_formatter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/number_formatter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/parse_date.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/parse_date.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/related_saved_objects.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/related_saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/request_oauth_client_credentials_token.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/request_oauth_client_credentials_token.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/request_oauth_jwt_token.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/request_oauth_jwt_token.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/request_oauth_token.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/request_oauth_token.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/retry_if_conflicts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/retry_if_conflicts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/space_id_to_namespace.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/task_runner_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/task_runner_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/track_legacy_route_usage.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/track_legacy_route_usage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/try_catch.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/validate_with_schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/validate_with_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/lib/verify_api_access.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/manual_tests/forward_proxy.js (96%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/monitoring/in_memory_metrics.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/monitoring/in_memory_metrics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/monitoring/in_memory_metrics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/monitoring/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/monitoring/register_cluster_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/monitoring/register_cluster_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/monitoring/register_node_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/monitoring/register_node_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/monitoring/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/plugin.test.ts (96%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/_mock_handler_arguments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/common_transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/create/create.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/create/create.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/create/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/create/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/delete/delete.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/delete/delete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/execute/execute.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/execute/execute.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/execute/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/execute/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get/get.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get/get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get_all/get_all.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get_all/get_all.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get_all/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get_all/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get_all_system/get_all_system.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get_all_system/get_all_system.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/get_all_system/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/list_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/list_types/list_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/list_types/list_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/list_types/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/list_types_system/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/list_types_system/list_types_system.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/list_types_system/list_types_system.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/update/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/update/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/update/update.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/connector/update/update.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/get_global_execution_kpi.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/get_global_execution_kpi.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/get_global_execution_logs.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/get_global_execution_logs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/get_oauth_access_token.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/get_oauth_access_token.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/rewrite_namespaces.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/verify_access_and_context.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/routes/verify_access_and_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/action_task_params_migrations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/action_task_params_migrations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/actions_migrations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/actions_migrations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/get_import_warnings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/get_import_warnings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/model_versions/connector_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/model_versions/connector_token_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/model_versions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/schemas/action_task_params/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/schemas/action_task_params/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/schemas/raw_connector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/schemas/raw_connector/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/schemas/raw_connector/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/schemas/raw_connector_token/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/schemas/raw_connector_token/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/transform_connectors_for_export.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/saved_objects/transform_connectors_for_export.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/README.md (99%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/case.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/case.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/executor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/executor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/helpers/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/helpers/validators.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/helpers/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/register.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/register.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/sub_action_connector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/sub_action_connector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/validators.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/sub_action_framework/validators.ts (95%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/types.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/unsecured_actions_client/unsecured_actions_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/actions_telemetry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/actions_telemetry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/actions_usage_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/actions_usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/connector_usage_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/connector_usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/connector_usage_reporting_task.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/connector_usage_reporting_task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/lib/actions_telemetry_util.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/lib/actions_telemetry_util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/lib/parse_connector_type_bucket.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/lib/parse_connector_type_bucket.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/task_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/task_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/server/usage/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/actions/tsconfig.json (96%) rename x-pack/{plugins => platform/plugins/shared}/alerting/README.md (99%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/action_ref_prefix.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/alert_schema/context_to_schema_name.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/alert_schema/context_to_schema_name.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/alert_schema/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/alert_summary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/builtin_action_groups.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/bulk_edit.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/constants/ad_hoc_run_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/constants/backfill.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/constants/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/constants/plugin.ts (90%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/disabled_action_groups.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/disabled_action_groups.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/execution_log_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/index.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/iso_weekdays.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/lib/validate_backfill_schedule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/lib/validate_backfill_schedule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/maintenance_window_scoped_query_error_message.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/parse_duration.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/parse_duration.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/alerts_filter_query/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/alerts_filter_query/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/alerts_filter_query/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/delete/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/delete/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/delete/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/delete/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/find/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/find/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/find/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/find/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/find/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/get/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/get/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/get/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/get/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/get/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/schedule/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/schedule/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/apis/schedule/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/response/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/response/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/response/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/response/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/backfill/response/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/framework/apis/health/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/framework/apis/health/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/framework/apis/health/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/framework/apis/health/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/framework/apis/health/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/archive/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/create/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/create/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/create/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/find/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/find/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/find/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/finish/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/get/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/get/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/get/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/get_active/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/update/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/update/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/apis/update/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/response/constants/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/response/constants/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/response/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/response/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/response/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/response/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/response/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/shared/constants/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/shared/constants/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/shared/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/shared/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/shared/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/shared/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/maintenance_window/shared/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/request/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/request/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/request/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/request/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/response/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/response/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/response/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/response/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/aggregate/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/aggregate/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/aggregate/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_disable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_edit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_enable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_untrack/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/clone/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/clone/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/clone/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/clone/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/clone/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/create/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/create/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/create/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/create/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/create/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/delete/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/delete/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/delete/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/delete/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/disable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/disable/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/disable/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/disable/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/disable/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/enable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/enable/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/enable/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/enable/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/enable/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/find/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/find/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/find/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/find/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/find/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/get/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/get/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/get/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/get/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/get/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/list_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/list_types/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/list_types/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/list_types/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/list_types/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/mute_alert/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/mute_alert/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/mute_alert/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/mute_all/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/mute_all/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/mute_all/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/resolve/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/resolve/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/resolve/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/resolve/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/resolve/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/snooze/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/snooze/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/snooze/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/tags/constants/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/tags/constants/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/tags/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/tags/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/tags/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/tags/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/tags/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unmute_alert/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unmute_all/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unmute_all/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unmute_all/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unsnooze/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/update/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/update/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/update/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/update/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/update/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/update_api_key/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/update_api_key/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/apis/update_api_key/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/common/constants/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/common/constants/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/common/flapping/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/common/flapping/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/common/flapping/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/common/flapping/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/request/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/request/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/request/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/response/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/response/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/response/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/response/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/response/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_duration/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_duration/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_flapping/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_flapping/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_hours/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_hours/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_notify_when/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_notify_when/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_timezone/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rule/validation/validate_timezone/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/apis/get/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/apis/get/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/apis/get/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/apis/update/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/apis/update/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/apis/update/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/response/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/response/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/response/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/response/types/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/routes/rules_settings/response/types/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rrule_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rule_circuit_breaker_error_message.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rule_circuit_breaker_error_message.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rule_notify_when_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rule_notify_when_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rule_snooze_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rule_tags_aggregation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rule_tags_aggregation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rule_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/rules_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/common/saved_objects/rules/mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/README.md (74%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/bundled.json (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/bundled.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/examples/get_health_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/examples/get_rule_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/examples/get_rule_types_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/headers/kbn_xsrf.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/parameters/alert_id.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/parameters/rule_id.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/parameters/space_id.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/400_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/401_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/404_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/actions.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/aggfield.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/aggtype.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/alert_delay.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/alert_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/consumer.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/create_rule_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/enabled_rule.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/filter.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/groupby.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/name_rule.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/notify_when.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/notify_when_action.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/rule_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/schedule.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/size.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/tags.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/termfield.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/termsize.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/threshold.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/throttle.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/throttle_action.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/timefield.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/timewindowsize.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/timewindowunit.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/components/schemas/update_rule_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/entrypoint.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@_health.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rule.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rule_types.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml (100%) create mode 100644 x-pack/platform/plugins/shared/alerting/jest.config.js rename x-pack/{plugins/event_log => platform/plugins/shared/alerting}/jest.integration.config.js (77%) rename x-pack/{plugins => platform/plugins/shared}/alerting/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/alert_navigation_registry/alert_navigation_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/alert_navigation_registry/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/alert_navigation_registry/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/application/maintenance_windows.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_archive_maintenance_window.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_archive_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_breadcrumbs.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_breadcrumbs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_create_maintenance_window.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_create_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_find_maintenance_windows.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_find_maintenance_windows.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_finish_maintenance_window.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_finish_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_get_maintenance_window.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_get_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_get_rule_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_license.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_license.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_navigation.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_navigation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_update_maintenance_window.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/hooks/use_update_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/lib/common_transformations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/lib/common_transformations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/lib/test_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/license_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/link_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/page_header.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/page_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/status_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/submit_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/truncated_text.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/get_presets.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/pages/maintenance_windows/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/archive.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/archive.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/create.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/create.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/find.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/find.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/finish.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/finish.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/get.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/update.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/maintenance_windows_api/update.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/rule_api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/services/rule_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/public/utils/kibana_react.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alert/alert.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alert/alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alert/create_alert_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alert/create_alert_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alert/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerting_authorization_client_factory.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerting_authorization_client_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerting_authorization_client_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/alerts_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/alerts_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/alerts_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/alerts_client_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/alerts_client_fixtures.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/legacy_alerts_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/legacy_alerts_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/legacy_alerts_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/alert_conflict_resolver.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/build_new_alert.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/build_new_alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/build_ongoing_alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/build_recovered_alert.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/build_recovered_alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/format_alert.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/format_alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/format_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/format_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/initialize_alerts_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/is_alert_improving.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/is_alert_improving.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/nanos_to_micros.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/nanos_to_micros.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/sanitize_bulk_response.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/strip_framework_fields.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/strip_framework_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/lib/test_fixtures.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_client/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/alerts_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/alerts_service.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/alerts_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/create_resource_installation_helper.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/create_resource_installation_helper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/default_lifecycle_policy.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/create_concrete_write_index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/create_or_update_component_template.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/create_or_update_index_template.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/data_stream_adapter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/install_with_timeout.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/install_with_timeout.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts (92%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/retry_transient_es_errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/resource_installer_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/resource_installer_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/alerts_service/test_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/alerts_filter_query/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/alerts_filter_query/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/delete/delete_backfill.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/find/find_backfill.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/find/find_backfill.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/find/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/find/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/find/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/get/get_backfill.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/get/get_backfill.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/get/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/schedule/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/schedule/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/methods/schedule/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/result/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/result/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/archive/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/create/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/create/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/delete/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/find/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/find/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/finish/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/get/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/get/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/update/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/update/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/maintenance_window/types/maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/r_rule/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/r_rule/schemas/r_rule_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/r_rule/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/r_rule/types/r_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/r_rule/types/r_rule_request.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/r_rule/validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/r_rule/validation/validate_end_date.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/r_rule/validation/validate_recurrence_by.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/r_rule/validation/validate_start_date.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_delete/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_delete/validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_disable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_disable/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_disable/validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_edit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_edit/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_edit/validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_enable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_enable/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/bulk_untrack/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/clone/clone_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/clone/clone_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/clone/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/clone/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/clone/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/create/create_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/create/create_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/create/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/create/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/create/types/create_rule_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/create/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/delete/delete_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/delete/delete_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/delete/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/delete/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/disable/disable_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/disable/disable_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/disable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/disable/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/disable/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/enable_rule/enable_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/enable_rule/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/enable_rule/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/enable_rule/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/find/find_rules.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/find/find_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/find/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/find/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/find/types/find_rules_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/find/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get/get_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get/get_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get/types/get_rule_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get_schedule_frequency/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_alert/mute_instance.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_alert/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_alert/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_all/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_all/mute_all.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_all/mute_all.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_all/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_all/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/resolve/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/resolve/resolve.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/resolve/resolve_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/resolve/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/resolve/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/rule_types/rule_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/rule_types/rule_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/snooze/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/snooze/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/snooze/snooze_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/snooze/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/tags/get_rule_tags.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/tags/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/tags/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/tags/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_alert/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_all/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_all/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_all/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unmute_all/unmute_all.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unsnooze/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unsnooze/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update/types/update_rule_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update/update_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update/update_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update_api_key/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update_api_key/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update_api_key/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/schemas/action_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/schemas/date_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/schemas/flapping_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/schemas/notify_when_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/schemas/rule_schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/types/action.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/types/rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/application/rule/validation/validate_duration.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/authorization/alerting_authorization.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/authorization/alerting_authorization.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/authorization/alerting_authorization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/authorization/alerting_authorization_kuery.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/authorization/alerting_authorization_kuery.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/authorization/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/authorization/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/backfill_client/backfill_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/backfill_client/backfill_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/backfill_client/backfill_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/backfill_client/lib/calculate_schedule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/backfill_client/lib/calculate_schedule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/backfill_client/lib/create_backfill_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/backfill_client/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/connector_adapters/connector_adapter_registry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/connector_adapters/connector_adapter_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/connector_adapters/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/connector_adapters/validate_rule_action_params.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/connector_adapters/validate_rule_action_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/constants/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/ad_hoc_run/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/alerts_filter_query/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/test_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/r_rule/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/r_rule/types/r_rule_attributes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/methods/bulk_create_rule_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/methods/bulk_delete_rules_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/methods/bulk_disable_rules_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/methods/create_rule_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/methods/delete_rule_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/methods/find_rules_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/methods/get_decrypted_rule_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/methods/get_rule_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/methods/resolve_rule_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/data/rule/methods/update_rule_so.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/health/get_health.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/health/get_health.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/health/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/health/task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/health/task_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/health/task_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/integration_tests/alert_as_data_fields.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/integration_tests/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/integration_tests/lib/setup_test_servers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/invalidate_pending_api_keys/task.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/invalidate_pending_api_keys/task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/invalidate_pending_api_keys/task_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/invalidate_pending_api_keys/task_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/alert_summary_from_event_log.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/alert_summary_from_event_log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/convert_es_sort_to_event_log_sort.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/convert_rule_ids_to_kuery_node.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/create_alert_event_log_record_object.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/create_alert_event_log_record_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/create_get_alert_indices_alias.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/create_get_alert_indices_alias.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/determine_alerts_to_return.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/determine_alerts_to_return.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/error_with_reason.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/error_with_reason.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/error_with_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/errors/es_error_parser.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/errors/es_error_parser.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/errors/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/errors/rule_muted.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/errors/rule_type_disabled.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/errors/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/flapping_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/flapping_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/format_execution_log_errors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/format_execution_log_errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_actions_config_map.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_actions_config_map.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_alerts_for_notification.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_alerts_for_notification.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_cadence.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_es_query_config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_es_query_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_es_request_timeout.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_es_request_timeout.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_execution_log_aggregation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_execution_log_aggregation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_rule_notify_when_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_rule_notify_when_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_rule_task_timeout.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_rule_task_timeout.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_rule_type_feature_usage_name.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_security_health.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_security_health.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_time_range.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/get_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/is_alerting_error.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/is_alerting_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/is_rule_snoozed.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/is_rule_snoozed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/iso_or_relative_date.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/iso_or_relative_date.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/last_run_status.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/last_run_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/license_api_access.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/license_state.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/license_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/license_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/monitoring.test.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/monitoring.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/next_run.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/process_alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/process_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/result_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/retry_if_conflicts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/retry_if_conflicts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/rule_execution_status.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/rule_execution_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/rule_run_metrics_store.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/rule_run_metrics_store.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/rule_run_metrics_store.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/set_flapping.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/set_flapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/snooze/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/snooze/is_snooze_active.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/snooze/is_snooze_active.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/snooze/is_snooze_expired.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/snooze/is_snooze_expired.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/track_deprecated_route_usage.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/track_deprecated_route_usage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/track_legacy_route_usage.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/track_legacy_route_usage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/trim_recovered_alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/trim_recovered_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/validate_authorize_system_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/validate_authorize_system_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/validate_mutated_rule_type_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/validate_rrule_by.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/validate_rule_type_params.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/validate_rule_type_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/validate_snooze_date.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/validate_snooze_schedule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/wrap_scoped_cluster_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/wrap_scoped_cluster_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/wrap_scoped_cluster_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/wrap_search_source_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/wrap_search_source_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/lib/wrap_search_source_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/maintenance_window_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/maintenance_window_client/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/maintenance_window_client/maintenance_window_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/maintenance_window_client_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/maintenance_window_client_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/maintenance_window_feature.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/manual_tests/action_param_templates.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/in_memory_metrics.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/in_memory_metrics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/in_memory_metrics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/register_cluster_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/register_cluster_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/register_node_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/register_node_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/rule_monitoring_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/rule_monitoring_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/rule_monitoring_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/rule_result_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/rule_result_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/rule_result_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/monitoring/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/plugin.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/_mock_handler_arguments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/find/find_backfill_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/find/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/get/get_backfill_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/schedule/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/framework/apis/health/health.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/framework/apis/health/health.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/framework/apis/health/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/framework/apis/health/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_action_error_log.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_action_error_log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_flapping_settings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_flapping_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_global_execution_kpi.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_global_execution_kpi.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_global_execution_logs.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_global_execution_logs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_rule_alert_summary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_rule_alert_summary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_rule_execution_kpi.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_rule_execution_kpi.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_rule_execution_log.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_rule_execution_log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_rule_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/get_rule_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/actions_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/count_usage_of_predefined_ids.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/error_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/rename_keys.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/rewrite_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/rewrite_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/rewrite_maintenance_window.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/rewrite_namespaces.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/rewrite_request_case.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/rewrite_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/rewrite_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/rrule_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/track_legacy_terminology.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/track_legacy_terminology.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/validate_hours.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/validate_hours.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/validate_timezone.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/validate_timezone.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/lib/verify_access_and_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/aggregate/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/aggregate/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/clone/clone_rule_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/create/create_rule_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/create/create_rule_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/create/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/create/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/delete/delete_rule_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/disable/disable_rule_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/enable/enable_rule_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/find/find_rules_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/find/find_rules_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/find/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/get/get_rule_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/get/get_rule_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/list_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/list_types/rule_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/list_types/rule_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/list_types/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/resolve/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/resolve/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/snooze/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/snooze/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/tags/get_rule_tags.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/tags/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/tags/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unmute_all/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unsnooze/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/update/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/update/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/update/update_rule_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/update/update_rule_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rules_settings/transforms/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/run_soon.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/run_soon.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/suggestions/fields_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/suggestions/fileds_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/suggestions/values_suggestion_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/suggestions/values_suggestion_rules.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/suggestions/values_suggestion_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/update_flapping_settings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/routes/update_flapping_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rule_type_registry.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rule_type_registry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rule_type_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rule_type_registry_deprecated_consumers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rule_type_registry_deprecated_consumers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/api_key_as_alert_attributes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/apply_bulk_edit_operation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/audit_events.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/audit_events.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/build_kuery_node_filter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/build_kuery_node_filter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/filters.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/generate_api_key_name.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/include_fields_required_for_authentication.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/inject_references.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/map_sort_field.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/map_sort_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/mapped_params_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/mapped_params_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/parse_date.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/snooze_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/try_to_remove_tasks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/validate_attributes.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/validate_attributes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/wait_before_next_retry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/common/wait_before_next_retry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/add_generated_action_values.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/add_generated_action_values.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/check_authorization_and_get_total.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/create_new_api_key_set.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/create_new_api_key_set.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/create_rule_saved_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/denormalize_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/extract_references.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/get_alert_from_raw.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/get_authorization_filter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/get_rule_saved_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/increment_revision.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/increment_revision.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/resolve_rule_saved_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/schedule_task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/siem_legacy_actions/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/untrack_rule_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/update_meta.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/update_meta_attributes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/validate_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/lib/validate_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/methods/bulk_edit.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/methods/get_action_error_log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/methods/get_alert_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/methods/get_alert_summary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/methods/get_execution_kpi.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/methods/get_execution_log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/methods/run_soon.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/rules_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/rules_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/get_action_error_log.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/get_alert_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/get_alert_summary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/get_execution_log.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/lib.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/list_rule_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/mute_all.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/mute_instance.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/resolve.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/run_soon.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/test_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/tests/unmute_all.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client_conflict_retries.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_client_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/rules_settings_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/rules_settings_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/rules_settings_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/rules_settings_client_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/rules_settings_client_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/rules_settings_feature.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/rules_settings_feature.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/rules_settings_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/rules_settings_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/rules_settings_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/schemas/flapping_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/rules_settings/schemas/query_delay_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/geo_containment/migrations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/geo_containment/migrations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/get_import_warnings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/get_import_warnings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/is_rule_exportable.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/is_rule_exportable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/maintenance_window_mapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/7.10/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/7.11/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/7.13/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/7.14/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/7.15/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/7.16/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/8.0/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/8.2/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/8.3/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/8.4/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/8.5/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/8.6/index.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/8.7/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/8.8/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/migrations/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/model_versions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/model_versions/rule_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/partially_update_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/partially_update_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/rrule_mappings_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/rules_settings_mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_rule/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_rule/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_rule/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_rule/v2.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_rule/v3.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/transform_rule_for_export.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/saved_objects/transform_rule_for_export.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/action_scheduler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/schedulers/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/test_fixtures.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/action_scheduler/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/ad_hoc_task_runner.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/ad_hoc_task_runner.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/ad_hoc_task_running_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/alert_task_instance.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/alert_task_instance.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/fixtures.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/get_executor_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/inject_action_params.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/inject_action_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/lib/clear_expired_snoozes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/lib/process_run_result.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/lib/process_run_result.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/lib/task_runner_logger.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/lib/task_runner_logger.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/lib/with_alerting_span.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/log_alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/log_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/maintenance_windows/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/rule_loader.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/rule_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/rule_running_handler.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/rule_running_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/rule_type_runner.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/rule_type_runner.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/task_runner.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/task_runner.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/task_runner_alerts_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/task_runner_cancel.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/task_runner_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/task_runner_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/task_runner_timer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/task_runner_timer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/transform_action_params.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/transform_action_params.ts (95%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/task_runner/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/test_utils/index.ts (93%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/alerting_usage_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/alerting_usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/get_telemetry_from_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/get_telemetry_from_event_log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/get_telemetry_from_kibana.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/get_telemetry_from_task_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/group_connectors_by_consumers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/group_rules_by_notify_when.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/group_rules_by_notify_when.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/group_rules_by_search_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/group_rules_by_search_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/group_rules_by_status.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/group_rules_by_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/replace_dots_with_underscores.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/lib/replace_dots_with_underscores.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/task_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/task_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/server/usage/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/alerting/tsconfig.json (97%) rename x-pack/{plugins => platform/plugins/shared}/cases/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/api/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/api/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/api/runtime_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/api/saved_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/constants/application.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/constants/files.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/constants/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/constants/mime_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/constants/owner.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/constants/owners.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/constants/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/constants/visualizations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/files/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/files/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/registry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/schema/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/schema/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/schema/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/alert/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/alert/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/alert/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/attachment/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/attachment/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/attachment/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/case/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/case/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/case/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/configure/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/configure/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/configure/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/connector/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/connector/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/connector/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/custom_field/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/custom_field/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/custom_field/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/external_service/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/external_service/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/external_service/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/metrics/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/metrics/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/metrics/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/observable/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/observable/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/observable/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/stats/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/stats/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/user/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/user/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/user/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/user_action/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/user_action/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/api/user_action/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/attachment/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/attachment/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/attachment/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/case/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/case/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/case/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/configure/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/configure/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/configure/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/connector/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/connector/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/connector/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/custom_field/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/custom_field/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/custom_field/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/external_service/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/external_service/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/external_service/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/observable/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/observable/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/observable/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/action/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/action/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/assignees/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/assignees/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/assignees/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/category/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/category/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/category/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/comment/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/comment/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/comment/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/connector/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/connector/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/connector/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/create_case/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/create_case/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/create_case/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/custom_fields/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/custom_fields/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/custom_fields/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/delete_case/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/delete_case/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/delete_case/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/description/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/description/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/description/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/pushed/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/pushed/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/pushed/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/settings/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/settings/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/settings/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/severity/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/severity/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/severity/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/status/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/status/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/status/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/tags/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/tags/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/tags/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/title/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/title/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/title/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/v1.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/types/domain/user_action/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/ui/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/ui/types.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/__snapshots__/api_tags.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/api_tags.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/api_tags.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/attachments.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/attachments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/capabilities.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/capabilities.ts (94%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/connectors_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/markdown_plugins/lens/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/markdown_plugins/lens/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/markdown_plugins/lens/parser.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/markdown_plugins/lens/serializer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/markdown_plugins/timeline/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/markdown_plugins/timeline/parser.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/markdown_plugins/timeline/serializer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/markdown_plugins/timeline/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/markdown_plugins/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/markdown_plugins/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/owner.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/owner.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/user_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/common/utils/user_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/README.md (73%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/bundled.json (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/bundled.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/add_comment_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/add_comment_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/create_case_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/create_case_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/find_case_activity_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/find_case_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/find_connector_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/get_case_alerts_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/get_case_configuration_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/get_case_observability_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/get_case_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/get_comment_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/get_reporters_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/get_tags_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/push_case_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/set_case_configuration_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/set_case_configuration_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/update_case_configuration_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/update_case_configuration_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/update_case_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/update_case_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/update_comment_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/examples/update_comment_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/headers/kbn_xsrf.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/alert_id.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/assignees_filter.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/case_id.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/category.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/comment_id.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/configuration_id.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/connector_id.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/from.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/ids.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/includeComments.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/owner_filter.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/page_index.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/page_size.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/reporters.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/search.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/searchFields.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/searchFieldsType.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/severity.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/sortField.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/sort_order.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/space_id.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/status.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/tags.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/to.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/parameters/user_action_types.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/4xx_response.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/action_types.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/actions.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/add_case_comment_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/add_case_file_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/alert_identifiers.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/alert_indices.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/alert_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/assignees.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_categories.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_category.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_configure_customfields.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_customfields.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_description.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_severity.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_status.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_tags.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/case_title.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/closure_types.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/comment_types.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/connector_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/connector_properties_jira.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/connector_properties_none.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/connector_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/connector_types.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/create_case_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/external_service.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/owner.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/owners.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_alert_comment.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_assignees.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_connector.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_create_case.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_delete.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_description.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_pushed.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_settings.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_severity.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_status.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_tags.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_title.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/payload_user_comment.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/rule.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/rule_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/settings.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/string.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/string_array.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/template_tags.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/templates.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/update_case_comment_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/update_case_request.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/components/schemas/user_properties.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/entrypoint.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@_find.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@configure.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@reporters.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@status.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@tags.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@{caseid}.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/images/all_cases.png (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/images/all_cases_selector_modal.png (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/images/case_view.png (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/images/configure.png (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/images/create.png (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/images/logo.png (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/images/recent_cases.png (100%) rename x-pack/{plugins/stack_alerts => platform/plugins/shared/cases}/jest.config.js (66%) rename x-pack/{plugins => platform/plugins/shared}/cases/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/package.json (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/api/__mocks__/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/api/decoders.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/api/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/api/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/api/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/api/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/application.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/api/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/api/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/attachment_framework/external_reference_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/attachment_framework/persistable_state_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/attachment_framework/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/helpers/can_use_cases.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/helpers/can_use_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/helpers/capabilities.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/helpers/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/helpers/get_rule_id_from_event.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/helpers/group_alerts_by_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/ui/get_all_cases_selector_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/ui/get_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/ui/get_cases_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/ui/get_create_case_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/client/ui/get_recent_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/apm/use_cases_transactions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/apm/use_cases_transactions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/apm/use_start_transaction.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/hooks.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/hooks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/lib/kibana/__mocks__/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/lib/kibana/__mocks__/use_application.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/lib/kibana/hooks.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/lib/kibana/hooks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/lib/kibana/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/lib/kibana/kibana_react.mock.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/lib/kibana/kibana_react.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/lib/kibana/services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/lib/kibana/use_application.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/lib/kibana/use_application.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/mock/connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/mock/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/mock/permissions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/mock/register_connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/mock/test_providers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/navigation/__mocks__/hooks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/navigation/deep_links.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/navigation/deep_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/navigation/hooks.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/navigation/hooks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/navigation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/navigation/paths.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/navigation/paths.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/test_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/use_cases_features.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/use_cases_features.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/use_cases_local_storage.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/use_cases_local_storage.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/use_cases_toast.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/use_cases_toast.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/use_is_user_typing.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/use_is_user_typing.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/use_license.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/common/use_license.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/__mock__/form.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/__mock__/timeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/assignees/edit_assignees_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/assignees/edit_assignees_selectable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/assignees/no_selected_assignees.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/assignees/no_selected_assignees.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/assignees/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/assignees/use_assignees_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/assignees/use_assignees_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/copy_id/use_copy_id_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/delete/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/delete/use_delete_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/delete/use_delete_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/severity/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/severity/use_severity_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/severity/use_severity_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/status/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/status/use_should_disable_status.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/status/use_should_disable_status.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/status/use_status_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/status/use_status_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/tags/edit_tags_flyout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/tags/edit_tags_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/tags/edit_tags_selectable.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/tags/edit_tags_selectable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/tags/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/tags/use_tags_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/tags/use_tags_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/use_items_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/use_items_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/use_items_state.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/actions/use_items_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/add_comment/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/add_comment/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/add_comment/schema.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/add_comment/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/all_cases_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/all_cases_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/assignees_column.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/assignees_column.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/assignees_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/assignees_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/cases_metrics.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/cases_metrics.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/columns_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/columns_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/header.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/multi_select_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/multi_select_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/nav_buttons.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/nav_buttons.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/search.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/search.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/selector_modal/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/severity_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/severity_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/solution_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/solution_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/status_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/status_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/table_filter_config/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/table_filters.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/table_filters.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_all_cases_state.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_all_cases_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_bulk_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_bulk_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_cases_columns.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_cases_columns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_cases_columns_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_cases_columns_selection.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_cases_columns_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_is_loading_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_on_refresh_cases.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/use_on_refresh_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utility_bar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utility_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/parse_url_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/parse_url_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/sanitize_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/sanitize_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/stringify_url_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/all_cases/utils/stringify_url_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/app/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/app/routes.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/app/routes.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/app/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/app/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/app/use_available_owners.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/app/use_available_owners.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/app/use_readonly_header.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/app/use_readonly_header.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/callouts/case_callouts.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/callouts/case_callouts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/callouts/platinum_callout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/callouts/platinum_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/callouts/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_action_bar/action_bar_status_item.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_action_bar/action_bar_status_item.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_action_bar/actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_action_bar/actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_action_bar/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_action_bar/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_action_bar/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_action_bar/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_action_bar/status_context_menu.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_action_bar/status_context_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/assignees.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/assignees.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/category.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/category.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/custom_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/custom_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/description.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/schema.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/severity.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/severity.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/sync_alerts_toggle.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/sync_alerts_toggle.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/tags.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/tags.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/title.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_form_fields/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_settings/sync_alerts_switch.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_settings/sync_alerts_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/__mocks__/use_on_refresh_case_view_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/case_view_page.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/case_view_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/case_view_tabs.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/case_view_tabs.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/assign_users.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/assign_users.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_activity.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_activity.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_alerts.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_alerts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_alerts_empty.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_files.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_files.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_observables.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_observables.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_similar_cases.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/case_view_similar_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/custom_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/custom_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/edit_category.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/edit_category.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/edit_tags.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/edit_tags.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/sidebar_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/sidebar_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/suggest_users_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/suggest_users_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/user_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/components/user_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/does_not_exist.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/metrics/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/metrics/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/metrics/status.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/metrics/totals.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/metrics/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/use_case_observables.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/use_case_observables.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/use_on_refresh_case_view_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/case_view/use_on_update_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/cases_context/cases_global_components.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/cases_context/cases_global_components.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/cases_context/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/cases_context/query_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/cases_context/state/cases_context_reducer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/cases_context/state/cases_state_context.ts (92%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/cases_context/state/use_is_add_to_case_open.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/cases_context/use_cases_context.ts (90%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/category/category_component.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/category/category_component.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/category/category_form_field.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/category/category_form_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/category/category_viewer_component.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/category/category_viewer_component.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/category/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/__mock__/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/closure_options.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/closure_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/closure_options_radio.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/closure_options_radio.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/connectors_dropdown.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/connectors_dropdown.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/delete_confirmation_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/field_mapping.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/field_mapping.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/field_mapping_row_static.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/flyout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/mapping.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/mapping.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/utils.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/configure_cases/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/confirm_delete_case/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/confirm_delete_case/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connector_selector/form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connector_selector/form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/card.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/card.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/cases_webhook/case_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/cases_webhook/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/cases_webhook/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/connectors_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/deprecated_callout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/deprecated_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/fields_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/fields_preview_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/__mocks__/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/case_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/case_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/case_fields_preview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/case_fields_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/search_issues.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/use_get_issue.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/use_get_issue.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/use_get_issue_types.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/use_get_issue_types.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/use_get_issues.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/jira/use_get_issues.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/__mocks__/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/case_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/case_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/case_fields_preview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/case_fields_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/use_get_incident_types.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/use_get_severity.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/resilient/use_get_severity.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/rewrite_response_to_camel_case.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/__mocks__/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/use_get_choices.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/servicenow/use_get_choices.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/swimlane/case_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/swimlane/case_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/swimlane/case_fields_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/swimlane/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/swimlane/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/swimlane/validator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/swimlane/validator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/test_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/thehive/case_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/thehive/case_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/thehive/case_fields_preview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/thehive/case_fields_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/thehive/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/thehive/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/thehive/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/connectors/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/cancel_creation_confirmation_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/flyout/create_case_flyout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/flyout/create_case_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/flyout/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/form_context.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/form_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/form_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/owner_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/owner_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/schema.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/submit_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/submit_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/template.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/templates.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/use_cancel_creation_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/use_cancel_creation_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/create/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/builder.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/custom_fields_list/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/custom_fields_list/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/delete_confirmation_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/form_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/form_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/configure.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/configure.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/configure_number_field.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/configure_number_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/create.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/create.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/edit.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/edit.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/get_eui_table_column.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/view.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/number/view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/schema.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/configure.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/configure.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/configure_text_field.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/configure_text_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/create.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/create.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/edit.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/edit.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/get_eui_table_column.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/view.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/text/view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/configure.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/configure.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/configure_text_field.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/configure_toggle_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/create.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/create.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/edit.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/edit.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/view.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/toggle/view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/custom_fields/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/description/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/description/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/description/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/edit_connector/connectors_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/edit_connector/connectors_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/edit_connector/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/edit_connector/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/edit_connector/push_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/edit_connector/push_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/edit_connector/push_callouts.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/edit_connector/push_callouts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/edit_connector/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/empty_value/empty_value.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/empty_value/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/empty_value/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/experimental_badge/experimental_badge.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/experimental_badge/experimental_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/add_file.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/add_file.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_actions_popover_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_actions_popover_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_attachment_event.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_attachment_event.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_delete_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_delete_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_download_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_download_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_name_link.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_name_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_preview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_type.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/file_type.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/files_table.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/files_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/files_utility_bar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/files_utility_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/translations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/use_file_preview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/use_file_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/use_files_table_columns.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/use_files_table_columns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/utils.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/files/utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/filter_popover/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/filter_popover/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/formatted_date/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/formatted_date/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/formatted_date/maybe_date.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/formatted_date/maybe_date.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/header_page/editable_title.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/header_page/editable_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/header_page/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/header_page/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/header_page/title.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/header_page/title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/header_page/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/insert_timeline/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/insert_timeline/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/link_icon/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/link_icon/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/links/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/links/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/links/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/localized_date_tooltip/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/localized_date_tooltip/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/editable_markdown_footer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/editable_markdown_renderer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/eui_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/markdown_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/plugins/lens/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/plugins/lens/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/plugins/lens/parser.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/plugins/lens/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/plugins/lens/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/renderer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/renderer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/use_markdown_session_storage.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/use_plugins.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/markdown_editor/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/no_privileges/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/no_privileges/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/delete_confirmation_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/delete_confirmation_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/form_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/form_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/observable_types_list/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/observable_types_list/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/schema.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observable_types/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/add_observable.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/add_observable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/builder.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/edit_observable_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/edit_observable_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/fields_config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/fields_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/observable_actions_popover_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/observable_actions_popover_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/observable_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/observable_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/observables_table.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/observables_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/observables_utility_bar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/observables_utility_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/observables/translations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/optional_field_label/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/optional_field_label/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/property_actions/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/property_actions/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/filters/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/filters/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/get_filter_options.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/get_filter_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/icon_with_count.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/loading_placeholders.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/no_cases/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/no_cases/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/recent_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/recent_cases/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/removable_item/removable_item.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/removable_item/removable_item.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/severity/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/severity/selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/severity/selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/severity/sidebar_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/severity/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/similar_cases/table.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/similar_cases/table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/similar_cases/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/similar_cases/use_similar_cases_columns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/status/button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/status/button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/status/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/status/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/status/status_popover_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/status/status_popover_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/status/status_stats.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/status/status_stats.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/status/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/status/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/system_actions/cases/cases.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/system_actions/cases/cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/system_actions/cases/cases_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/system_actions/cases/cases_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/system_actions/cases/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/system_actions/cases/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/system_actions/cases/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/system_actions/cases/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/system_actions/cases/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/system_actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/tags/tags.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/tags/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/form_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/form_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/schema.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/schema.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/template_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/template_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/template_tags.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/template_tags.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/templates_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/templates_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/templates/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/timeline_context/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/timeline_context/use_timeline_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/truncated_text/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_breadcrumbs/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_breadcrumbs/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_create_case_modal/create_case_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_create_case_modal/create_case_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_create_case_modal/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_create_case_modal/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/callout/callout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/callout/callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/callout/helpers.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/callout/helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/callout/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/callout/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/callout/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/callout/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/use_push_to_service/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/assignees.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/assignees.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/builder.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/category.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/category.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/alert.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/alert.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/alert_event.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/alert_event.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/comment.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/comment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/external_reference.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/host_isolation_event.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/host_isolation_event.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/persistable_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/registered_attachments.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/registered_attachments.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/show_alert.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/show_alert.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/show_alert_table_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/translations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/comment/user.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/common.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/common.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/content_toolbar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/content_toolbar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/copy_link.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/copy_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/create_case.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/create_case.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/custom_fields/custom_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/description.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/markdown_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/markdown_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/move_to_reference.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/move_to_reference.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/alert_property_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/property_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/property_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/translations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/pushed.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/pushed.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/severity.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/severity.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/show_more_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/show_more_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/status.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/status.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/tags.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/tags.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/timestamp.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/timestamp.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/title.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/use_last_page.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/use_last_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/use_user_actions_handler.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/use_user_actions_handler.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/use_user_actions_last_page.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/use_user_actions_last_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/use_user_actions_pagination.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/use_user_actions_pagination.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/use_user_permissions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/use_user_permissions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/user_actions_aria_labels.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/user_actions_aria_labels.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/user_actions_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions/user_actions_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions_activity_bar/filter_activity.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions_activity_bar/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions_activity_bar/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions_activity_bar/sort_activity.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions_activity_bar/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_actions_activity_bar/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/data_test_subject.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/display_name.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/display_name.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/empty_message.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/empty_message.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/hoverable_avatar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/hoverable_avatar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/hoverable_username_resolver.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/no_matches.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/no_matches.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/removable_user.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/removable_user.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/small_user_avatar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/small_user_avatar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/sort.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/sort.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/unknown_user.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/user_avatar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/user_avatar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/user_converter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/user_converter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/user_tooltip.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/user_tooltip.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/username.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/user_profiles/username.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/action_wrapper.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/action_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/add_to_existing_case.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/is_compatible.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/is_compatible.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/open_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/open_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/register.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/actions/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/attachment.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/index.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/lens_renderer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/lens_renderer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/open_lens_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/open_lens_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/translations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/components/visualizations/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/__mocks__/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/__mocks__/use_get_action_license.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/api.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/__mocks__/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_action_types.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_action_types.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_get_all_case_configurations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_get_all_case_configurations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_get_case_configuration.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_get_case_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_get_case_configurations_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_get_case_configurations_query.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_get_supported_action_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_persist_configuration.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/use_persist_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/configure/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/mock.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_bulk_update_case.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_bulk_update_case.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_create_attachments.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_create_attachments.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_delete_cases.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_delete_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_delete_comment.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_delete_comment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_delete_file_attachment.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_delete_file_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_delete_observables.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_delete_observables.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_find_case_user_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_find_case_user_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_action_license.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_action_license.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_file_stats.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_file_stats.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_files.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_files.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_metrics.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_metrics.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_user_actions_stats.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_user_actions_stats.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_users.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_case_users.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_cases.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_cases_metrics.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_cases_metrics.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_categories.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_categories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_feature_ids.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_feature_ids.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_similar_cases.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_similar_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_tags.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_get_tags.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_infinite_find_case_user_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_infinite_find_case_user_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_messages_storage.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_messages_storage.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_patch_observables.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_patch_observables.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_post_case.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_post_case.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_post_observables.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_post_observables.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_post_push_to_service.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_post_push_to_service.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_replace_custom_field.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_replace_custom_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_update_case.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_update_case.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_update_comment.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/use_update_comment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/__mocks__/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/api.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/use_assignees.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/use_assignees.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/use_get_current_user_profile.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/user_profiles/use_suggest_user_profiles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/containers/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/files/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/files/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/files/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/files/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/internal_attachments/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/mocks/mock_cases_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/utils/permissions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/utils/permissions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/public/utils/use_mount_appended.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/attachment_framework/external_reference_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/attachment_framework/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/attachment_framework/persistable_state_registry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/attachment_framework/persistable_state_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/attachment_framework/so_references.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/attachment_framework/so_references.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/attachment_framework/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/__snapshots__/authorization.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/audit_logger.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/audit_logger.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/authorization.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/authorization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/authorization/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/alerts/get.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/alerts/get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/alerts/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/add.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/add.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/add_file.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/add_file.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/bulk_create.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/bulk_create.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/bulk_delete.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/bulk_delete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/bulk_get.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/bulk_get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/delete.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/delete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/get.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/update.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/update.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/attachments/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/bulk_create.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/bulk_create.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/bulk_get.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/bulk_get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/bulk_update.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/bulk_update.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/create.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/create.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/delete.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/delete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/get.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/observables.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/observables.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/push.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/replace_custom_field.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/replace_custom_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/search.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/similar.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/similar.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/validators.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/cases/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/client_internal.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/configure/client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/configure/client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/configure/create_mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/configure/get_mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/configure/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/configure/update_mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/configure/validators.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/configure/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/files/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/files/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/actions/actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/actions/actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/actions/aggregations/isolate_host.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/aggregation_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/alerts/aggregations/hosts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/alerts/aggregations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/alerts/aggregations/users.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/alerts/count.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/alerts/count.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/alerts/details.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/alerts/details.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/all_cases/aggregations/status_counts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/all_cases/mttr.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/all_cases/mttr.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/all_cases/status.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/all_cases/status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/all_cases_aggregation_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/all_cases_base_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/base_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/connectors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/get_case_metrics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/get_case_metrics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/get_cases_metrics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/get_cases_metrics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/get_status_totals.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/get_status_totals.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/lifespan.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/lifespan.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/single_case_aggregation_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/single_case_base_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/test_utils/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/test_utils/client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/test_utils/lifespan.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/metrics/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/observable_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/observable_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/user_actions/client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/user_actions/connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/user_actions/find.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/user_actions/find.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/user_actions/get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/user_actions/stats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/user_actions/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/user_actions/users.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/user_actions/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/user_profiles.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/utils.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/validators.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/client/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/error.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/base_limiter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/limiters/alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/limiters/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/limiters/files.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/limiters/files.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/test_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/limiter_checker/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/models/case_with_comments.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/models/case_with_comments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/models/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/partitioning.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/partitioning.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/references.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/references.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/runtime_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/runtime_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/attachments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/case.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/case.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/configure.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/configure.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/connector_mappings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/connector_mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/external_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/user.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/types/user_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/validators.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/common/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/cases_connector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/cases_connector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/cases_connector_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/cases_connector_executor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/cases_connector_executor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/cases_oracle_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/cases_oracle_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/cases_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/cases_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/crypto_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/crypto_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/full_jitter_backoff.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/full_jitter_backoff.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/index.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/retry_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/retry_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/test_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases_webook/format.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases_webook/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases_webook/mapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/cases_webook/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/index.ts (96%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/jira/format.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/jira/format.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/jira/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/jira/mapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/jira/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/resilient/format.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/resilient/format.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/resilient/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/resilient/mapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/resilient/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/servicenow/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/servicenow/itsm_format.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/servicenow/itsm_format.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/servicenow/itsm_mapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/servicenow/sir_format.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/servicenow/sir_format.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/servicenow/sir_mapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/servicenow/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/swimlane/format.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/swimlane/format.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/swimlane/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/swimlane/mapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/swimlane/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/thehive/format.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/thehive/format.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/thehive/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/thehive/mapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/thehive/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/connectors/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/custom_fields/factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/custom_fields/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/custom_fields/number.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/custom_fields/text.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/custom_fields/toggle.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/custom_fields/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/features/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/features/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/features/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/features/v2.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/files/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/files/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/files/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/internal_attachments/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/__mocks__/request_responses.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/alerts/get_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/categories/get_categories.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/delete_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/find_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/get_case.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/get_case.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/patch_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/post_case.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/push_case.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/reporters/get_reporters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/similar.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/cases/tags/get_tags.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/comments/delete_all_comments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/comments/delete_comment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/comments/find_comments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/comments/get_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/comments/get_all_comment.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/comments/get_all_comment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/comments/get_comment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/comments/patch_comment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/comments/post_comment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/configure/get_configure.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/configure/get_connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/configure/patch_configure.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/configure/post_configure.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/create_cases_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/files/post_file.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/files/post_file.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/get_external_routes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/get_internal_routes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/bulk_create_attachments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/bulk_delete_file_attachments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/bulk_get_attachments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/bulk_get_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/get_case_metrics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/get_case_user_actions_stats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/get_case_users.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/get_cases_metrics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/get_connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/replace_custom_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/search_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/internal/suggest_user_profiles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/observables/delete_observable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/observables/patch_observable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/observables/post_observable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/register_routes.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/register_routes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/stats/get_status.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/stats/get_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/user_actions/find_user_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/user_actions/get_all_user_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/user_actions/get_all_user_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/routes/api/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/cases/cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/cases/model_versions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/cases/model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/cases/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/cases/schemas/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/cases/schemas/v1.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/cases/schemas/v2.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/cases_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/comments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/configure.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/connector_mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/import_export/export.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/cases.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/comments.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/comments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/configuration.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/configuration.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/assignees.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/connector_id.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/payload.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/payload.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/severity.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/severity.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/user_actions/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/migrations/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/telemetry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/saved_object_types/user_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/alerts/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/alerts/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/attachments/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/attachments/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/attachments/operations/get.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/attachments/operations/get.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/attachments/test_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/attachments/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/cases/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/cases/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/cases/transform.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/cases/transform.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/cases/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/configure/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/configure/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/configure/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/connector_mappings/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/connector_mappings/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/connector_mappings/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/connector_reference_handler.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/connector_reference_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/licensing.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/notifications/email_notification_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/notifications/email_notification_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/notifications/templates/assignees/renderer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/notifications/templates/assignees/renderer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/notifications/templates/assignees/template.html (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/notifications/templates/assignees/template.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/notifications/templates/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/notifications/templates/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/notifications/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/so_reference_extractor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/so_reference_extractor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/so_references.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/so_references.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/test_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/transform.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/transform.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/type_guards.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/__snapshots__/index.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/abstract_builder.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/audit_logger.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/audit_logger.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builder_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builder_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/assignees.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/audit_logger_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/category.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/comment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/connector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/create_case.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/custom_fields.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/custom_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/description.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/noop.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/pushed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/severity.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/tags.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/builders/title.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/operations/create.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/operations/create.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/operations/find.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/operations/find.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/test_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/transform.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/transform.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/type_guards.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/type_guards.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_actions/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_profiles/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/user_profiles/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/services/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/collect_telemetry_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/case_system_action.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/case_system_action.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/cases.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/comments.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/comments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/configuration.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/configuration.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/connectors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/push.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/push.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/user_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/user_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/queries/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/schedule_telemetry_task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/telemetry_saved_objects_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/telemetry_saved_objects_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/telemetry/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cases/tsconfig.json (96%) rename x-pack/{plugins => platform/plugins/shared}/event_log/README.md (98%) rename x-pack/{plugins => platform/plugins/shared}/event_log/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/common/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/common/lib/millis_to_nanos.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/common/lib/millis_to_nanos.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/common/lib/nanos_to_millis.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/common/lib/nanos_to_millis.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/generated/README.md (83%) rename x-pack/{plugins => platform/plugins/shared}/event_log/generated/mappings.json (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/generated/schemas.ts (100%) rename x-pack/{plugins/triggers_actions_ui => platform/plugins/shared/event_log}/jest.config.js (56%) rename x-pack/{plugins/task_manager => platform/plugins/shared/event_log}/jest.integration.config.js (77%) rename x-pack/{plugins => platform/plugins/shared}/event_log/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/scripts/create_schemas.js (99%) rename x-pack/{plugins => platform/plugins/shared}/event_log/scripts/lib/line_writer.js (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/scripts/mappings.js (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/cluster_client_adapter.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/cluster_client_adapter.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/cluster_client_adapter.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/context.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/context.test.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/documents.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/documents.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/init.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/init.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/names.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/names.test.ts (92%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/es/names.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_log_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_log_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_log_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_log_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_log_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_log_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_log_start_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_log_start_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_log_start_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_logger.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_logger.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/event_logger.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/integration_tests/event_log_update_mappings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/integration_tests/lib/setup_test_servers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/lib/delay.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/lib/delay.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/lib/ready_signal.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/lib/ready_signal.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/saved_object_provider_registry.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/saved_object_provider_registry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/saved_object_provider_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/event_log/tsconfig.json (92%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/README.md (98%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/assets.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/assets/component_templates/ecs_component_template.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/assets/component_templates/technical_component_template.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/assets/field_maps/ecs_field_map.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/assets/field_maps/technical_rule_field_map.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/assets/field_maps/technical_rule_field_map.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/assets/index_templates/base_index_template.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/field_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/field_map/merge_field_maps.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/field_map/runtime_type_from_fieldmap.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/field_map/runtime_type_from_fieldmap.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/parse_experimental_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/parse_technical_fields.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/parse_technical_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/pick_with_patterns/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/pick_with_patterns/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/schemas/8.0.0/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/schemas/8.13.0/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/schemas/8.17.0/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/schemas/8.6.0/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/schemas/8.7.0/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/schemas/8.8.0/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/schemas/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/schemas/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/technical_rule_data_field_names.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/docs/README.md (96%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/docs/alerts_client/alerts_client_api.md (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/docs/alerts_client/classes/alertsclient.md (83%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md (71%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/docs/alerts_client/interfaces/constructoroptions.md (70%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/docs/alerts_client/interfaces/updateoptions.md (69%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/docs/alerts_client_typedoc.json (100%) create mode 100644 x-pack/platform/plugins/shared/rule_registry/jest.config.js rename x-pack/{plugins => platform/plugins/shared}/rule_registry/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/scripts/generate_ecs_fieldmap/index.js (91%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/alerts_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/alerts_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/alerts_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/alerts_client_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/alerts_client_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/audit_events.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/audit_events.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/browser_fields/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/tests/bulk_update.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/tests/bulk_update_cases.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/tests/find_alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/tests/get.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/tests/get_aad_fields.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/tests/get_alerts_group_aggregations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/tests/get_alerts_summary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/tests/remove_cases_from_alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/alert_data_client/tests/update.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/index.ts (96%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/get_authz_filter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/get_authz_filter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/get_consumers_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/get_consumers_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/get_is_kibana_request.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/get_is_kibana_request.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/get_rule_type_ids_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/get_rule_type_ids_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/get_spaces_filter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/get_spaces_filter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/__mocks__/request_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/__mocks__/request_responses.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/__mocks__/response_adapters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/__mocks__/server.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/bulk_update_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/find.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/find.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_aad_fields_by_rule_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_aad_fields_by_rule_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_alert_by_id.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_alert_by_id.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_alert_index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_alert_index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_alert_summary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_alert_summary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_alerts_group_aggregations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_alerts_group_aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/update_alert_by_id.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/update_alert_by_id.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/routes/utils/route_validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_client/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_client/rule_data_client.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_client/rule_data_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_client/rule_data_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_client/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/index_info.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/index_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/resource_installer.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/resource_installer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/resource_installer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/rule_data_plugin_service/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/bulk_update_observability_alert_by_ids.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/bulk_update_observability_alert_by_query.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/bulk_update_old_security_solution_alert_by_query.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/find_observability_alert.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/get_alerts_index.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/get_observability_alert.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/get_security_alert.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/hunter/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/hunter/delete_detections_user.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/hunter/detections_role.json (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/hunter/detections_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/hunter/get_detections_role.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/hunter/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/hunter/post_detections_role.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/hunter/post_detections_user.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/observer/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/observer/delete_detections_user.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/observer/detections_role.json (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/observer/detections_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/observer/get_detections_role.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/observer/get_observability_alert.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/observer/get_security_solution_alert.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/observer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/observer/post_detections_role.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/observer/post_detections_user.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/scripts/update_observability_alert.sh (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/search_strategy/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/search_strategy/search_strategy.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/search_strategy/search_strategy.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/create_persistence_rule_type_wrapper.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/create_persistence_rule_type_wrapper.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/fetch_alert_by_uuid.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/fetch_existing_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/get_alerts_for_notification.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/get_alerts_for_notification.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/get_common_alert_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/persistence_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/rule_executor.test_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/server/utils/with_rule_data_client_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/rule_registry/tsconfig.json (92%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/common/build_sorted_events_query.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/common/build_sorted_events_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/common/comparator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/common/comparator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/common/comparator_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/common/esql_query_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/common/esql_query_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/common/index.ts (100%) create mode 100644 x-pack/platform/plugins/shared/stack_alerts/jest.config.js rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/components/data_view_select_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/components/data_view_select_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/components/index_select_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/components/index_select_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/components/source_fields_select.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/components/source_fields_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx (98%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/es_query_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx (98%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/query_form_type_chooser.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/search_source_expression.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/search_source_expression.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/expression/search_source_expression_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/rule_common_expressions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/rule_common_expressions/threshold_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/test_query_row/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/util.test.ts (97%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/validation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/es_query/validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/rule_form/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/rule_form/query_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/rule_form/rule_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/rule_form/single_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/validation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/geo_containment/validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/threshold/expression.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/threshold/expression.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/threshold/expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/threshold/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/threshold/index_threshold_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/threshold/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/threshold/validation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/threshold/validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/threshold/visualization.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/public/rule_types/threshold/visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/feature.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/feature.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/action_context.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/action_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/executor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/executor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/rule_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/rule_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/rule_type_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/util.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/es_query/util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/__snapshots__/rule_type.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/executor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/executor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/alert_context.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/alert_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/transform_results.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts (97%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/rule_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/rule_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_shapes.json (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_with_nesting.json (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/geo_containment/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/index_threshold/README.md (98%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/index_threshold/action_context.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/index_threshold/action_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/index_threshold/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/index_threshold/rule_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/index_threshold/rule_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/index_threshold/rule_type_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/lib/comparator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/rule_types/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_alerts/tsconfig.json (96%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/README.md (97%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/__mocks__/@kbn/code-editor/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/auth/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/auth/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/auth/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/auth/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/auth/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/auth/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/bedrock/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/bedrock/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/bedrock/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/crowdstrike/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/crowdstrike/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/crowdstrike/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/d3security/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/d3security/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/d3security/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/dynamic_config/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/experimental_features.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/gemini/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/gemini/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/gemini/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/inference/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/inference/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/inference/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/jira/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/openai/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/openai/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/openai/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/opsgenie/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/opsgenie/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/sentinelone/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/sentinelone/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/sentinelone/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/servicenow/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/servicenow_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/slack_api/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/slack_api/lib.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/slack_api/schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/slack_api/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/slack_api/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/thehive/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/thehive/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/thehive/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/tines/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/tines/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/tines/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/common/types.ts (100%) create mode 100644 x-pack/platform/plugins/shared/stack_connectors/jest.config.js rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/common/auth/auth_config.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/common/auth/auth_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/common/auth/basic_auth_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/common/auth/basic_auth_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/common/auth/ssl_cert_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/common/auth/ssl_cert_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/common/auth/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/common/experimental_features_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/common/get_experimental_features.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/bedrock.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/bedrock.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/constants.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/dashboard_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/bedrock/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/action_variables.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/severity_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/severity_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/status_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/status_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/steps/auth.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/steps/create.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/steps/get.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/steps/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/steps/update.styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/steps/update.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/validator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/webhook.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/webhook.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/webhook_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/cases_webhook/webhook_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/crowdstrike/crowdstrike.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/crowdstrike/crowdstrike_connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/crowdstrike/crowdstrike_params_empty.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/crowdstrike/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/crowdstrike/logo.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/crowdstrike/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/crowdstrike/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/crowdstrike/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/d3security/connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/d3security/connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/d3security/d3security.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/d3security/d3security.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/d3security/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/d3security/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/d3security/params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/d3security/params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/d3security/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/d3security/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/email.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/email.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/email_connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/email_connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/email_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/email_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/exchange_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/exchange_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/use_email_config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/email/use_email_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/es_index/es_index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/es_index/es_index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/es_index/es_index_connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/es_index/es_index_connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/es_index/es_index_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/es_index/es_index_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/es_index/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/es_index/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/constants.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/dashboard_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/gemini.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/gemini.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/gemini/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/additional_options_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/constants.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/hidden_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/inference.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/inference.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/get_providers.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/get_providers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/selectable/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/providers/selectable/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/inference/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/jira.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/jira.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/jira_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/jira_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/jira_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/jira_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/search_issues.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/use_get_fields_by_issue_type.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/use_get_issue_types.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/use_get_issues.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/jira/use_get_single_issue.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/extract_action_variable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/gen_ai/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/gen_ai/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/gen_ai/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/rewrite_response_body.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/additional_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/additional_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/api.ts (96%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/auth_types/credentials_auth.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/auth_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/auth_types/oauth.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/credentials.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/credentials.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/credentials_api_url.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/installation_callout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/installation_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/selection_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/update_connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/update_connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/use_choices.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/use_choices.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/test_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/validate_json.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/lib/validate_json.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/constants.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/dashboard_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/openai.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/openai.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/openai/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/close_alert.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/close_alert.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/close_alert_schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts (90%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/priority.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/priority.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/tags.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/tags.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/create_alert/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/display_more_options.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/display_more_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/model.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/model.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/schema_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/schema_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/opsgenie/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/links_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/links_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/pagerduty.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/pagerduty.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/pagerduty_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/pagerduty_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/pagerduty/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/resilient.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/resilient.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/resilient_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/resilient_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/resilient_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/resilient_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/use_get_incident_types.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/resilient/use_get_severity.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/sentinelone/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/sentinelone/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/sentinelone/sentinelone.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/sentinelone/sentinelone_connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/sentinelone/sentinelone_params_empty.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/sentinelone/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/sentinelone/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/server_log/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/server_log/server_log.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/server_log/server_log.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/server_log/server_log_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/server_log/server_log_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itom/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itom/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itom/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itsm/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itsm/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_itsm/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_sir/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_sir/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/servicenow_sir/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack/action_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack/slack.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack/slack.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack/slack_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack/slack_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack/slack_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack/slack_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack_api/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack_api/slack_api.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack_api/slack_api.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack_api/slack_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack_api/slack_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack_api/slack_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack_api/slack_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack_api/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/slack_api/use_valid_channels.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/steps/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/steps/swimlane_connection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/steps/swimlane_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/swimlane.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/swimlane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/swimlane_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/swimlane_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/swimlane_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/swimlane_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/use_get_application.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/swimlane/use_get_application.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/teams/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/teams/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/teams/teams.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/teams/teams.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/teams/teams_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/teams/teams_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/teams/teams_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/teams/teams_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/teams/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/params_alert.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/params_alert.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/params_case.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/params_case.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/thehive.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/thehive.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/thehive/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/tines/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/tines/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/tines/tines.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/tines/tines.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/tines/tines_connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/tines/tines_connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/tines/tines_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/tines/tines_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/tines/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/tines/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/torq/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/torq/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/torq/torq.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/torq/torq.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/torq/torq_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/torq/torq_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/torq/torq_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/torq/torq_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/torq/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/webhook/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/webhook/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/webhook/webhook.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/webhook/webhook.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/webhook/webhook_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/webhook/webhook_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/webhook/webhook_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/webhook/webhook_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/xmatters/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/xmatters/logo.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/xmatters/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/xmatters/xmatters.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/xmatters/xmatters.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/xmatters/xmatters_connectors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/xmatters/xmatters_connectors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/xmatters/xmatters_params.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/connector_types/xmatters/xmatters_params.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/bedrock/bedrock.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/bedrock/bedrock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/bedrock/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/bedrock/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/bedrock/render.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/bedrock/render.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/cases_webhook/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/crowdstrike/crowdstrike.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/crowdstrike/crowdstrike.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/crowdstrike/error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/crowdstrike/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/crowdstrike/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/d3security/d3security.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/d3security/d3security.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/d3security/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/d3security/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/d3security/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/d3security/render.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/d3security/render.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/email/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/email/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/email/send_email.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/email/send_email.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/email/send_email_graph_api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/email/send_email_graph_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/es_index/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/es_index/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/gemini/gemini.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/gemini/gemini.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/gemini/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/gemini/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/gemini/render.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/gemini/render.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/inference/helpers.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/inference/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/inference/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/inference/inference.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/inference/inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/types.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/jira/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/convert_timestamp.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/convert_timestamp.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/gen_ai/gen_ai_dashboard.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/http_response_retry_header.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/result_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/schemas.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/service.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/types.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/validators.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/servicenow/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/string_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/string_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/unflatten_object.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/unflatten_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/validators.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/lib/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/lib/openai_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/lib/openai_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/lib/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/lib/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/openai.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/openai.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/render.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/openai/render.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/opsgenie/connector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/opsgenie/connector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/opsgenie/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/opsgenie/render_template_variables.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/opsgenie/render_template_variables.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/opsgenie/schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/opsgenie/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/opsgenie/test_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/opsgenie/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/opsgenie/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/pagerduty/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/pagerduty/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/pagerduty/post_pagerduty.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/resilient/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/resilient/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/resilient/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/resilient/resilient.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/resilient/resilient.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/resilient/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/resilient/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/resilient/types.ts (97%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/resilient/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/resilient/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/sentinelone/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/sentinelone/mocks.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/sentinelone/render.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/sentinelone/sentinelone.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/sentinelone/sentinelone.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/server_log/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/server_log/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_itom/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_itom/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_itom/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_itom/service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_itom/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_itsm/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_itsm/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_itsm/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_itsm/service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_itsm/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_sir/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_sir/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_sir/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_sir/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_sir/service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/servicenow_sir/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/slack/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/slack/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/slack_api/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/slack_api/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/slack_api/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/slack_api/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/slack_api/service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/slack_api/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/slack_api/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/types.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/swimlane/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/teams/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/teams/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/thehive/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/thehive/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/thehive/thehive.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/thehive/thehive.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/tines/api_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/tines/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/tines/render.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/tines/render.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/tines/tines.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/tines/tines.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/torq/__snapshots__/index.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/torq/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/torq/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/webhook/__snapshots__/index.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/webhook/index.test.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/webhook/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/webhook/schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/webhook/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/xmatters/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/xmatters/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/connector_types/xmatters/post_xmatters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/routes/get_inference_services.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/routes/get_inference_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/routes/get_well_known_email_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/routes/get_well_known_email_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/routes/valid_slack_api_channels.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/stack_connectors/tsconfig.json (96%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/README.md (99%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/common/index.ts (100%) rename x-pack/{plugins/actions => platform/plugins/shared/task_manager}/jest.config.js (51%) rename x-pack/{plugins/actions => platform/plugins/shared/task_manager}/jest.integration.config.js (76%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/MONITORING.md (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/buffered_task_store.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/buffered_task_store.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/buffered_task_store.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/config.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/__snapshots__/task_cost_check.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/__snapshots__/task_priority_check.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/lib/inject_task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/lib/retry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/lib/setup_test_servers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/managed_configuration.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/removed_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/task_cost_check.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/task_manager_capacity_based_claiming.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/task_manager_switch_task_claimers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/task_priority_check.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/integration_tests/task_state_validation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/kibana_discovery_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/kibana_discovery_service/mock_kibana_discovery_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/adhoc_task_counter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/adhoc_task_counter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/assign_pod_partitions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/assign_pod_partitions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/bulk_operation_buffer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/bulk_operation_buffer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/bulk_update_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/calculate_health_status.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/calculate_health_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/correct_deprecated_fields.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/correct_deprecated_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/create_managed_configuration.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/create_managed_configuration.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/fill_pool.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/fill_pool.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/get_default_capacity.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/get_default_capacity.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/get_next_run_at.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/get_next_run_at.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/get_retry_at.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/get_retry_at.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/get_template_version.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/get_template_version.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/identify_es_error.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/identify_es_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/intervals.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/intervals.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/is_task_not_found_error.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/is_task_not_found_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/log_health_metrics.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/log_health_metrics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/log_health_metrics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/middleware.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/middleware.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/msearch_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/remove_if_exists.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/remove_if_exists.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/result_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/result_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/retryable_bulk_update.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/retryable_bulk_update.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/runtime_statistics_aggregator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/task_partitioner.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/task_partitioner.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/wrapped_logger.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/lib/wrapped_logger.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/manual_tests/get_rule_run_event_logs.js (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/create_aggregator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/create_aggregator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/counter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/counter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/get_task_type_group.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/get_task_type_group.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/metric_counter_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/metric_counter_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/simple_histogram.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/simple_histogram.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/unflatten_object.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/lib/unflatten_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/metrics_aggregator.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/metrics_stream.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/metrics_stream.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/task_claim_metrics_aggregator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/task_claim_metrics_aggregator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/task_metrics_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/task_metrics_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/task_overdue_metrics_aggregator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/task_overdue_metrics_aggregator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/task_run_metrics_aggregator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/task_run_metrics_aggregator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/metrics/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/background_task_utilization_statistics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/background_task_utilization_statistics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/capacity_estimation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/capacity_estimation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/configuration_statistics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/configuration_statistics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/monitoring_stats_stream.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/monitoring_stats_stream.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/task_run_calculators.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/task_run_calculators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/task_run_statistics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/task_run_statistics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/workload_statistics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/monitoring/workload_statistics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/polling/delay_on_claim_conflicts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/polling/delay_on_claim_conflicts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/polling/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/polling/task_poller.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/polling/task_poller.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/polling_lifecycle.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/polling_lifecycle.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/polling_lifecycle.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/mark_available_tasks_as_claimed.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/mark_available_tasks_as_claimed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/oldest_idle_action_task.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/oldest_idle_action_task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/query_clauses.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/query_clauses.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/task_claiming.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/task_claiming.test.ts (96%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/queries/task_claiming.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/routes/_mock_handler_arguments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/routes/background_task_utilization.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/routes/background_task_utilization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/routes/health.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/routes/health.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/routes/metrics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/routes/metrics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/migrations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/migrations.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/migrations_880.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/migrations_helpers/get_rule_task_state.js (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/model_versions/background_task_node_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/model_versions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/model_versions/task_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/schemas/background_task_node.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/schemas/task.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/saved_objects/schemas/task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_claimers/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_claimers/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_claimers/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_claimers/lib/task_selector_by_capacity.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_claimers/strategy_mget.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_claimers/strategy_mget.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_claimers/strategy_update_by_query.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_claimers/strategy_update_by_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_events.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_events.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/capacity.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/cost_capacity.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/cost_capacity.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/task_pool.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/task_pool.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/task_pool.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/test_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/worker_capacity.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_pool/worker_capacity.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_running/errors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_running/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_running/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_running/task_runner.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_running/task_runner.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_scheduling.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_scheduling.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_scheduling.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_store.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_store.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_store.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_type_dictionary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_type_dictionary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_validator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/task_validator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/test_utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/usage/task_manager_usage_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/usage/task_manager_usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/server/usage/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/task_manager/tsconfig.json (94%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/.storybook/context/action_type_registry.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/.storybook/context/application.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/.storybook/context/capabilities.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/.storybook/context/http.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/.storybook/context/rule_type_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/.storybook/decorator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/.storybook/main.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/.storybook/manager.ts (82%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/.storybook/preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/README.md (95%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/data/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/data/lib/build_agg.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/data/lib/build_agg.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/data/lib/date_range_info.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/data/lib/date_range_info.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/experimental_features.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/index.ts (91%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/normalized_field_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/parse_interval.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/common/utils.ts (100%) create mode 100644 x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/action_type_registry.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/alert_table_config_registry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/alert_table_config_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/alerts_app.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/center_justified_spinner.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/health_check.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/health_check.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/health_check.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/json_field_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/section_loading.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/simple_connector_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/test_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/connectors_app.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/constants/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/constants/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/constants/time_units.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/context/connector_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/context/health_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/context/use_connector_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/home.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/home.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_create_connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_license.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_config_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_sub_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/create.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_connector_api/update.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_type_compare.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/action_type_compare.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/breadcrumb.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/breadcrumb.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/doc_title.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/doc_title.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/execution_duration_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/get_time_options.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/get_time_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/get_time_unit_label.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/monitoring_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/clone.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/mute.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/snooze.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/unmute.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/rule_type_compare.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/run_rule.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/run_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/search_filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/template_action_variable.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/template_action_variable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/value_validators.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/lib/value_validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/mock/rule_types_index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/query_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/rule_type_registry.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/rules_app.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/action_connector_form/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_page/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/alerts_table/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/common/connectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/field_browser/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/rules_list/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/test_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/sections/translations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/application/type_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/connectors_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/constants/action_frequency_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/constants/aggregation_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/constants/group_by_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/constants/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/experimental_features_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/for_the_last.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/group_by_over.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/of.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/of.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/of.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/threshold.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/threshold.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/value.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/value.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/when.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/expression_items/when.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_action_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_add_connector_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_add_rule_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_alerts_search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_alerts_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_alerts_table_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_experimental_features.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_experimental_features.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_field_browser.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rule_definition.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rule_event_log_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rule_status_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rule_status_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rule_tag_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rule_tag_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rules_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/get_rules_settings_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/index_controls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/data_apis.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/data_apis.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/get_time_options.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/get_time_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/get_time_unit_label.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/kibana/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/lib/rule_status_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/truncated_text.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/lib/core_query_types.test.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/lib/core_query_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/lib/time_series_query.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/lib/time_series_query.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/lib/time_series_types.test.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/lib/time_series_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/routes/fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/routes/indices.ts (98%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/data/routes/time_series_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/routes/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/routes/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/routes/health.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/triggers_actions_ui/tsconfig.json (96%) delete mode 100644 x-pack/plugins/alerting/jest.config.js delete mode 100644 x-pack/plugins/cases/jest.config.js delete mode 100644 x-pack/plugins/event_log/jest.config.js delete mode 100644 x-pack/plugins/rule_registry/jest.config.js delete mode 100644 x-pack/plugins/task_manager/jest.config.js rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/README.md (100%) create mode 100644 x-pack/solutions/observability/packages/kbn-alerts-grouping/index.ts create mode 100644 x-pack/solutions/observability/packages/kbn-alerts-grouping/jest.config.js rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/kibana.jsonc (100%) rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/package.json (54%) create mode 100644 x-pack/solutions/observability/packages/kbn-alerts-grouping/setup_tests.ts rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx (97%) rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/src/components/alerts_grouping.tsx (95%) rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx (93%) rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx (92%) create mode 100644 x-pack/solutions/observability/packages/kbn-alerts-grouping/src/constants.ts rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx (83%) create mode 100644 x-pack/solutions/observability/packages/kbn-alerts-grouping/src/index.ts rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx (80%) rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts (98%) rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/src/types.ts (88%) rename {packages => x-pack/solutions/observability/packages}/kbn-alerts-grouping/tsconfig.json (90%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 16745916b258c..bc62aea1ee83d 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -58,11 +58,11 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ /^src\/plugins\/data/, - /^x-pack\/plugins\/actions/, - /^x-pack\/plugins\/alerting/, - /^x-pack\/plugins\/event_log/, - /^x-pack\/plugins\/rule_registry/, - /^x-pack\/plugins\/task_manager/, + /^x-pack\/platform\/plugins\/shared\/actions/, + /^x-pack\/platform\/plugins\/shared\/alerting/, + /^x-pack\/platform\/plugins\/shared\/event_log/, + /^x-pack\/platform\/plugins\/shared\/rule_registry/, + /^x-pack\/platform\/plugins\/shared\/task_manager/, ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { @@ -70,7 +70,7 @@ const getPipeline = (filename: string, removeSteps = true) => { } if ( - (await doAnyChangesMatch([/^x-pack\/plugins\/cases/])) || + (await doAnyChangesMatch([/^x-pack\/platform\/plugins\/shared\/cases/])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { pipeline.push(getPipeline('.buildkite/pipelines/pull_request/response_ops_cases.yml')); @@ -169,9 +169,9 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/platform\/packages\/shared\/ai-infra/, /^x-pack\/platform\/plugins\/shared\/ai_infra/, /^x-pack\/platform\/plugins\/shared\/inference/, - /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/bedrock/, - /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/gemini/, - /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/openai/, + /^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/bedrock/, + /^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/gemini/, + /^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/openai/, ])) || GITHUB_PR_LABELS.includes('ci:all-gen-ai-suites') ) { @@ -252,19 +252,19 @@ const getPipeline = (filename: string, removeSteps = true) => { (await doAnyChangesMatch([ /^package.json/, /^packages\/kbn-securitysolution-.*/, - /^x-pack\/plugins\/alerting/, + /^x-pack\/platform\/plugins\/shared\/alerting/, /^x-pack\/plugins\/data_views\/common/, /^x-pack\/solutions\/security\/plugins\/lists/, - /^x-pack\/plugins\/rule_registry\/common/, + /^x-pack\/platform\/plugins\/shared\/rule_registry\/common/, /^x-pack\/solutions\/security\/plugins\/security_solution/, /^x-pack\/solutions\/security\/plugins\/security_solution_ess/, /^x-pack\/solutions\/security\/plugins\/security_solution_serverless/, - /^x-pack\/plugins\/task_manager/, + /^x-pack\/platform\/plugins\/shared\/task_manager/, /^x-pack\/solutions\/security\/plugins\/timelines/, - /^x-pack\/plugins\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/, - /^x-pack\/plugins\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/, - /^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/openai/, - /^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/bedrock/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/openai/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/bedrock/, /^x-pack\/plugins\/usage_collection\/public/, /^x-pack\/solutions\/security\/plugins\/elastic_assistant/, /^x-pack\/solutions\/security\/packages/, @@ -302,7 +302,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^packages\/kbn-es-query/, /^packages\/kbn-i18n/, /^packages\/kbn-i18n-react/, - /^packages\/kbn-grouping/, + /^src\/platform\/packages\/shared\/kbn-grouping/, /^packages\/kbn-resizable-layout/, /^packages\/kbn-rison/, /^src\/platform\/packages\/shared\/kbn-rule-data-utils/, @@ -335,19 +335,19 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/, /^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant-common/, /^x-pack\/solutions\/security\/packages/, - /^x-pack\/plugins\/alerting/, - /^x-pack\/plugins\/cases/, + /^x-pack\/platform\/plugins\/shared\/alerting/, + /^x-pack\/platform\/plugins\/shared\/cases/, /^x-pack\/plugins\/data_views\/common/, /^x-pack\/solutions\/security\/plugins\/elastic_assistant/, /^x-pack\/solutions\/security\/plugins\/lists/, - /^x-pack\/plugins\/rule_registry\/common/, + /^x-pack\/platform\/plugins\/shared\/rule_registry\/common/, /^x-pack\/solutions\/security\/plugins\/security_solution/, /^x-pack\/solutions\/security\/plugins\/security_solution_ess/, /^x-pack\/solutions\/security\/plugins\/security_solution_serverless/, - /^x-pack\/plugins\/task_manager/, + /^x-pack\/platform\/plugins\/shared\/task_manager/, /^x-pack\/solutions\/security\/plugins\/threat_intelligence/, /^x-pack\/solutions\/security\/plugins\/timelines/, - /^x-pack\/plugins\/triggers_actions_ui/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui/, /^x-pack\/plugins\/usage_collection\/public/, /^x-pack\/test\/functional\/es_archives\/security_solution/, /^x-pack\/test\/security_solution_cypress/, diff --git a/.buildkite/scripts/steps/checks/event_log.sh b/.buildkite/scripts/steps/checks/event_log.sh index 930908bb2d0ec..c37a95e7133a0 100755 --- a/.buildkite/scripts/steps/checks/event_log.sh +++ b/.buildkite/scripts/steps/checks/event_log.sh @@ -28,6 +28,6 @@ else git clone --depth 1 -b $ECS_STABLE_VERSION https://github.com/elastic/ecs.git ../ecs fi -node x-pack/plugins/event_log/scripts/create_schemas.js +node x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js -check_for_changed_files 'node x-pack/plugins/event_log/scripts/create_schemas.js' false 'Follow the directions in x-pack/plugins/event_log/generated/README.md to make schema changes for the event log.' +check_for_changed_files 'node x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js' false 'Follow the directions in x-pack/platform/plugins/shared/event_log/generated/README.md to make schema changes for the event log.' diff --git a/.eslintrc.js b/.eslintrc.js index 27350b97760ba..5fd3662281d5d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1110,8 +1110,8 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_serverless/common/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/timelines/public/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/timelines/common/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/cases/common/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/common/**/*.{js,mjs,ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}', ], rules: { @@ -1144,7 +1144,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}', - 'x-pack/plugins/cases/**/*.{ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}', ], excludedFiles: [ @@ -1159,7 +1159,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{test,mock,test_helper}.{ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{test,mock,test_helper}.{ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{test,mock,test_helper}.{ts,tsx}', - 'x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{test,mock,test_helper}.{ts,tsx}', ], rules: { @@ -1180,7 +1180,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}', - 'x-pack/plugins/cases/**/*.{ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{ts,tsx}', ], rules: { @@ -1214,7 +1214,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/packages/data-stream-adapter/**/*.{js,mjs,ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}', ], @@ -1308,7 +1308,7 @@ module.exports = { overrides: [ { files: [ - 'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/ecs_data_quality_dashboard/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/security_solution/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}', @@ -1325,8 +1325,8 @@ module.exports = { ], }, { - files: ['x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}'], - excludedFiles: ['x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}'], + files: ['x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}'], + excludedFiles: ['x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}'], rules: { 'react/display-name': ['error', { ignoreTranspilerName: true }], }, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6798ec6434c29..ca9c1b0f90312 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -256,11 +256,6 @@ packages/default-nav/analytics @elastic/kibana-data-discovery @elastic/kibana-pr packages/home/sample_data_card @elastic/appex-sharedux packages/home/sample_data_tab @elastic/appex-sharedux packages/home/sample_data_types @elastic/appex-sharedux -packages/kbn-actions-types @elastic/response-ops -packages/kbn-alerting-types @elastic/response-ops -packages/kbn-alerts-as-data-utils @elastic/response-ops -packages/kbn-alerts-grouping @elastic/response-ops -packages/kbn-alerts-ui-shared @elastic/response-ops packages/kbn-ambient-common-types @elastic/kibana-operations packages/kbn-ambient-ftr-types @elastic/kibana-operations @elastic/appex-qa packages/kbn-ambient-storybook-types @elastic/kibana-operations @@ -280,7 +275,6 @@ packages/kbn-bazel-runner @elastic/kibana-operations packages/kbn-calculate-auto @elastic/obs-ux-management-team packages/kbn-calculate-width-from-char-count @elastic/kibana-visualizations packages/kbn-capture-oas-snapshot-cli @elastic/kibana-core -packages/kbn-cases-components @elastic/response-ops packages/kbn-cbor @elastic/kibana-operations packages/kbn-chart-icons @elastic/kibana-visualizations packages/kbn-charts-theme @elastic/kibana-visualizations @@ -342,7 +336,6 @@ packages/kbn-generate-console-definitions @elastic/kibana-management packages/kbn-generate-csv @elastic/appex-sharedux packages/kbn-get-repo-files @elastic/kibana-operations packages/kbn-grid-layout @elastic/kibana-presentation -packages/kbn-grouping @elastic/response-ops packages/kbn-guided-onboarding @elastic/appex-sharedux packages/kbn-handlebars @elastic/kibana-security packages/kbn-hapi-mocks @elastic/kibana-core @@ -414,7 +407,6 @@ packages/kbn-reporting/server @elastic/appex-sharedux packages/kbn-resizable-layout @elastic/kibana-data-discovery packages/kbn-rison @elastic/kibana-operations packages/kbn-router-to-openapispec @elastic/kibana-core -packages/kbn-rrule @elastic/response-ops packages/kbn-safer-lodash-set @elastic/kibana-security packages/kbn-saved-objects-settings @elastic/appex-sharedux packages/kbn-saved-search-component @elastic/obs-ux-logs-team @@ -450,7 +442,6 @@ packages/kbn-timelion-grammar @elastic/kibana-visualizations packages/kbn-tinymath @elastic/kibana-visualizations packages/kbn-tooling-log @elastic/kibana-operations packages/kbn-transpose-utils @elastic/kibana-visualizations -packages/kbn-triggers-actions-ui-types @elastic/response-ops packages/kbn-try-in-console @elastic/search-kibana packages/kbn-ts-projects @elastic/kibana-operations packages/kbn-ts-type-check-cli @elastic/kibana-operations @@ -482,7 +473,6 @@ packages/react/kibana_context/theme @elastic/appex-sharedux packages/react/kibana_mount @elastic/appex-sharedux packages/response-ops/feature_flag_service @elastic/response-ops packages/response-ops/rule_form @elastic/response-ops -packages/response-ops/rule_params @elastic/response-ops packages/serverless/project_switcher @elastic/appex-sharedux packages/serverless/settings/common @elastic/appex-sharedux @elastic/kibana-management packages/serverless/settings/observability_project @elastic/appex-sharedux @elastic/kibana-management @elastic/obs-ux-management-team @@ -562,13 +552,19 @@ src/platform/packages/private/kbn-management/settings/components/field_category src/platform/packages/private/kbn-management/settings/components/form @elastic/kibana-management src/platform/packages/private/kbn-mapbox-gl @elastic/kibana-presentation src/platform/packages/private/kbn-panel-loader @elastic/kibana-presentation +src/platform/packages/private/response-ops/rule_params @elastic/response-ops src/platform/packages/shared/deeplinks/devtools @elastic/kibana-management src/platform/packages/shared/deeplinks/fleet @elastic/fleet src/platform/packages/shared/deeplinks/management @elastic/kibana-management src/platform/packages/shared/deeplinks/ml @elastic/ml-ui src/platform/packages/shared/deeplinks/observability @elastic/obs-ux-management-team src/platform/packages/shared/deeplinks/security @elastic/security-solution +src/platform/packages/shared/kbn-actions-types @elastic/response-ops +src/platform/packages/shared/kbn-alerting-types @elastic/response-ops +src/platform/packages/shared/kbn-alerts-as-data-utils @elastic/response-ops +src/platform/packages/shared/kbn-alerts-ui-shared @elastic/response-ops src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows +src/platform/packages/shared/kbn-cases-components @elastic/response-ops src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-explore src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/kibana-data-discovery @@ -578,6 +574,7 @@ src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-esql src/platform/packages/shared/kbn-flot-charts @elastic/kibana-presentation @elastic/stack-monitoring +src/platform/packages/shared/kbn-grouping @elastic/response-ops src/platform/packages/shared/kbn-io-ts-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-management/cards_navigation @elastic/kibana-management src/platform/packages/shared/kbn-management/settings/components/field_input @elastic/kibana-management @@ -589,6 +586,7 @@ src/platform/packages/shared/kbn-openapi-common @elastic/security-detection-rule src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-management src/platform/packages/shared/kbn-react-hooks @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-router-utils @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-rrule @elastic/response-ops src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-detection-engine @@ -602,6 +600,7 @@ src/platform/packages/shared/kbn-sse-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-triggers-actions-ui-types @elastic/response-ops src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team @@ -760,8 +759,6 @@ x-pack/examples/triggers_actions_ui_example @elastic/response-ops x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra x-pack/packages/kbn-ai-assistant @elastic/search-kibana -x-pack/packages/kbn-alerting-comparators @elastic/response-ops -x-pack/packages/kbn-alerting-state-types @elastic/response-ops x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations x-pack/packages/kbn-streams-schema @elastic/streams-program-team x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team @@ -776,6 +773,7 @@ x-pack/packages/security/plugin_types_server @elastic/kibana-security x-pack/packages/security/role_management_model @elastic/kibana-security x-pack/packages/security/ui_components @elastic/kibana-security x-pack/performance @elastic/appex-qa +x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops x-pack/platform/packages/private/kbn-infra-forge @elastic/obs-ux-management-team x-pack/platform/packages/private/maps/vector_tile_utils @elastic/kibana-presentation x-pack/platform/packages/private/ml/agg_utils @elastic/ml-ui @@ -815,6 +813,7 @@ x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infr x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management x-pack/platform/packages/shared/index-management/index_management_shared_types @elastic/kibana-management +x-pack/platform/packages/shared/kbn-alerting-comparators @elastic/response-ops x-pack/platform/packages/shared/kbn-cloud-security-posture/common @elastic/kibana-cloud-security-posture x-pack/platform/packages/shared/kbn-data-forge @elastic/obs-ux-management-team x-pack/platform/packages/shared/kbn-elastic-assistant @elastic/security-generative-ai @@ -855,14 +854,18 @@ x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management x-pack/platform/plugins/private/transform @elastic/ml-ui x-pack/platform/plugins/private/translations @elastic/kibana-localization x-pack/platform/plugins/private/watcher @elastic/kibana-management +x-pack/platform/plugins/shared/actions @elastic/response-ops x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui +x-pack/platform/plugins/shared/alerting @elastic/response-ops +x-pack/platform/plugins/shared/cases @elastic/response-ops x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/event_log @elastic/response-ops x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/fleet @elastic/fleet x-pack/platform/plugins/shared/index_management @elastic/kibana-management @@ -876,12 +879,14 @@ x-pack/platform/plugins/shared/maps @elastic/kibana-presentation x-pack/platform/plugins/shared/ml @elastic/ml-ui x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows +x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management -x-pack/plugins/actions @elastic/response-ops -x-pack/plugins/alerting @elastic/response-ops +x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops +x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops +x-pack/platform/plugins/shared/task_manager @elastic/response-ops +x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops x-pack/plugins/banners @elastic/appex-sharedux -x-pack/plugins/cases @elastic/response-ops x-pack/plugins/cloud @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core @@ -892,7 +897,6 @@ x-pack/plugins/discover_enhanced @elastic/kibana-data-discovery x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux x-pack/plugins/encrypted_saved_objects @elastic/kibana-security x-pack/plugins/enterprise_search @elastic/search-kibana -x-pack/plugins/event_log @elastic/response-ops x-pack/plugins/features @elastic/kibana-core x-pack/plugins/global_search @elastic/appex-sharedux x-pack/plugins/global_search_bar @elastic/appex-sharedux @@ -910,7 +914,6 @@ x-pack/plugins/observability_solution/metrics_data_access @elastic/obs-ux-infra_ x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team x-pack/plugins/reporting @elastic/appex-sharedux -x-pack/plugins/rule_registry @elastic/response-ops @elastic/obs-ux-management-team x-pack/plugins/saved_objects_tagging @elastic/appex-sharedux x-pack/plugins/search_assistant @elastic/search-kibana x-pack/plugins/search_connectors @elastic/search-kibana @@ -924,15 +927,12 @@ x-pack/plugins/security @elastic/kibana-security x-pack/plugins/serverless @elastic/appex-sharedux x-pack/plugins/serverless_search @elastic/search-kibana x-pack/plugins/spaces @elastic/kibana-security -x-pack/plugins/stack_alerts @elastic/response-ops -x-pack/plugins/stack_connectors @elastic/response-ops -x-pack/plugins/task_manager @elastic/response-ops x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core -x-pack/plugins/triggers_actions_ui @elastic/response-ops x-pack/plugins/upgrade_assistant @elastic/kibana-core x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant @@ -1505,8 +1505,8 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/api_integration/apis/maps/ @elastic/kibana-presentation /x-pack/test/functional/apps/maps/ @elastic/kibana-presentation /x-pack/test/functional/es_archives/maps/ @elastic/kibana-presentation -/x-pack/plugins/stack_alerts/server/rule_types/geo_containment @elastic/kibana-presentation -/x-pack/plugins/stack_alerts/public/rule_types/geo_containment @elastic/kibana-presentation +/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment @elastic/kibana-presentation +/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment @elastic/kibana-presentation # Machine Learning @@ -1948,7 +1948,7 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib /x-pack/test/functional/fixtures/kbn_archiver/cases @elastic/response-ops /x-pack/test/functional/es_archives/cases @elastic/response-ops /x-pack/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops -/x-pack/test/functional_with_es_ssl/plugins/cases @elastic/response-ops +/x-pack/test/functional_with_es_ssl/platform/plugins/shared/cases @elastic/response-ops /x-pack/test/screenshot_creation/apps/response_ops_docs @elastic/response-ops /x-pack/test/rule_registry @elastic/response-ops @elastic/obs-ux-management-team /x-pack/test/accessibility/apps/group3/rules_connectors.ts @elastic/response-ops @@ -2321,30 +2321,30 @@ x-pack/test/security_solution_cypress/cypress/tasks/expandable_flyout @elastic/ ## Generative AI owner connectors # OpenAI -/x-pack/plugins/stack_connectors/public/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/server/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/common/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/common/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra # Bedrock -/x-pack/plugins/stack_connectors/public/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/server/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/common/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/common/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra # Gemini -/x-pack/plugins/stack_connectors/public/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/server/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/common/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/common/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra # Inference API -/x-pack/plugins/stack_connectors/public/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant -/x-pack/plugins/stack_connectors/server/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant -/x-pack/plugins/stack_connectors/common/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant +/x-pack/platform/plugins/shared/stack_connectors/common/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant ## Defend Workflows owner connectors -/x-pack/plugins/stack_connectors/public/connector_types/sentinelone @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/server/connector_types/sentinelone @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/common/sentinelone @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/common/crowdstrike @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/common/sentinelone @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike @elastic/security-defend-workflows ## Security Solution shared OAS schemas /x-pack/solutions/security/plugins/security_solution/common/api/model @elastic/security-detection-rule-management @elastic/security-detection-engine @@ -2653,8 +2653,8 @@ oas_docs/kibana.info.yaml @elastic/platform-docs # when an encrypted saved object is changed. Very careful review is necessary to ensure any changes are compatible # with serverless zero downtime upgrades (ZDT). This section should be removed only when proper guidance for # maintaining ESOs has been documented and consuming teams have acclimated to ZDT changes. -x-pack/plugins/actions/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security -x-pack/plugins/alerting/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security +x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security +x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts @elastic/fleet @elastic/kibana-security x-pack/plugins/observability_solution/synthetics/server/saved_objects/saved_objects.ts @elastic/obs-ux-management-team @elastic/kibana-security x-pack/plugins/observability_solution/synthetics/server/saved_objects/synthetics_monitor.ts @elastic/obs-ux-management-team @elastic/kibana-security @@ -3295,7 +3295,7 @@ x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops +x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index a67a300c67e83..9bba25af8c978 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -76,13 +76,13 @@ paths-ignore: - x-pack/platform/plugins/private/canvas/scripts - x-pack/solutions/security/plugins/cloud_security_posture/common/scripts - x-pack/solutions/security/plugins/elastic_assistant/scripts - - x-pack/plugins/event_log/scripts + - x-pack/platform/plugins/shared/event_log/scripts - x-pack/platform/plugins/shared/fleet/scripts - x-pack/solutions/security/plugins/lists/scripts - x-pack/solutions/security/plugins/lists/server/scripts - x-pack/plugins/observability_solution/*/scripts - x-pack/platform/plugins/shared/osquery/scripts - - x-pack/plugins/rule_registry/scripts + - x-pack/platform/plugins/shared/rule_registry/scripts - x-pack/solutions/security/plugins/security_solution/scripts - x-pack/solutions/security/plugins/threat_intelligence/scripts - x-pack/scripts diff --git a/.i18nrc.json b/.i18nrc.json index e2d091d7346fb..9ab2ae9182dd2 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -3,12 +3,12 @@ "advancedSettings": "src/plugins/advanced_settings", "aiAssistantManagementSelection": "src/platform/plugins/shared/ai_assistant_management/selection", "alerts": "packages/kbn-alerts/src", - "alertsUIShared": "packages/kbn-alerts-ui-shared/src", - "alertingTypes": "packages/kbn-alerting-types", + "alertsUIShared": "src/platform/packages/shared/kbn-alerts-ui-shared/src", + "alertingTypes": "src/platform/packages/shared/kbn-alerting-types", "apmOss": "src/plugins/apm_oss", "autocomplete": "x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src", "avcBanner": "src/platform/packages/shared/kbn-avc-banner/src", - "cases": ["packages/kbn-cases-components"], + "cases": ["src/platform/packages/shared/kbn-cases-components"], "cellActions": "src/platform/packages/shared/kbn-cell-actions", "charts": "src/plugins/charts", "console": "src/platform/plugins/shared/console", @@ -62,8 +62,8 @@ "filesManagement": "src/plugins/files_management", "flot": "src/platform/packages/shared/kbn-flot-charts/lib", "generateCsv": "packages/kbn-generate-csv", - "grouping": "packages/kbn-grouping/src", - "alertsGrouping": "packages/kbn-alerts-grouping", + "grouping": "src/platform/packages/shared/kbn-grouping/src", + "alertsGrouping": "x-pack/solutions/observability/packages/kbn-alerts-grouping", "guidedOnboarding": "src/plugins/guided_onboarding", "guidedOnboardingPackage": "packages/kbn-guided-onboarding", "home": "src/plugins/home", diff --git a/docs/action-type-template.asciidoc b/docs/action-type-template.asciidoc index ad59f2a2d9ed6..c58084eafb741 100644 --- a/docs/action-type-template.asciidoc +++ b/docs/action-type-template.asciidoc @@ -24,7 +24,7 @@ or as needed when you're creating a rule. //// List of user-facing connector configurations. This should align with the fields available in the Create connector flyout form for this connector type. -To include these configuration details in the API documentation, add appropriate files in x-pack/plugins/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml +To include these configuration details in the API documentation, add appropriate files in x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml //// Property1:: A short description of this property. @@ -45,7 +45,7 @@ You can test connectors as you're creating or editing the connector in {kib}. //// List of user-facing action configurations. This should align with the fields available in the Action section of the Create/Update alert flyout. -To include these configuration details in the API documentation, add appropriate files in x-pack/plugins/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml +To include these configuration details in the API documentation, add appropriate files in x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml //// Property1:: A short description of this property. diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 2e3f798e44982..783db9a7919a0 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -447,7 +447,7 @@ The plugin exposes the static DefaultEditorController class to consume. |Description -|{kib-repo}blob/{branch}/x-pack/plugins/actions/README.md[actions] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/actions/README.md[actions] |The Kibana actions plugin provides a framework to create executable actions. You can: @@ -455,7 +455,7 @@ The plugin exposes the static DefaultEditorController class to consume. |The plugin provides APIs and components for AIOps features, including the “Log rate analysis” UI, maintained by the ML team. -|{kib-repo}blob/{branch}/x-pack/plugins/alerting/README.md[alerting] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/alerting/README.md[alerting] |The Kibana Alerting plugin provides a common place to set up rules. You can: @@ -479,7 +479,7 @@ The plugin exposes the static DefaultEditorController class to consume. |"Never look back. The past is done. The future is a blank canvas." ― Suzy Kassem, Rise Up and Salute the Sun -|{kib-repo}blob/{branch}/x-pack/plugins/cases/README.md[cases] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/cases/README.md[cases] |This plugin provides cases management in Kibana @@ -584,7 +584,7 @@ security and spaces filtering. |This plugin provides a user interface to interact with the Entity Manager. -|{kib-repo}blob/{branch}/x-pack/plugins/event_log/README.md[eventLog] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/event_log/README.md[eventLog] |The event log plugin provides a persistent history of alerting and action activities. @@ -800,7 +800,7 @@ Elastic. |Welcome to the Kibana rollup plugin! This plugin provides Kibana support for Elasticsearch's rollup feature. Please refer to the Elasticsearch documentation to understand rollup indices and how to create rollup jobs. -|{kib-repo}blob/{branch}/x-pack/plugins/rule_registry/README.md[ruleRegistry] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/rule_registry/README.md[ruleRegistry] |The rule registry plugin aims to make it easy for rule type producers to have their rules produce the data that they need to build rich experiences on top of a unified experience, without the risk of mapping conflicts. @@ -903,14 +903,14 @@ This plugin is only enabled when the application is built for serverless project |See Configuring Kibana Spaces. -|{kib-repo}blob/{branch}/x-pack/plugins/stack_alerts/README.md[stackAlerts] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/stack_alerts/README.md[stackAlerts] |This plugin provides alertTypes shipped with Kibana for use with the the alerting plugin. When enabled, it will register the alertTypes by the Stack in the alerting plugin, register associated HTTP routes, etc. -|{kib-repo}blob/{branch}/x-pack/plugins/stack_connectors/README.md[stackConnectors] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/stack_connectors/README.md[stackConnectors] |The stack_connectors plugin provides connector types shipped with Kibana, built on top of the framework provided in the actions plugin. @@ -927,7 +927,7 @@ routes, etc. in their infrastructure. -|{kib-repo}blob/{branch}/x-pack/plugins/task_manager/README.md[taskManager] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/task_manager/README.md[taskManager] |The task manager is a generic system for running background tasks. @@ -952,7 +952,7 @@ in their infrastructure. For adding localizations and instrument a ui to support translated content, see https://github.com/elastic/kibana/tree/main/packages/kbn-i18n -|{kib-repo}blob/{branch}/x-pack/plugins/triggers_actions_ui/README.md[triggersActionsUi] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/triggers_actions_ui/README.md[triggersActionsUi] |The Kibana alerts and actions UI plugin provides a user interface for managing alerts and actions. As a developer you can reuse and extend built-in alerts and actions UI functionality: diff --git a/docs/redirects.asciidoc b/docs/redirects.asciidoc index 34a9daa1f3d2a..d37bdd96face0 100644 --- a/docs/redirects.asciidoc +++ b/docs/redirects.asciidoc @@ -428,7 +428,7 @@ This connector was renamed. Refer to <>. == APIs For the most up-to-date API details, refer to the -{kib-repo}/tree/{branch}/x-pack/plugins/alerting/docs/openapi[alerting], {kib-repo}/tree/{branch}/x-pack/plugins/cases/docs/openapi[cases], {kib-repo}/tree/{branch}/x-pack/plugins/actions/docs/openapi[connectors], and {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/ml/common/openapi[machine learning] open API specifications. +{kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/alerting/docs/openapi[alerting], {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/cases/docs/openapi[cases], {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/actions/docs/openapi[connectors], and {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/ml/common/openapi[machine learning] open API specifications. [role="exclude",id="add-case-connectors"] == Add connectors to cases diff --git a/docs/settings/cases-settings.asciidoc b/docs/settings/cases-settings.asciidoc index 4923e043f8d2b..77c1a514e1c09 100644 --- a/docs/settings/cases-settings.asciidoc +++ b/docs/settings/cases-settings.asciidoc @@ -9,7 +9,7 @@ To provide greater control over case features, you can configure the following s `xpack.cases.files.allowedMimeTypes`:: The MIME types that you can attach to a case, represented in an array of strings. For example: `['image/tiff','text/csv','application/zip'].` -The default MIME types are specified in https://github.com/elastic/kibana/blob/{branch}/x-pack/plugins/cases/common/constants/mime_types.ts[mime_types.ts]. +The default MIME types are specified in https://github.com/elastic/kibana/blob/{branch}/x-pack/platform/plugins/shared/cases/common/constants/mime_types.ts[mime_types.ts]. `xpack.cases.files.maxSize`:: The size limit for files that you can attach to a case, represented as the number of bytes. By default, the limit is 10 MiB for images and 100 MiB for all other MIME types. If you specify a value for this setting, it affects all file types. diff --git a/oas_docs/overlays/alerting.overlays.yaml b/oas_docs/overlays/alerting.overlays.yaml index cec723bfabd2f..a89547e29419f 100644 --- a/oas_docs/overlays/alerting.overlays.yaml +++ b/oas_docs/overlays/alerting.overlays.yaml @@ -97,13 +97,13 @@ actions: # APM transaction error rate rule (apm.transaction_error_rate) - $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml' # Elasticsearch DSL query rule (.es-query) - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml' # Elasticsearch ES|QL query rule (.es-query) - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml' # Elasticsearch KQL query rule (.es-query) - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml' # Index threshold rule () - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml' # Infra inventory rule (metrics.alert.inventory.threshold) - $ref: '../../x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml' # Log threshold rule (logs.alert.document.count) diff --git a/oas_docs/overlays/connectors.overlays.yaml b/oas_docs/overlays/connectors.overlays.yaml index 816542a450e3a..892422e577778 100644 --- a/oas_docs/overlays/connectors.overlays.yaml +++ b/oas_docs/overlays/connectors.overlays.yaml @@ -141,109 +141,109 @@ actions: description: The connector configuration details. oneOf: # AI (.inference) TBD - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml' # Index (.index) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml' # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml' # Microsoft Teams (.teams) N/A # Observability AI Assistant (.observability-ai-assistant) TBD # Azure OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml' # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml' # Server log (.server-log) N/A # ServiceNow ITSM (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml' # ServiceNow SecOps (.servicenow-sir) TBD # ServiceNow ITOM (.servicenow-itom) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml' secrets: additionalProperties: {} default: {} oneOf: # AI (.inference) - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml' # Index (.index) N/A # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml' # Microsoft Teams (.teams) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml' # Observability AI Assistant (.observability-ai-assistant) TBD # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' # ServiceNow (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' # ServiceNow Sec Ops (.servicenow-sir) TBD # ServiceNow (.servicenow-itom) TBD # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' - target: "$.paths['/api/actions/connector/{id}']['put']" description: "Add config and secrets to update connector API" update: @@ -258,109 +258,109 @@ actions: description: The connector configuration details. oneOf: # AI (.inference) - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml' # Index (.index) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml' # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml' # Microsoft Teams (.teams) N/A # Observability AI Assistant (.observability-ai-assistant) TBD # Azue OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml' # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml' # Server log (.server-log) N/A # ServiceNow ITSM (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml' # ServiceNow SecOps (.servicenow-sir) TBD # ServiceNow ITOM (.servicenow-itom) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml' secrets: additionalProperties: {} default: {} oneOf: # AI (.inference) - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml' # Index (.index) N/A # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml' # Microsoft Teams (.teams) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml' # Observability AI Assistant (.observability-ai-assistant) TBD # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' # ServiceNow (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' # ServiceNow SecOps (.servicenow-sir) TBD # ServiceNow ITOM (.servicenow-itom) TBD # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' # Remove the automated empty run connector params - target: "$.paths['/api/actions/connector/{id}/_execute']['post'].requestBody.content.*.schema.properties.params" description: "Remove params in run connector API" @@ -377,23 +377,23 @@ actions: params: additionalProperties: {} oneOf: - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_documents.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_email.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_serverlog.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_slack.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_addevent.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_closealert.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_closeincident.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_createalert.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getchoices.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getfields.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getincident.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issue.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issues.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issuetypes.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_postmessage.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_pushtoservice.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_validchannelid.yaml' \ No newline at end of file + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_documents.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_serverlog.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_slack.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_addevent.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closealert.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closeincident.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_createalert.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getchoices.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getfields.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getincident.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issue.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issues.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issuetypes.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_postmessage.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_pushtoservice.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_validchannelid.yaml' \ No newline at end of file diff --git a/oas_docs/scripts/merge_ess_oas.js b/oas_docs/scripts/merge_ess_oas.js index df0b6e5a4ac04..e4a139f7189aa 100644 --- a/oas_docs/scripts/merge_ess_oas.js +++ b/oas_docs/scripts/merge_ess_oas.js @@ -15,8 +15,8 @@ const { REPO_ROOT } = require('@kbn/repo-info'); await merge({ sourceGlobs: [ `${REPO_ROOT}/oas_docs/bundle.json`, - `${REPO_ROOT}/x-pack/plugins/alerting/docs/openapi/bundled.yaml`, - `${REPO_ROOT}/x-pack/plugins/cases/docs/openapi/bundled.yaml`, + `${REPO_ROOT}/x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.yaml`, + `${REPO_ROOT}/x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml`, `${REPO_ROOT}/src/plugins/data_views/docs/openapi/bundled.yaml`, `${REPO_ROOT}/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis.yaml`, `${REPO_ROOT}/packages/core/saved-objects/docs/openapi/bundled.yaml`, diff --git a/package.json b/package.json index 3b924923336fa..d9a3ed79e323e 100644 --- a/package.json +++ b/package.json @@ -154,9 +154,9 @@ "@hapi/wreck": "^18.1.0", "@hello-pangea/dnd": "16.6.0", "@kbn/aad-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/aad", - "@kbn/actions-plugin": "link:x-pack/plugins/actions", + "@kbn/actions-plugin": "link:x-pack/platform/plugins/shared/actions", "@kbn/actions-simulators-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/actions_simulators", - "@kbn/actions-types": "link:packages/kbn-actions-types", + "@kbn/actions-types": "link:src/platform/packages/shared/kbn-actions-types", "@kbn/advanced-settings-plugin": "link:src/plugins/advanced_settings", "@kbn/ai-assistant": "link:x-pack/packages/kbn-ai-assistant", "@kbn/ai-assistant-common": "link:x-pack/platform/packages/shared/ai-assistant/common", @@ -170,16 +170,16 @@ "@kbn/aiops-plugin": "link:x-pack/platform/plugins/shared/aiops", "@kbn/aiops-test-utils": "link:x-pack/platform/packages/private/ml/aiops_test_utils", "@kbn/alerting-api-integration-test-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts", - "@kbn/alerting-comparators": "link:x-pack/packages/kbn-alerting-comparators", + "@kbn/alerting-comparators": "link:x-pack/platform/packages/shared/kbn-alerting-comparators", "@kbn/alerting-example-plugin": "link:x-pack/examples/alerting_example", "@kbn/alerting-fixture-plugin": "link:x-pack/test/functional_with_es_ssl/plugins/alerts", - "@kbn/alerting-plugin": "link:x-pack/plugins/alerting", - "@kbn/alerting-state-types": "link:x-pack/packages/kbn-alerting-state-types", - "@kbn/alerting-types": "link:packages/kbn-alerting-types", - "@kbn/alerts-as-data-utils": "link:packages/kbn-alerts-as-data-utils", - "@kbn/alerts-grouping": "link:packages/kbn-alerts-grouping", + "@kbn/alerting-plugin": "link:x-pack/platform/plugins/shared/alerting", + "@kbn/alerting-state-types": "link:x-pack/platform/packages/private/kbn-alerting-state-types", + "@kbn/alerting-types": "link:src/platform/packages/shared/kbn-alerting-types", + "@kbn/alerts-as-data-utils": "link:src/platform/packages/shared/kbn-alerts-as-data-utils", + "@kbn/alerts-grouping": "link:x-pack/solutions/observability/packages/kbn-alerts-grouping", "@kbn/alerts-restricted-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts_restricted", - "@kbn/alerts-ui-shared": "link:packages/kbn-alerts-ui-shared", + "@kbn/alerts-ui-shared": "link:src/platform/packages/shared/kbn-alerts-ui-shared", "@kbn/analytics": "link:packages/kbn-analytics", "@kbn/analytics-collection-utils": "link:packages/analytics/utils/analytics_collection_utils", "@kbn/analytics-ftr-helpers-plugin": "link:test/analytics/plugins/analytics_ftr_helpers", @@ -200,8 +200,8 @@ "@kbn/calculate-width-from-char-count": "link:packages/kbn-calculate-width-from-char-count", "@kbn/canvas-plugin": "link:x-pack/platform/plugins/private/canvas", "@kbn/cases-api-integration-test-plugin": "link:x-pack/test/cases_api_integration/common/plugins/cases", - "@kbn/cases-components": "link:packages/kbn-cases-components", - "@kbn/cases-plugin": "link:x-pack/plugins/cases", + "@kbn/cases-components": "link:src/platform/packages/shared/kbn-cases-components", + "@kbn/cases-plugin": "link:x-pack/platform/plugins/shared/cases", "@kbn/cbor": "link:packages/kbn-cbor", "@kbn/cell-actions": "link:src/platform/packages/shared/kbn-cell-actions", "@kbn/chart-expressions-common": "link:src/plugins/chart_expressions/common", @@ -502,7 +502,7 @@ "@kbn/event-annotation-listing-plugin": "link:src/plugins/event_annotation_listing", "@kbn/event-annotation-plugin": "link:src/plugins/event_annotation", "@kbn/event-log-fixture-plugin": "link:x-pack/test/plugin_api_integration/plugins/event_log", - "@kbn/event-log-plugin": "link:x-pack/plugins/event_log", + "@kbn/event-log-plugin": "link:x-pack/platform/plugins/shared/event_log", "@kbn/expandable-flyout": "link:x-pack/solutions/security/packages/expandable-flyout", "@kbn/exploratory-view-example-plugin": "link:x-pack/examples/exploratory_view_example", "@kbn/exploratory-view-plugin": "link:x-pack/solutions/observability/plugins/exploratory_view", @@ -553,7 +553,7 @@ "@kbn/grid-example-plugin": "link:examples/grid_example", "@kbn/grid-layout": "link:packages/kbn-grid-layout", "@kbn/grokdebugger-plugin": "link:x-pack/platform/plugins/private/grokdebugger", - "@kbn/grouping": "link:packages/kbn-grouping", + "@kbn/grouping": "link:src/platform/packages/shared/kbn-grouping", "@kbn/guided-onboarding": "link:packages/kbn-guided-onboarding", "@kbn/guided-onboarding-example-plugin": "link:examples/guided_onboarding_example", "@kbn/guided-onboarding-plugin": "link:src/plugins/guided_onboarding", @@ -764,7 +764,7 @@ "@kbn/resolver-test-plugin": "link:x-pack/test/plugin_functional/plugins/resolver_test", "@kbn/response-ops-feature-flag-service": "link:packages/response-ops/feature_flag_service", "@kbn/response-ops-rule-form": "link:packages/response-ops/rule_form", - "@kbn/response-ops-rule-params": "link:packages/response-ops/rule_params", + "@kbn/response-ops-rule-params": "link:src/platform/packages/private/response-ops/rule_params", "@kbn/response-stream-plugin": "link:examples/response_stream", "@kbn/rison": "link:packages/kbn-rison", "@kbn/rollup": "link:x-pack/platform/packages/private/rollup", @@ -772,9 +772,9 @@ "@kbn/router-to-openapispec": "link:packages/kbn-router-to-openapispec", "@kbn/router-utils": "link:src/platform/packages/shared/kbn-router-utils", "@kbn/routing-example-plugin": "link:examples/routing_example", - "@kbn/rrule": "link:packages/kbn-rrule", + "@kbn/rrule": "link:src/platform/packages/shared/kbn-rrule", "@kbn/rule-data-utils": "link:src/platform/packages/shared/kbn-rule-data-utils", - "@kbn/rule-registry-plugin": "link:x-pack/plugins/rule_registry", + "@kbn/rule-registry-plugin": "link:x-pack/platform/plugins/shared/rule_registry", "@kbn/runtime-fields-plugin": "link:x-pack/platform/plugins/private/runtime_fields", "@kbn/safer-lodash-set": "link:packages/kbn-safer-lodash-set", "@kbn/saml-provider-plugin": "link:x-pack/test/security_api_integration/plugins/saml_provider", @@ -937,8 +937,8 @@ "@kbn/sse-utils": "link:src/platform/packages/shared/kbn-sse-utils", "@kbn/sse-utils-client": "link:src/platform/packages/shared/kbn-sse-utils-client", "@kbn/sse-utils-server": "link:src/platform/packages/shared/kbn-sse-utils-server", - "@kbn/stack-alerts-plugin": "link:x-pack/plugins/stack_alerts", - "@kbn/stack-connectors-plugin": "link:x-pack/plugins/stack_connectors", + "@kbn/stack-alerts-plugin": "link:x-pack/platform/plugins/shared/stack_alerts", + "@kbn/stack-connectors-plugin": "link:x-pack/platform/plugins/shared/stack_connectors", "@kbn/stack-management-usage-test-plugin": "link:x-pack/test/usage_collection/plugins/stack_management_usage_test", "@kbn/state-containers-examples-plugin": "link:examples/state_containers_examples", "@kbn/status-plugin-a-plugin": "link:test/server_integration/plugins/status_plugin_a", @@ -951,7 +951,7 @@ "@kbn/synthetics-private-location": "link:x-pack/packages/kbn-synthetics-private-location", "@kbn/task-manager-fixture-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture", "@kbn/task-manager-performance-plugin": "link:x-pack/test/plugin_api_perf/plugins/task_manager_performance", - "@kbn/task-manager-plugin": "link:x-pack/plugins/task_manager", + "@kbn/task-manager-plugin": "link:x-pack/platform/plugins/shared/task_manager", "@kbn/telemetry-collection-manager-plugin": "link:src/plugins/telemetry_collection_manager", "@kbn/telemetry-collection-xpack-plugin": "link:x-pack/plugins/telemetry_collection_xpack", "@kbn/telemetry-management-section-plugin": "link:src/plugins/telemetry_management_section", @@ -970,8 +970,8 @@ "@kbn/translations-plugin": "link:x-pack/platform/plugins/private/translations", "@kbn/transpose-utils": "link:packages/kbn-transpose-utils", "@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example", - "@kbn/triggers-actions-ui-plugin": "link:x-pack/plugins/triggers_actions_ui", - "@kbn/triggers-actions-ui-types": "link:packages/kbn-triggers-actions-ui-types", + "@kbn/triggers-actions-ui-plugin": "link:x-pack/platform/plugins/shared/triggers_actions_ui", + "@kbn/triggers-actions-ui-types": "link:src/platform/packages/shared/kbn-triggers-actions-ui-types", "@kbn/try-in-console": "link:packages/kbn-try-in-console", "@kbn/typed-react-router-config": "link:src/platform/packages/shared/kbn-typed-react-router-config", "@kbn/ui-actions-browser": "link:packages/kbn-ui-actions-browser", diff --git a/packages/kbn-alerts-grouping/index.ts b/packages/kbn-alerts-grouping/index.ts deleted file mode 100644 index 0a5d44153ae25..0000000000000 --- a/packages/kbn-alerts-grouping/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export { AlertsGrouping } from './src/components/alerts_grouping'; -export { - type AlertsGroupingProps, - type BaseAlertsGroupAggregations, - type AlertsGroupAggregationBucket, -} from './src/types'; -export { useAlertsGroupingState } from './src/contexts/alerts_grouping_context'; diff --git a/packages/kbn-alerts-grouping/src/constants.ts b/packages/kbn-alerts-grouping/src/constants.ts deleted file mode 100644 index 2743ef18731c6..0000000000000 --- a/packages/kbn-alerts-grouping/src/constants.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export const DEFAULT_PAGE_SIZE = 25; -export const DEFAULT_PAGE_INDEX = 0; -export const MAX_GROUPING_LEVELS = 3; diff --git a/packages/kbn-alerts-grouping/src/index.ts b/packages/kbn-alerts-grouping/src/index.ts deleted file mode 100644 index a056bd0b3ddff..0000000000000 --- a/packages/kbn-alerts-grouping/src/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export * from './components/alerts_grouping'; -export * from './contexts/alerts_grouping_context'; -export * from './types'; diff --git a/packages/kbn-alerts-ui-shared/jest.config.js b/packages/kbn-alerts-ui-shared/jest.config.js deleted file mode 100644 index 62a49421c9bc6..0000000000000 --- a/packages/kbn-alerts-ui-shared/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerts-ui-shared'], - setupFilesAfterEnv: ['/packages/kbn-alerts-ui-shared/setup_tests.ts'], -}; diff --git a/packages/kbn-cases-components/jest.config.js b/packages/kbn-cases-components/jest.config.js deleted file mode 100644 index 3518a7c7adbfa..0000000000000 --- a/packages/kbn-cases-components/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-cases-components'], - setupFilesAfterEnv: ['/packages/kbn-cases-components/setup_tests.ts'], -}; diff --git a/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts b/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts index fc7bf0b6bb509..20c5a2090b5cb 100644 --- a/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts +++ b/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts @@ -20,13 +20,16 @@ const testMap = [ 'x-pack/plugins/observability_solution/apm/common/components/app/correlations/correlations_table.tsx', 'xpack.apm', ], - ['x-pack/plugins/cases/server/components/foo.tsx', 'xpack.cases'], + ['x-pack/platform/plugins/shared/cases/server/components/foo.tsx', 'xpack.cases'], [ 'x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/alerts/toggle_alert_flyout_button.tsx', 'xpack.synthetics', ], ['src/plugins/vis_types/gauge/public/editor/collections.ts', 'visTypeGauge'], - ['packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', 'alertsUIShared'], + [ + 'src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', + 'alertsUIShared', + ], ]; describe('Get i18n Identifier for file', () => { diff --git a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts index 5053c4ca5a8e2..01cea6c4aa354 100644 --- a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts +++ b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts @@ -14,11 +14,11 @@ const SYSTEMPATH = 'systemPath'; const testMap = [ ['x-pack/solutions/observability/plugins/observability/foo/bar/baz/header_actions.tsx', 'o11y'], ['x-pack/plugins/observability_solution/apm/baz/header_actions.tsx', 'apm'], - ['x-pack/plugins/apm/public/components/app/correlations/correlations_table.tsx', 'apm'], - ['x-pack/plugins/observability/foo/bar/baz/header_actions.tsx', 'o11y'], - ['x-pack/plugins/observability_solution/apm/baz/header_actions.tsx', 'apm'], - ['x-pack/plugins/cases/public/components/foo.tsx', 'cases'], - ['packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', 'kbnAlertsUiShared'], + ['x-pack/platform/plugins/shared/cases/public/components/foo.tsx', 'cases'], + [ + 'src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', + 'kbnAlertsUiShared', + ], ]; describe('Get App Name', () => { diff --git a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts index 66cb162fdd211..5f3d7b96e33b9 100644 --- a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts +++ b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts @@ -8,46 +8,23 @@ */ import { camelCase } from 'lodash'; -import path from 'path'; +import { basename, parse } from 'path'; import { getPkgDirMap } from '@kbn/repo-packages'; import { REPO_ROOT } from '@kbn/repo-info'; +const APP_ALIASES: Record = { + observability: 'o11y', +}; + export function getAppName(fileName: string, cwd: string) { - const { dir } = path.parse(fileName); + const { dir } = parse(fileName); const relativePathToFile = dir.replace(cwd, ''); - const packageDirs = Array.from( - Array.from(getPkgDirMap(REPO_ROOT).values()).reduce((acc, currentDir) => { - const topDirectory = currentDir.normalizedRepoRelativeDir.split('/')[0]; - - if (topDirectory) { - acc.add(topDirectory); - } - - return acc; - }, new Set()) - ); - - const relativePathArray = relativePathToFile.split('/'); - - const appName = camelCase( - packageDirs.reduce((acc, repoPath) => { - if (!relativePathArray[1]) return ''; - - if (relativePathArray[1] === 'x-pack') { - if (relativePathArray[3] === 'observability_solution') { - return relativePathArray[4]; - } - return relativePathArray[3]; - } - - if (relativePathArray[1].includes(repoPath)) { - return relativePathArray[2]; - } - - return acc; - }, '') - ); + const allPaths = Array.from(getPkgDirMap(REPO_ROOT).values()) + .map((module) => module.directory.replace(REPO_ROOT, '')) + .sort((a, b) => b.length - a.length); - return appName === 'observability' ? 'o11y' : appName; + const moduleDir = allPaths.find((path) => relativePathToFile.startsWith(path)) ?? ''; + const moduleBasename = camelCase(basename(moduleDir)); + return APP_ALIASES[moduleBasename] ?? moduleBasename; } diff --git a/packages/kbn-grouping/jest.config.js b/packages/kbn-grouping/jest.config.js deleted file mode 100644 index 9c8994be4f711..0000000000000 --- a/packages/kbn-grouping/jest.config.js +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-grouping'], - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/packages/kbn-grouping/**/*.{ts,tsx}', - '!/packages/kbn-grouping/**/*.test', - '!/packages/kbn-grouping/**/types/*', - '!/packages/kbn-grouping/**/*.type', - '!/packages/kbn-grouping/**/*.styles', - '!/packages/kbn-grouping/**/mocks/*', - '!/packages/kbn-grouping/**/*.config', - '!/packages/kbn-grouping/**/translations', - '!/packages/kbn-grouping/**/types/*', - ], - setupFilesAfterEnv: ['/packages/kbn-grouping/setup_tests.ts'], -}; diff --git a/packages/kbn-grouping/setup_tests.ts b/packages/kbn-grouping/setup_tests.ts deleted file mode 100644 index 5ebc6d3dac1ca..0000000000000 --- a/packages/kbn-grouping/setup_tests.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -// eslint-disable-next-line import/no-extraneous-dependencies -import '@testing-library/jest-dom'; diff --git a/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js b/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js index 259f9ae914f18..4a3edd0559a79 100644 --- a/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js +++ b/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js @@ -18,7 +18,7 @@ require('@kbn/babel-register').install({ 'examples', 'x-pack/examples', // TODO: should should probably remove this link back to the source - 'x-pack/plugins/task_manager/server/config.ts', + 'x-pack/platform/plugins/shared/task_manager/server/config.ts', 'src/plugins/field_formats/common', 'packages', 'x-pack/packages', diff --git a/packages/kbn-triggers-actions-ui-types/jest.config.js b/packages/kbn-triggers-actions-ui-types/jest.config.js deleted file mode 100644 index a8875bc7569d6..0000000000000 --- a/packages/kbn-triggers-actions-ui-types/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-triggers-actions-ui-types'], -}; diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 6e9071e9cde96..b46c0af12ea2f 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -29,7 +29,7 @@ export const IGNORE_FILE_GLOBS = [ 'x-pack/platform/plugins/private/canvas/tasks/**/*', 'x-pack/platform/plugins/private/canvas/canvas_plugin_src/**/*', 'x-pack/platform/plugins/private/canvas/server/templates/assets/*.{png,jpg,svg}', - 'x-pack/plugins/cases/docs/**/*', + 'x-pack/platform/plugins/shared/cases/docs/**/*', 'x-pack/platform/plugins/private/monitoring/public/lib/jquery_flot/**/*', 'x-pack/platform/plugins/shared/fleet/cypress/packages/*.zip', '**/apm-diagnostics-*.json', diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 7294c1960db0f..f5fb4cd4265d1 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -15,7 +15,7 @@ export const storybookAliases = { ai_assistant: 'x-pack/packages/kbn-ai-assistant/.storybook', apm: 'x-pack/plugins/observability_solution/apm/.storybook', canvas: 'x-pack/platform/plugins/private/canvas/storybook', - cases: 'packages/kbn-cases-components/.storybook', + cases: 'src/platform/packages/shared/kbn-cases-components/.storybook', cell_actions: 'src/platform/packages/shared/kbn-cell-actions/.storybook', cloud_security_posture_packages: 'x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook', @@ -44,7 +44,7 @@ export const storybookAliases = { expression_shape: 'src/platform/plugins/shared/expression_shape/.storybook', expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook', fleet: 'x-pack/platform/plugins/shared/fleet/.storybook', - grouping: 'packages/kbn-grouping/.storybook', + grouping: 'src/platform/packages/shared/kbn-grouping/.storybook', home: 'src/plugins/home/.storybook', infra: 'x-pack/solutions/observability/plugins/infra/.storybook', inventory: 'x-pack/plugins/observability_solution/inventory/.storybook', @@ -70,7 +70,7 @@ export const storybookAliases = { shared_ux: 'packages/shared-ux/storybook/config', slo: 'x-pack/solutions/observability/plugins/slo/.storybook', threat_intelligence: 'x-pack/solutions/security/plugins/threat_intelligence/.storybook', - triggers_actions_ui: 'x-pack/plugins/triggers_actions_ui/.storybook', + triggers_actions_ui: 'x-pack/platform/plugins/shared/triggers_actions_ui/.storybook', ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook', unified_search: 'src/plugins/unified_search/.storybook', profiling: 'x-pack/plugins/observability_solution/profiling/.storybook', diff --git a/packages/response-ops/rule_params/README.md b/src/platform/packages/private/response-ops/rule_params/README.md similarity index 100% rename from packages/response-ops/rule_params/README.md rename to src/platform/packages/private/response-ops/rule_params/README.md diff --git a/packages/response-ops/rule_params/index.ts b/src/platform/packages/private/response-ops/rule_params/index.ts similarity index 100% rename from packages/response-ops/rule_params/index.ts rename to src/platform/packages/private/response-ops/rule_params/index.ts diff --git a/packages/response-ops/rule_params/jest.config.js b/src/platform/packages/private/response-ops/rule_params/jest.config.js similarity index 82% rename from packages/response-ops/rule_params/jest.config.js rename to src/platform/packages/private/response-ops/rule_params/jest.config.js index ee60f7ea42272..76636c7d4fc78 100644 --- a/packages/response-ops/rule_params/jest.config.js +++ b/src/platform/packages/private/response-ops/rule_params/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../..', - roots: ['/packages/response-ops/rule_params'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/private/response-ops/rule_params'], }; diff --git a/packages/response-ops/rule_params/kibana.jsonc b/src/platform/packages/private/response-ops/rule_params/kibana.jsonc similarity index 100% rename from packages/response-ops/rule_params/kibana.jsonc rename to src/platform/packages/private/response-ops/rule_params/kibana.jsonc diff --git a/packages/kbn-alerting-types/flapping/latest.ts b/src/platform/packages/private/response-ops/rule_params/latest.ts similarity index 100% rename from packages/kbn-alerting-types/flapping/latest.ts rename to src/platform/packages/private/response-ops/rule_params/latest.ts diff --git a/packages/response-ops/rule_params/package.json b/src/platform/packages/private/response-ops/rule_params/package.json similarity index 100% rename from packages/response-ops/rule_params/package.json rename to src/platform/packages/private/response-ops/rule_params/package.json diff --git a/packages/response-ops/rule_params/tsconfig.json b/src/platform/packages/private/response-ops/rule_params/tsconfig.json similarity index 81% rename from packages/response-ops/rule_params/tsconfig.json rename to src/platform/packages/private/response-ops/rule_params/tsconfig.json index 3df73f778fdc1..bd6cfc03c6683 100644 --- a/packages/response-ops/rule_params/tsconfig.json +++ b/src/platform/packages/private/response-ops/rule_params/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/response-ops/rule_params/v1.ts b/src/platform/packages/private/response-ops/rule_params/v1.ts similarity index 100% rename from packages/response-ops/rule_params/v1.ts rename to src/platform/packages/private/response-ops/rule_params/v1.ts diff --git a/src/platform/packages/shared/deeplinks/security/deep_links.ts b/src/platform/packages/shared/deeplinks/security/deep_links.ts index cb47043cc4a18..bf312230d4cf1 100644 --- a/src/platform/packages/shared/deeplinks/security/deep_links.ts +++ b/src/platform/packages/shared/deeplinks/security/deep_links.ts @@ -16,7 +16,7 @@ export enum SecurityPageName { blocklist = 'blocklist', /* * Warning: Computed values are not permitted in an enum with string valued members - * All Cases page names must match `CasesDeepLinkId` in x-pack/plugins/cases/public/common/navigation/deep_links.ts + * All Cases page names must match `CasesDeepLinkId` in x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts */ case = 'cases', // must match `CasesDeepLinkId.cases` caseConfigure = 'cases_configure', // must match `CasesDeepLinkId.casesConfigure` diff --git a/packages/kbn-actions-types/README.md b/src/platform/packages/shared/kbn-actions-types/README.md similarity index 100% rename from packages/kbn-actions-types/README.md rename to src/platform/packages/shared/kbn-actions-types/README.md diff --git a/packages/kbn-actions-types/action_types.ts b/src/platform/packages/shared/kbn-actions-types/action_types.ts similarity index 100% rename from packages/kbn-actions-types/action_types.ts rename to src/platform/packages/shared/kbn-actions-types/action_types.ts diff --git a/packages/kbn-actions-types/index.ts b/src/platform/packages/shared/kbn-actions-types/index.ts similarity index 100% rename from packages/kbn-actions-types/index.ts rename to src/platform/packages/shared/kbn-actions-types/index.ts diff --git a/packages/kbn-alerts-as-data-utils/jest.config.js b/src/platform/packages/shared/kbn-actions-types/jest.config.js similarity index 83% rename from packages/kbn-alerts-as-data-utils/jest.config.js rename to src/platform/packages/shared/kbn-actions-types/jest.config.js index faca19e88d573..231d779e54cb9 100644 --- a/packages/kbn-alerts-as-data-utils/jest.config.js +++ b/src/platform/packages/shared/kbn-actions-types/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerts-as-data-utils'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-actions-types'], }; diff --git a/packages/kbn-actions-types/kibana.jsonc b/src/platform/packages/shared/kbn-actions-types/kibana.jsonc similarity index 100% rename from packages/kbn-actions-types/kibana.jsonc rename to src/platform/packages/shared/kbn-actions-types/kibana.jsonc diff --git a/packages/kbn-actions-types/package.json b/src/platform/packages/shared/kbn-actions-types/package.json similarity index 100% rename from packages/kbn-actions-types/package.json rename to src/platform/packages/shared/kbn-actions-types/package.json diff --git a/packages/kbn-actions-types/rewrite_request_case_types.ts b/src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts similarity index 100% rename from packages/kbn-actions-types/rewrite_request_case_types.ts rename to src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts diff --git a/packages/kbn-actions-types/tsconfig.json b/src/platform/packages/shared/kbn-actions-types/tsconfig.json similarity index 84% rename from packages/kbn-actions-types/tsconfig.json rename to src/platform/packages/shared/kbn-actions-types/tsconfig.json index f581a6d61b88f..ee8d7f40d8bc5 100644 --- a/packages/kbn-actions-types/tsconfig.json +++ b/src/platform/packages/shared/kbn-actions-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-alerting-types/README.md b/src/platform/packages/shared/kbn-alerting-types/README.md similarity index 100% rename from packages/kbn-alerting-types/README.md rename to src/platform/packages/shared/kbn-alerting-types/README.md diff --git a/packages/kbn-alerting-types/action_group_types.ts b/src/platform/packages/shared/kbn-alerting-types/action_group_types.ts similarity index 100% rename from packages/kbn-alerting-types/action_group_types.ts rename to src/platform/packages/shared/kbn-alerting-types/action_group_types.ts diff --git a/packages/kbn-alerting-types/action_variable.ts b/src/platform/packages/shared/kbn-alerting-types/action_variable.ts similarity index 100% rename from packages/kbn-alerting-types/action_variable.ts rename to src/platform/packages/shared/kbn-alerting-types/action_variable.ts diff --git a/packages/kbn-alerting-types/alert_fields_type.ts b/src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts similarity index 100% rename from packages/kbn-alerting-types/alert_fields_type.ts rename to src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts diff --git a/packages/kbn-alerting-types/alert_type.ts b/src/platform/packages/shared/kbn-alerting-types/alert_type.ts similarity index 100% rename from packages/kbn-alerting-types/alert_type.ts rename to src/platform/packages/shared/kbn-alerting-types/alert_type.ts diff --git a/packages/kbn-alerting-types/alerting_framework_health_types.ts b/src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts similarity index 100% rename from packages/kbn-alerting-types/alerting_framework_health_types.ts rename to src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts diff --git a/packages/kbn-alerting-types/builtin_action_groups_types.ts b/src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts similarity index 100% rename from packages/kbn-alerting-types/builtin_action_groups_types.ts rename to src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts diff --git a/packages/kbn-alerting-types/circuit_breaker_message_header.ts b/src/platform/packages/shared/kbn-alerting-types/circuit_breaker_message_header.ts similarity index 100% rename from packages/kbn-alerting-types/circuit_breaker_message_header.ts rename to src/platform/packages/shared/kbn-alerting-types/circuit_breaker_message_header.ts diff --git a/packages/response-ops/rule_params/latest.ts b/src/platform/packages/shared/kbn-alerting-types/flapping/latest.ts similarity index 100% rename from packages/response-ops/rule_params/latest.ts rename to src/platform/packages/shared/kbn-alerting-types/flapping/latest.ts diff --git a/packages/kbn-alerting-types/flapping/v1.ts b/src/platform/packages/shared/kbn-alerting-types/flapping/v1.ts similarity index 100% rename from packages/kbn-alerting-types/flapping/v1.ts rename to src/platform/packages/shared/kbn-alerting-types/flapping/v1.ts diff --git a/packages/kbn-alerting-types/index.ts b/src/platform/packages/shared/kbn-alerting-types/index.ts similarity index 100% rename from packages/kbn-alerting-types/index.ts rename to src/platform/packages/shared/kbn-alerting-types/index.ts diff --git a/packages/kbn-alerting-types/jest.config.js b/src/platform/packages/shared/kbn-alerting-types/jest.config.js similarity index 83% rename from packages/kbn-alerting-types/jest.config.js rename to src/platform/packages/shared/kbn-alerting-types/jest.config.js index 8d37bf9581dad..637f626646175 100644 --- a/packages/kbn-alerting-types/jest.config.js +++ b/src/platform/packages/shared/kbn-alerting-types/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerting-types'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-alerting-types'], }; diff --git a/packages/kbn-alerting-types/kibana.jsonc b/src/platform/packages/shared/kbn-alerting-types/kibana.jsonc similarity index 100% rename from packages/kbn-alerting-types/kibana.jsonc rename to src/platform/packages/shared/kbn-alerting-types/kibana.jsonc diff --git a/packages/kbn-alerting-types/package.json b/src/platform/packages/shared/kbn-alerting-types/package.json similarity index 100% rename from packages/kbn-alerting-types/package.json rename to src/platform/packages/shared/kbn-alerting-types/package.json diff --git a/packages/kbn-alerting-types/r_rule_types.ts b/src/platform/packages/shared/kbn-alerting-types/r_rule_types.ts similarity index 100% rename from packages/kbn-alerting-types/r_rule_types.ts rename to src/platform/packages/shared/kbn-alerting-types/r_rule_types.ts diff --git a/packages/kbn-alerting-types/rule_notify_when_type.ts b/src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts similarity index 100% rename from packages/kbn-alerting-types/rule_notify_when_type.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts diff --git a/packages/kbn-alerting-types/rule_settings.ts b/src/platform/packages/shared/kbn-alerting-types/rule_settings.ts similarity index 100% rename from packages/kbn-alerting-types/rule_settings.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_settings.ts diff --git a/packages/kbn-alerting-types/rule_type_types.ts b/src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts similarity index 100% rename from packages/kbn-alerting-types/rule_type_types.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts diff --git a/packages/kbn-alerting-types/rule_types.ts b/src/platform/packages/shared/kbn-alerting-types/rule_types.ts similarity index 100% rename from packages/kbn-alerting-types/rule_types.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_types.ts diff --git a/packages/kbn-alerting-types/search_strategy_types.ts b/src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts similarity index 100% rename from packages/kbn-alerting-types/search_strategy_types.ts rename to src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts diff --git a/packages/kbn-alerting-types/tsconfig.json b/src/platform/packages/shared/kbn-alerting-types/tsconfig.json similarity index 90% rename from packages/kbn-alerting-types/tsconfig.json rename to src/platform/packages/shared/kbn-alerting-types/tsconfig.json index dbc417aa76ade..feac5e5147156 100644 --- a/packages/kbn-alerting-types/tsconfig.json +++ b/src/platform/packages/shared/kbn-alerting-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-alerts-as-data-utils/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/index.ts diff --git a/packages/kbn-rrule/jest.config.js b/src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js similarity index 82% rename from packages/kbn-rrule/jest.config.js rename to src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js index bcc7921064cb5..c52df32bd8d45 100644 --- a/packages/kbn-rrule/jest.config.js +++ b/src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-rrule'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-alerts-as-data-utils'], }; diff --git a/packages/kbn-alerts-as-data-utils/kibana.jsonc b/src/platform/packages/shared/kbn-alerts-as-data-utils/kibana.jsonc similarity index 100% rename from packages/kbn-alerts-as-data-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-alerts-as-data-utils/kibana.jsonc diff --git a/packages/kbn-alerts-as-data-utils/package.json b/src/platform/packages/shared/kbn-alerts-as-data-utils/package.json similarity index 100% rename from packages/kbn-alerts-as-data-utils/package.json rename to src/platform/packages/shared/kbn-alerts-as-data-utils/package.json diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/index.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/types.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/types.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/index.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/index.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/fields.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/fields.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/fields.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/fields.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/index.ts diff --git a/packages/kbn-alerts-as-data-utils/tsconfig.json b/src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json similarity index 84% rename from packages/kbn-alerts-as-data-utils/tsconfig.json rename to src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json index d2a0a93d5f1db..fd6fade27713b 100644 --- a/packages/kbn-alerts-as-data-utils/tsconfig.json +++ b/src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-alerts-ui-shared/README.mdx b/src/platform/packages/shared/kbn-alerts-ui-shared/README.mdx similarity index 100% rename from packages/kbn-alerts-ui-shared/README.mdx rename to src/platform/packages/shared/kbn-alerts-ui-shared/README.mdx diff --git a/packages/kbn-alerts-ui-shared/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/index.ts diff --git a/packages/kbn-alerts-grouping/jest.config.js b/src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js similarity index 70% rename from packages/kbn-alerts-grouping/jest.config.js rename to src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js index 4d2bdb1859c02..b6d9bd0e16927 100644 --- a/packages/kbn-alerts-grouping/jest.config.js +++ b/src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js @@ -9,7 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerts-grouping'], - setupFilesAfterEnv: ['/packages/kbn-alerts-grouping/setup_tests.ts'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-alerts-ui-shared'], + setupFilesAfterEnv: [ + '/src/platform/packages/shared/kbn-alerts-ui-shared/setup_tests.ts', + ], }; diff --git a/packages/kbn-alerts-ui-shared/kibana.jsonc b/src/platform/packages/shared/kbn-alerts-ui-shared/kibana.jsonc similarity index 100% rename from packages/kbn-alerts-ui-shared/kibana.jsonc rename to src/platform/packages/shared/kbn-alerts-ui-shared/kibana.jsonc diff --git a/packages/kbn-alerts-ui-shared/lib/README.md b/src/platform/packages/shared/kbn-alerts-ui-shared/lib/README.md similarity index 100% rename from packages/kbn-alerts-ui-shared/lib/README.md rename to src/platform/packages/shared/kbn-alerts-ui-shared/lib/README.md diff --git a/packages/kbn-alerts-ui-shared/lib/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/lib/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/lib/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/lib/index.ts diff --git a/packages/kbn-alerts-ui-shared/package.json b/src/platform/packages/shared/kbn-alerts-ui-shared/package.json similarity index 100% rename from packages/kbn-alerts-ui-shared/package.json rename to src/platform/packages/shared/kbn-alerts-ui-shared/package.json diff --git a/packages/kbn-alerts-grouping/setup_tests.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/setup_tests.ts similarity index 100% rename from packages/kbn-alerts-grouping/setup_tests.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/setup_tests.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/alerts.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/alerts.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/alerts.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/alerts.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/routes.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/routes.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/routes.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/routes.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/transformations/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/transformations/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/type_registry.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/type_registry.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/type_registry.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/type_registry.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/action_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/action_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx diff --git a/packages/kbn-alerts-ui-shared/tsconfig.json b/src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json similarity index 95% rename from packages/kbn-alerts-ui-shared/tsconfig.json rename to src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json index 30be2e17af3ea..f51993a610f0b 100644 --- a/packages/kbn-alerts-ui-shared/tsconfig.json +++ b/src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node", "react"] diff --git a/packages/kbn-cases-components/.storybook/main.js b/src/platform/packages/shared/kbn-cases-components/.storybook/main.js similarity index 100% rename from packages/kbn-cases-components/.storybook/main.js rename to src/platform/packages/shared/kbn-cases-components/.storybook/main.js diff --git a/packages/kbn-cases-components/README.md b/src/platform/packages/shared/kbn-cases-components/README.md similarity index 100% rename from packages/kbn-cases-components/README.md rename to src/platform/packages/shared/kbn-cases-components/README.md diff --git a/packages/kbn-cases-components/index.ts b/src/platform/packages/shared/kbn-cases-components/index.ts similarity index 100% rename from packages/kbn-cases-components/index.ts rename to src/platform/packages/shared/kbn-cases-components/index.ts diff --git a/src/platform/packages/shared/kbn-cases-components/jest.config.js b/src/platform/packages/shared/kbn-cases-components/jest.config.js new file mode 100644 index 0000000000000..d1e9bcaee95fa --- /dev/null +++ b/src/platform/packages/shared/kbn-cases-components/jest.config.js @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-cases-components'], + setupFilesAfterEnv: [ + '/src/platform/packages/shared/kbn-cases-components/setup_tests.ts', + ], +}; diff --git a/packages/kbn-cases-components/kibana.jsonc b/src/platform/packages/shared/kbn-cases-components/kibana.jsonc similarity index 100% rename from packages/kbn-cases-components/kibana.jsonc rename to src/platform/packages/shared/kbn-cases-components/kibana.jsonc diff --git a/packages/kbn-cases-components/package.json b/src/platform/packages/shared/kbn-cases-components/package.json similarity index 100% rename from packages/kbn-cases-components/package.json rename to src/platform/packages/shared/kbn-cases-components/package.json diff --git a/packages/kbn-alerts-ui-shared/setup_tests.ts b/src/platform/packages/shared/kbn-cases-components/setup_tests.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/setup_tests.ts rename to src/platform/packages/shared/kbn-cases-components/setup_tests.ts diff --git a/packages/kbn-cases-components/src/__stories__/tooltip.stories.tsx b/src/platform/packages/shared/kbn-cases-components/src/__stories__/tooltip.stories.tsx similarity index 100% rename from packages/kbn-cases-components/src/__stories__/tooltip.stories.tsx rename to src/platform/packages/shared/kbn-cases-components/src/__stories__/tooltip.stories.tsx diff --git a/packages/kbn-cases-components/src/status/config.ts b/src/platform/packages/shared/kbn-cases-components/src/status/config.ts similarity index 100% rename from packages/kbn-cases-components/src/status/config.ts rename to src/platform/packages/shared/kbn-cases-components/src/status/config.ts diff --git a/packages/kbn-cases-components/src/status/status.test.tsx b/src/platform/packages/shared/kbn-cases-components/src/status/status.test.tsx similarity index 100% rename from packages/kbn-cases-components/src/status/status.test.tsx rename to src/platform/packages/shared/kbn-cases-components/src/status/status.test.tsx diff --git a/packages/kbn-cases-components/src/status/status.tsx b/src/platform/packages/shared/kbn-cases-components/src/status/status.tsx similarity index 100% rename from packages/kbn-cases-components/src/status/status.tsx rename to src/platform/packages/shared/kbn-cases-components/src/status/status.tsx diff --git a/packages/kbn-cases-components/src/status/translations.ts b/src/platform/packages/shared/kbn-cases-components/src/status/translations.ts similarity index 100% rename from packages/kbn-cases-components/src/status/translations.ts rename to src/platform/packages/shared/kbn-cases-components/src/status/translations.ts diff --git a/packages/kbn-cases-components/src/status/types.ts b/src/platform/packages/shared/kbn-cases-components/src/status/types.ts similarity index 91% rename from packages/kbn-cases-components/src/status/types.ts rename to src/platform/packages/shared/kbn-cases-components/src/status/types.ts index 6064f3ee888b3..f764c8a2299d1 100644 --- a/packages/kbn-cases-components/src/status/types.ts +++ b/src/platform/packages/shared/kbn-cases-components/src/status/types.ts @@ -9,7 +9,7 @@ /** * This is being used by Cases in - * x-pack/plugins/cases/common/types/domain/case/v1.ts. + * x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts. * Introducing a breaking change in this enum will * force cases to create a version of the domain object * which in turn will force cases to create a new version diff --git a/packages/kbn-cases-components/src/tooltip/icon_with_count.test.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.test.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/icon_with_count.test.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.test.tsx diff --git a/packages/kbn-cases-components/src/tooltip/icon_with_count.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/icon_with_count.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.tsx diff --git a/packages/kbn-cases-components/src/tooltip/skeleton.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/skeleton.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/skeleton.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/skeleton.tsx diff --git a/packages/kbn-cases-components/src/tooltip/tooltip.test.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.test.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/tooltip.test.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.test.tsx diff --git a/packages/kbn-cases-components/src/tooltip/tooltip.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/tooltip.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.tsx diff --git a/packages/kbn-cases-components/src/tooltip/tooltip_content.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip_content.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/tooltip_content.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip_content.tsx diff --git a/packages/kbn-cases-components/src/tooltip/translations.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/translations.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/translations.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/translations.ts diff --git a/packages/kbn-cases-components/src/tooltip/types.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/types.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts diff --git a/packages/kbn-cases-components/src/tooltip/utils.test.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.test.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/utils.test.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.test.ts diff --git a/packages/kbn-cases-components/src/tooltip/utils.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/utils.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.ts diff --git a/packages/kbn-cases-components/tsconfig.json b/src/platform/packages/shared/kbn-cases-components/tsconfig.json similarity index 84% rename from packages/kbn-cases-components/tsconfig.json rename to src/platform/packages/shared/kbn-cases-components/tsconfig.json index 09abcbdb81a3e..2a80b6c8bada0 100644 --- a/packages/kbn-cases-components/tsconfig.json +++ b/src/platform/packages/shared/kbn-cases-components/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-grouping/.storybook/main.js b/src/platform/packages/shared/kbn-grouping/.storybook/main.js similarity index 100% rename from packages/kbn-grouping/.storybook/main.js rename to src/platform/packages/shared/kbn-grouping/.storybook/main.js diff --git a/packages/kbn-grouping/README.mdx b/src/platform/packages/shared/kbn-grouping/README.mdx similarity index 100% rename from packages/kbn-grouping/README.mdx rename to src/platform/packages/shared/kbn-grouping/README.mdx diff --git a/packages/kbn-grouping/index.tsx b/src/platform/packages/shared/kbn-grouping/index.tsx similarity index 100% rename from packages/kbn-grouping/index.tsx rename to src/platform/packages/shared/kbn-grouping/index.tsx diff --git a/src/platform/packages/shared/kbn-grouping/jest.config.js b/src/platform/packages/shared/kbn-grouping/jest.config.js new file mode 100644 index 0000000000000..720c752f13067 --- /dev/null +++ b/src/platform/packages/shared/kbn-grouping/jest.config.js @@ -0,0 +1,27 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-grouping'], + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/packages/shared/kbn-grouping/**/*.{ts,tsx}', + '!/src/platform/packages/shared/kbn-grouping/**/*.test', + '!/src/platform/packages/shared/kbn-grouping/**/types/*', + '!/src/platform/packages/shared/kbn-grouping/**/*.type', + '!/src/platform/packages/shared/kbn-grouping/**/*.styles', + '!/src/platform/packages/shared/kbn-grouping/**/mocks/*', + '!/src/platform/packages/shared/kbn-grouping/**/*.config', + '!/src/platform/packages/shared/kbn-grouping/**/translations', + '!/src/platform/packages/shared/kbn-grouping/**/types/*', + ], + setupFilesAfterEnv: ['/src/platform/packages/shared/kbn-grouping/setup_tests.ts'], +}; diff --git a/packages/kbn-grouping/kibana.jsonc b/src/platform/packages/shared/kbn-grouping/kibana.jsonc similarity index 100% rename from packages/kbn-grouping/kibana.jsonc rename to src/platform/packages/shared/kbn-grouping/kibana.jsonc diff --git a/packages/kbn-grouping/package.json b/src/platform/packages/shared/kbn-grouping/package.json similarity index 100% rename from packages/kbn-grouping/package.json rename to src/platform/packages/shared/kbn-grouping/package.json diff --git a/packages/kbn-cases-components/setup_tests.ts b/src/platform/packages/shared/kbn-grouping/setup_tests.ts similarity index 100% rename from packages/kbn-cases-components/setup_tests.ts rename to src/platform/packages/shared/kbn-grouping/setup_tests.ts diff --git a/packages/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx diff --git a/packages/kbn-grouping/src/components/accordion_panel/group_stats.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/group_stats.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.tsx diff --git a/packages/kbn-grouping/src/components/accordion_panel/index.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/index.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.test.tsx diff --git a/packages/kbn-grouping/src/components/accordion_panel/index.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/index.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.tsx diff --git a/packages/kbn-grouping/src/components/empty_results_panel.tsx b/src/platform/packages/shared/kbn-grouping/src/components/empty_results_panel.tsx similarity index 100% rename from packages/kbn-grouping/src/components/empty_results_panel.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/empty_results_panel.tsx diff --git a/packages/kbn-grouping/src/components/group_selector/custom_field_panel.tsx b/src/platform/packages/shared/kbn-grouping/src/components/group_selector/custom_field_panel.tsx similarity index 100% rename from packages/kbn-grouping/src/components/group_selector/custom_field_panel.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/group_selector/custom_field_panel.tsx diff --git a/packages/kbn-grouping/src/components/group_selector/index.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/group_selector/index.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.test.tsx diff --git a/packages/kbn-grouping/src/components/group_selector/index.tsx b/src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.tsx similarity index 100% rename from packages/kbn-grouping/src/components/group_selector/index.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.tsx diff --git a/packages/kbn-grouping/src/components/grouping.mock.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.mock.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.mock.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.mock.tsx diff --git a/packages/kbn-grouping/src/components/grouping.stories.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.stories.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.stories.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.stories.tsx diff --git a/packages/kbn-grouping/src/components/grouping.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.test.tsx diff --git a/packages/kbn-grouping/src/components/grouping.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.tsx diff --git a/packages/kbn-grouping/src/components/index.tsx b/src/platform/packages/shared/kbn-grouping/src/components/index.tsx similarity index 100% rename from packages/kbn-grouping/src/components/index.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/index.tsx diff --git a/packages/kbn-grouping/src/components/styles.tsx b/src/platform/packages/shared/kbn-grouping/src/components/styles.tsx similarity index 100% rename from packages/kbn-grouping/src/components/styles.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/styles.tsx diff --git a/packages/kbn-grouping/src/components/translations.ts b/src/platform/packages/shared/kbn-grouping/src/components/translations.ts similarity index 100% rename from packages/kbn-grouping/src/components/translations.ts rename to src/platform/packages/shared/kbn-grouping/src/components/translations.ts diff --git a/packages/kbn-grouping/src/components/types.ts b/src/platform/packages/shared/kbn-grouping/src/components/types.ts similarity index 100% rename from packages/kbn-grouping/src/components/types.ts rename to src/platform/packages/shared/kbn-grouping/src/components/types.ts diff --git a/packages/kbn-grouping/src/containers/index.ts b/src/platform/packages/shared/kbn-grouping/src/containers/index.ts similarity index 100% rename from packages/kbn-grouping/src/containers/index.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/index.ts diff --git a/packages/kbn-grouping/src/containers/query/helpers.test.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.test.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/helpers.test.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.test.ts diff --git a/packages/kbn-grouping/src/containers/query/helpers.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/helpers.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.ts diff --git a/packages/kbn-grouping/src/containers/query/index.test.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/index.test.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/index.test.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/index.test.ts diff --git a/packages/kbn-grouping/src/containers/query/index.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/index.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/index.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/index.ts diff --git a/packages/kbn-grouping/src/containers/query/types.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/types.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/types.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/types.ts diff --git a/packages/kbn-grouping/src/helpers.ts b/src/platform/packages/shared/kbn-grouping/src/helpers.ts similarity index 100% rename from packages/kbn-grouping/src/helpers.ts rename to src/platform/packages/shared/kbn-grouping/src/helpers.ts diff --git a/packages/kbn-grouping/src/hooks/state/actions.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/actions.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/actions.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/actions.ts diff --git a/packages/kbn-grouping/src/hooks/state/index.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/index.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/index.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/index.ts diff --git a/packages/kbn-grouping/src/hooks/state/reducer.test.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.test.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/reducer.test.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.test.ts diff --git a/packages/kbn-grouping/src/hooks/state/reducer.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/reducer.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.ts diff --git a/packages/kbn-grouping/src/hooks/state/selectors.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/selectors.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/selectors.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/selectors.ts diff --git a/packages/kbn-grouping/src/hooks/types.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/types.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/types.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/types.ts diff --git a/packages/kbn-grouping/src/hooks/use_get_group_selector.test.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.test.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_get_group_selector.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.test.tsx diff --git a/packages/kbn-grouping/src/hooks/use_get_group_selector.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_get_group_selector.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.tsx diff --git a/packages/kbn-grouping/src/hooks/use_grouping.test.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.test.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_grouping.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.test.tsx diff --git a/packages/kbn-grouping/src/hooks/use_grouping.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_grouping.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.tsx diff --git a/packages/kbn-grouping/src/index.ts b/src/platform/packages/shared/kbn-grouping/src/index.ts similarity index 100% rename from packages/kbn-grouping/src/index.ts rename to src/platform/packages/shared/kbn-grouping/src/index.ts diff --git a/packages/kbn-grouping/src/mocks.ts b/src/platform/packages/shared/kbn-grouping/src/mocks.ts similarity index 100% rename from packages/kbn-grouping/src/mocks.ts rename to src/platform/packages/shared/kbn-grouping/src/mocks.ts diff --git a/packages/kbn-grouping/src/telemetry/const.ts b/src/platform/packages/shared/kbn-grouping/src/telemetry/const.ts similarity index 100% rename from packages/kbn-grouping/src/telemetry/const.ts rename to src/platform/packages/shared/kbn-grouping/src/telemetry/const.ts diff --git a/packages/kbn-grouping/tsconfig.json b/src/platform/packages/shared/kbn-grouping/tsconfig.json similarity index 90% rename from packages/kbn-grouping/tsconfig.json rename to src/platform/packages/shared/kbn-grouping/tsconfig.json index 6322bf0596c70..118c5c53fa2b8 100644 --- a/packages/kbn-grouping/tsconfig.json +++ b/src/platform/packages/shared/kbn-grouping/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-rrule/README.md b/src/platform/packages/shared/kbn-rrule/README.md similarity index 100% rename from packages/kbn-rrule/README.md rename to src/platform/packages/shared/kbn-rrule/README.md diff --git a/packages/kbn-rrule/index.ts b/src/platform/packages/shared/kbn-rrule/index.ts similarity index 100% rename from packages/kbn-rrule/index.ts rename to src/platform/packages/shared/kbn-rrule/index.ts diff --git a/packages/kbn-actions-types/jest.config.js b/src/platform/packages/shared/kbn-rrule/jest.config.js similarity index 84% rename from packages/kbn-actions-types/jest.config.js rename to src/platform/packages/shared/kbn-rrule/jest.config.js index f15cdb2ecb201..d27db1d057ed2 100644 --- a/packages/kbn-actions-types/jest.config.js +++ b/src/platform/packages/shared/kbn-rrule/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-actions-types'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-rrule'], }; diff --git a/packages/kbn-rrule/kibana.jsonc b/src/platform/packages/shared/kbn-rrule/kibana.jsonc similarity index 100% rename from packages/kbn-rrule/kibana.jsonc rename to src/platform/packages/shared/kbn-rrule/kibana.jsonc diff --git a/packages/kbn-rrule/package.json b/src/platform/packages/shared/kbn-rrule/package.json similarity index 100% rename from packages/kbn-rrule/package.json rename to src/platform/packages/shared/kbn-rrule/package.json diff --git a/packages/kbn-rrule/rrule.test.ts b/src/platform/packages/shared/kbn-rrule/rrule.test.ts similarity index 100% rename from packages/kbn-rrule/rrule.test.ts rename to src/platform/packages/shared/kbn-rrule/rrule.test.ts diff --git a/packages/kbn-rrule/rrule.ts b/src/platform/packages/shared/kbn-rrule/rrule.ts similarity index 100% rename from packages/kbn-rrule/rrule.ts rename to src/platform/packages/shared/kbn-rrule/rrule.ts diff --git a/packages/kbn-rrule/tsconfig.json b/src/platform/packages/shared/kbn-rrule/tsconfig.json similarity index 82% rename from packages/kbn-rrule/tsconfig.json rename to src/platform/packages/shared/kbn-rrule/tsconfig.json index 87f865132f4b4..447899d604592 100644 --- a/packages/kbn-rrule/tsconfig.json +++ b/src/platform/packages/shared/kbn-rrule/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-triggers-actions-ui-types/README.md b/src/platform/packages/shared/kbn-triggers-actions-ui-types/README.md similarity index 100% rename from packages/kbn-triggers-actions-ui-types/README.md rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/README.md diff --git a/packages/kbn-triggers-actions-ui-types/action_group_types.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/action_group_types.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/action_group_types.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/action_group_types.ts diff --git a/packages/kbn-triggers-actions-ui-types/action_variable_types.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/action_variable_types.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts diff --git a/packages/kbn-triggers-actions-ui-types/index.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/index.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/index.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/index.ts diff --git a/src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js b/src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js new file mode 100644 index 0000000000000..99bc1a3987b95 --- /dev/null +++ b/src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-triggers-actions-ui-types'], +}; diff --git a/packages/kbn-triggers-actions-ui-types/kibana.jsonc b/src/platform/packages/shared/kbn-triggers-actions-ui-types/kibana.jsonc similarity index 100% rename from packages/kbn-triggers-actions-ui-types/kibana.jsonc rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/kibana.jsonc diff --git a/packages/kbn-triggers-actions-ui-types/package.json b/src/platform/packages/shared/kbn-triggers-actions-ui-types/package.json similarity index 100% rename from packages/kbn-triggers-actions-ui-types/package.json rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/package.json diff --git a/packages/kbn-triggers-actions-ui-types/rule_types.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/rule_types.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts diff --git a/packages/kbn-triggers-actions-ui-types/tsconfig.json b/src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json similarity index 84% rename from packages/kbn-triggers-actions-ui-types/tsconfig.json rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json index 6807322253645..17d71c0b4f0b0 100644 --- a/packages/kbn-triggers-actions-ui-types/tsconfig.json +++ b/src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index e3efe72b8a0af..71f14340765ff 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -6,12 +6,12 @@ // START AUTOMATED PACKAGE LISTING "@kbn/aad-fixtures-plugin": ["x-pack/test/alerting_api_integration/common/plugins/aad"], "@kbn/aad-fixtures-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/aad/*"], - "@kbn/actions-plugin": ["x-pack/plugins/actions"], - "@kbn/actions-plugin/*": ["x-pack/plugins/actions/*"], + "@kbn/actions-plugin": ["x-pack/platform/plugins/shared/actions"], + "@kbn/actions-plugin/*": ["x-pack/platform/plugins/shared/actions/*"], "@kbn/actions-simulators-plugin": ["x-pack/test/alerting_api_integration/common/plugins/actions_simulators"], "@kbn/actions-simulators-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/actions_simulators/*"], - "@kbn/actions-types": ["packages/kbn-actions-types"], - "@kbn/actions-types/*": ["packages/kbn-actions-types/*"], + "@kbn/actions-types": ["src/platform/packages/shared/kbn-actions-types"], + "@kbn/actions-types/*": ["src/platform/packages/shared/kbn-actions-types/*"], "@kbn/advanced-settings-plugin": ["src/plugins/advanced_settings"], "@kbn/advanced-settings-plugin/*": ["src/plugins/advanced_settings/*"], "@kbn/ai-assistant": ["x-pack/packages/kbn-ai-assistant"], @@ -40,26 +40,26 @@ "@kbn/alerting-api-integration-helpers/*": ["x-pack/test/alerting_api_integration/packages/helpers/*"], "@kbn/alerting-api-integration-test-plugin": ["x-pack/test/alerting_api_integration/common/plugins/alerts"], "@kbn/alerting-api-integration-test-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/alerts/*"], - "@kbn/alerting-comparators": ["x-pack/packages/kbn-alerting-comparators"], - "@kbn/alerting-comparators/*": ["x-pack/packages/kbn-alerting-comparators/*"], + "@kbn/alerting-comparators": ["x-pack/platform/packages/shared/kbn-alerting-comparators"], + "@kbn/alerting-comparators/*": ["x-pack/platform/packages/shared/kbn-alerting-comparators/*"], "@kbn/alerting-example-plugin": ["x-pack/examples/alerting_example"], "@kbn/alerting-example-plugin/*": ["x-pack/examples/alerting_example/*"], "@kbn/alerting-fixture-plugin": ["x-pack/test/functional_with_es_ssl/plugins/alerts"], "@kbn/alerting-fixture-plugin/*": ["x-pack/test/functional_with_es_ssl/plugins/alerts/*"], - "@kbn/alerting-plugin": ["x-pack/plugins/alerting"], - "@kbn/alerting-plugin/*": ["x-pack/plugins/alerting/*"], - "@kbn/alerting-state-types": ["x-pack/packages/kbn-alerting-state-types"], - "@kbn/alerting-state-types/*": ["x-pack/packages/kbn-alerting-state-types/*"], - "@kbn/alerting-types": ["packages/kbn-alerting-types"], - "@kbn/alerting-types/*": ["packages/kbn-alerting-types/*"], - "@kbn/alerts-as-data-utils": ["packages/kbn-alerts-as-data-utils"], - "@kbn/alerts-as-data-utils/*": ["packages/kbn-alerts-as-data-utils/*"], - "@kbn/alerts-grouping": ["packages/kbn-alerts-grouping"], - "@kbn/alerts-grouping/*": ["packages/kbn-alerts-grouping/*"], + "@kbn/alerting-plugin": ["x-pack/platform/plugins/shared/alerting"], + "@kbn/alerting-plugin/*": ["x-pack/platform/plugins/shared/alerting/*"], + "@kbn/alerting-state-types": ["x-pack/platform/packages/private/kbn-alerting-state-types"], + "@kbn/alerting-state-types/*": ["x-pack/platform/packages/private/kbn-alerting-state-types/*"], + "@kbn/alerting-types": ["src/platform/packages/shared/kbn-alerting-types"], + "@kbn/alerting-types/*": ["src/platform/packages/shared/kbn-alerting-types/*"], + "@kbn/alerts-as-data-utils": ["src/platform/packages/shared/kbn-alerts-as-data-utils"], + "@kbn/alerts-as-data-utils/*": ["src/platform/packages/shared/kbn-alerts-as-data-utils/*"], + "@kbn/alerts-grouping": ["x-pack/solutions/observability/packages/kbn-alerts-grouping"], + "@kbn/alerts-grouping/*": ["x-pack/solutions/observability/packages/kbn-alerts-grouping/*"], "@kbn/alerts-restricted-fixtures-plugin": ["x-pack/test/alerting_api_integration/common/plugins/alerts_restricted"], "@kbn/alerts-restricted-fixtures-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/alerts_restricted/*"], - "@kbn/alerts-ui-shared": ["packages/kbn-alerts-ui-shared"], - "@kbn/alerts-ui-shared/*": ["packages/kbn-alerts-ui-shared/*"], + "@kbn/alerts-ui-shared": ["src/platform/packages/shared/kbn-alerts-ui-shared"], + "@kbn/alerts-ui-shared/*": ["src/platform/packages/shared/kbn-alerts-ui-shared/*"], "@kbn/ambient-common-types": ["packages/kbn-ambient-common-types"], "@kbn/ambient-common-types/*": ["packages/kbn-ambient-common-types/*"], "@kbn/ambient-ftr-types": ["packages/kbn-ambient-ftr-types"], @@ -126,10 +126,10 @@ "@kbn/capture-oas-snapshot-cli/*": ["packages/kbn-capture-oas-snapshot-cli/*"], "@kbn/cases-api-integration-test-plugin": ["x-pack/test/cases_api_integration/common/plugins/cases"], "@kbn/cases-api-integration-test-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/cases/*"], - "@kbn/cases-components": ["packages/kbn-cases-components"], - "@kbn/cases-components/*": ["packages/kbn-cases-components/*"], - "@kbn/cases-plugin": ["x-pack/plugins/cases"], - "@kbn/cases-plugin/*": ["x-pack/plugins/cases/*"], + "@kbn/cases-components": ["src/platform/packages/shared/kbn-cases-components"], + "@kbn/cases-components/*": ["src/platform/packages/shared/kbn-cases-components/*"], + "@kbn/cases-plugin": ["x-pack/platform/plugins/shared/cases"], + "@kbn/cases-plugin/*": ["x-pack/platform/plugins/shared/cases/*"], "@kbn/cbor": ["packages/kbn-cbor"], "@kbn/cbor/*": ["packages/kbn-cbor/*"], "@kbn/cell-actions": ["src/platform/packages/shared/kbn-cell-actions"], @@ -890,8 +890,8 @@ "@kbn/event-annotation-plugin/*": ["src/plugins/event_annotation/*"], "@kbn/event-log-fixture-plugin": ["x-pack/test/plugin_api_integration/plugins/event_log"], "@kbn/event-log-fixture-plugin/*": ["x-pack/test/plugin_api_integration/plugins/event_log/*"], - "@kbn/event-log-plugin": ["x-pack/plugins/event_log"], - "@kbn/event-log-plugin/*": ["x-pack/plugins/event_log/*"], + "@kbn/event-log-plugin": ["x-pack/platform/plugins/shared/event_log"], + "@kbn/event-log-plugin/*": ["x-pack/platform/plugins/shared/event_log/*"], "@kbn/expandable-flyout": ["x-pack/solutions/security/packages/expandable-flyout"], "@kbn/expandable-flyout/*": ["x-pack/solutions/security/packages/expandable-flyout/*"], "@kbn/expect": ["packages/kbn-expect"], @@ -1010,8 +1010,8 @@ "@kbn/grid-layout/*": ["packages/kbn-grid-layout/*"], "@kbn/grokdebugger-plugin": ["x-pack/platform/plugins/private/grokdebugger"], "@kbn/grokdebugger-plugin/*": ["x-pack/platform/plugins/private/grokdebugger/*"], - "@kbn/grouping": ["packages/kbn-grouping"], - "@kbn/grouping/*": ["packages/kbn-grouping/*"], + "@kbn/grouping": ["src/platform/packages/shared/kbn-grouping"], + "@kbn/grouping/*": ["src/platform/packages/shared/kbn-grouping/*"], "@kbn/guided-onboarding": ["packages/kbn-guided-onboarding"], "@kbn/guided-onboarding/*": ["packages/kbn-guided-onboarding/*"], "@kbn/guided-onboarding-example-plugin": ["examples/guided_onboarding_example"], @@ -1498,8 +1498,8 @@ "@kbn/response-ops-feature-flag-service/*": ["packages/response-ops/feature_flag_service/*"], "@kbn/response-ops-rule-form": ["packages/response-ops/rule_form"], "@kbn/response-ops-rule-form/*": ["packages/response-ops/rule_form/*"], - "@kbn/response-ops-rule-params": ["packages/response-ops/rule_params"], - "@kbn/response-ops-rule-params/*": ["packages/response-ops/rule_params/*"], + "@kbn/response-ops-rule-params": ["src/platform/packages/private/response-ops/rule_params"], + "@kbn/response-ops-rule-params/*": ["src/platform/packages/private/response-ops/rule_params/*"], "@kbn/response-stream-plugin": ["examples/response_stream"], "@kbn/response-stream-plugin/*": ["examples/response_stream/*"], "@kbn/rison": ["packages/kbn-rison"], @@ -1514,12 +1514,12 @@ "@kbn/router-utils/*": ["src/platform/packages/shared/kbn-router-utils/*"], "@kbn/routing-example-plugin": ["examples/routing_example"], "@kbn/routing-example-plugin/*": ["examples/routing_example/*"], - "@kbn/rrule": ["packages/kbn-rrule"], - "@kbn/rrule/*": ["packages/kbn-rrule/*"], + "@kbn/rrule": ["src/platform/packages/shared/kbn-rrule"], + "@kbn/rrule/*": ["src/platform/packages/shared/kbn-rrule/*"], "@kbn/rule-data-utils": ["src/platform/packages/shared/kbn-rule-data-utils"], "@kbn/rule-data-utils/*": ["src/platform/packages/shared/kbn-rule-data-utils/*"], - "@kbn/rule-registry-plugin": ["x-pack/plugins/rule_registry"], - "@kbn/rule-registry-plugin/*": ["x-pack/plugins/rule_registry/*"], + "@kbn/rule-registry-plugin": ["x-pack/platform/plugins/shared/rule_registry"], + "@kbn/rule-registry-plugin/*": ["x-pack/platform/plugins/shared/rule_registry/*"], "@kbn/runtime-fields-plugin": ["x-pack/platform/plugins/private/runtime_fields"], "@kbn/runtime-fields-plugin/*": ["x-pack/platform/plugins/private/runtime_fields/*"], "@kbn/safer-lodash-set": ["packages/kbn-safer-lodash-set"], @@ -1858,10 +1858,10 @@ "@kbn/sse-utils-client/*": ["src/platform/packages/shared/kbn-sse-utils-client/*"], "@kbn/sse-utils-server": ["src/platform/packages/shared/kbn-sse-utils-server"], "@kbn/sse-utils-server/*": ["src/platform/packages/shared/kbn-sse-utils-server/*"], - "@kbn/stack-alerts-plugin": ["x-pack/plugins/stack_alerts"], - "@kbn/stack-alerts-plugin/*": ["x-pack/plugins/stack_alerts/*"], - "@kbn/stack-connectors-plugin": ["x-pack/plugins/stack_connectors"], - "@kbn/stack-connectors-plugin/*": ["x-pack/plugins/stack_connectors/*"], + "@kbn/stack-alerts-plugin": ["x-pack/platform/plugins/shared/stack_alerts"], + "@kbn/stack-alerts-plugin/*": ["x-pack/platform/plugins/shared/stack_alerts/*"], + "@kbn/stack-connectors-plugin": ["x-pack/platform/plugins/shared/stack_connectors"], + "@kbn/stack-connectors-plugin/*": ["x-pack/platform/plugins/shared/stack_connectors/*"], "@kbn/stack-management-usage-test-plugin": ["x-pack/test/usage_collection/plugins/stack_management_usage_test"], "@kbn/stack-management-usage-test-plugin/*": ["x-pack/test/usage_collection/plugins/stack_management_usage_test/*"], "@kbn/state-containers-examples-plugin": ["examples/state_containers_examples"], @@ -1892,8 +1892,8 @@ "@kbn/task-manager-fixture-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture/*"], "@kbn/task-manager-performance-plugin": ["x-pack/test/plugin_api_perf/plugins/task_manager_performance"], "@kbn/task-manager-performance-plugin/*": ["x-pack/test/plugin_api_perf/plugins/task_manager_performance/*"], - "@kbn/task-manager-plugin": ["x-pack/plugins/task_manager"], - "@kbn/task-manager-plugin/*": ["x-pack/plugins/task_manager/*"], + "@kbn/task-manager-plugin": ["x-pack/platform/plugins/shared/task_manager"], + "@kbn/task-manager-plugin/*": ["x-pack/platform/plugins/shared/task_manager/*"], "@kbn/telemetry-collection-manager-plugin": ["src/plugins/telemetry_collection_manager"], "@kbn/telemetry-collection-manager-plugin/*": ["src/plugins/telemetry_collection_manager/*"], "@kbn/telemetry-collection-xpack-plugin": ["x-pack/plugins/telemetry_collection_xpack"], @@ -1950,10 +1950,10 @@ "@kbn/transpose-utils/*": ["packages/kbn-transpose-utils/*"], "@kbn/triggers-actions-ui-example-plugin": ["x-pack/examples/triggers_actions_ui_example"], "@kbn/triggers-actions-ui-example-plugin/*": ["x-pack/examples/triggers_actions_ui_example/*"], - "@kbn/triggers-actions-ui-plugin": ["x-pack/plugins/triggers_actions_ui"], - "@kbn/triggers-actions-ui-plugin/*": ["x-pack/plugins/triggers_actions_ui/*"], - "@kbn/triggers-actions-ui-types": ["packages/kbn-triggers-actions-ui-types"], - "@kbn/triggers-actions-ui-types/*": ["packages/kbn-triggers-actions-ui-types/*"], + "@kbn/triggers-actions-ui-plugin": ["x-pack/platform/plugins/shared/triggers_actions_ui"], + "@kbn/triggers-actions-ui-plugin/*": ["x-pack/platform/plugins/shared/triggers_actions_ui/*"], + "@kbn/triggers-actions-ui-types": ["src/platform/packages/shared/kbn-triggers-actions-ui-types"], + "@kbn/triggers-actions-ui-types/*": ["src/platform/packages/shared/kbn-triggers-actions-ui-types/*"], "@kbn/try-in-console": ["packages/kbn-try-in-console"], "@kbn/try-in-console/*": ["packages/kbn-try-in-console/*"], "@kbn/ts-projects": ["packages/kbn-ts-projects"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 1603e73e7edc1..13da5517b8d64 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -1,7 +1,7 @@ { "prefix": "xpack", "paths": { - "xpack.actions": "plugins/actions", + "xpack.actions": "platform/plugins/shared/actions", "xpack.aiops": [ "platform/packages/shared/ml/aiops_common", "platform/packages/private/ml/aiops_components", @@ -10,15 +10,15 @@ "platform/plugins/shared/aiops" ], "xpack.aiAssistant": "packages/kbn-ai-assistant", - "xpack.alerting": "plugins/alerting", - "xpack.eventLog": "plugins/event_log", - "xpack.stackAlerts": "plugins/stack_alerts", - "xpack.stackConnectors": "plugins/stack_connectors", + "xpack.alerting": "platform/plugins/shared/alerting", + "xpack.eventLog": "platform/plugins/shared/event_log", + "xpack.stackAlerts": "platform/plugins/shared/stack_alerts", + "xpack.stackConnectors": "platform/plugins/shared/stack_connectors", "xpack.apm": "plugins/observability_solution/apm", "xpack.apmDataAccess": "plugins/observability_solution/apm_data_access", "xpack.banners": "plugins/banners", "xpack.canvas": "platform/plugins/private/canvas", - "xpack.cases": "plugins/cases", + "xpack.cases": "platform/plugins/shared/cases", "xpack.cloud": "plugins/cloud", "xpack.cloudDefend": "solutions/security/plugins/cloud_defend", "xpack.cloudLinks": "plugins/cloud_integrations/cloud_links", @@ -160,11 +160,11 @@ "xpack.savedObjectsTagging": [ "plugins/saved_objects_tagging" ], - "xpack.taskManager": "legacy/plugins/task_manager", + "xpack.taskManager": "legacy/platform/plugins/shared/task_manager", "xpack.threatIntelligence": "solutions/security/plugins/threat_intelligence", "xpack.timelines": "solutions/security/plugins/timelines", "xpack.transform": "platform/plugins/private/transform", - "xpack.triggersActionsUI": "plugins/triggers_actions_ui", + "xpack.triggersActionsUI": "platform/plugins/shared/triggers_actions_ui", "xpack.upgradeAssistant": "plugins/upgrade_assistant", "xpack.uptime": [ "solutions/observability/plugins/uptime" diff --git a/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts b/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts index 3cf293b935b36..ec4df77be6cc8 100644 --- a/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts +++ b/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts @@ -18,7 +18,7 @@ export type CasesSupportedOperations = (typeof allOperations)[number]; * extend the mapping here x-pack/plugins/features/server/feature_privilege_iterator/feature_privilege_iterator.ts * * Also if you add a new operation (createCase, updateCase, etc) here you'll likely also need to make changes here: - * x-pack/plugins/cases/server/authorization/index.ts and here x-pack/plugins/cases/server/connectors/cases/utils.ts + * x-pack/platform/plugins/shared/cases/server/authorization/index.ts and here x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts */ const pushOperations = ['pushCase'] as const; diff --git a/x-pack/packages/kbn-alerting-state-types/README.md b/x-pack/platform/packages/private/kbn-alerting-state-types/README.md similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/README.md rename to x-pack/platform/packages/private/kbn-alerting-state-types/README.md diff --git a/x-pack/packages/kbn-alerting-state-types/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/index.ts diff --git a/x-pack/packages/kbn-alerting-comparators/jest.config.js b/x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js similarity index 73% rename from x-pack/packages/kbn-alerting-comparators/jest.config.js rename to x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js index 9f1da3b8875aa..7917fe867018c 100644 --- a/x-pack/packages/kbn-alerting-comparators/jest.config.js +++ b/x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../..', - roots: ['/x-pack/packages/kbn-alerting-comparators'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/packages/private/kbn-alerting-state-types'], }; diff --git a/x-pack/packages/kbn-alerting-state-types/kibana.jsonc b/x-pack/platform/packages/private/kbn-alerting-state-types/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/kibana.jsonc rename to x-pack/platform/packages/private/kbn-alerting-state-types/kibana.jsonc diff --git a/x-pack/packages/kbn-alerting-state-types/package.json b/x-pack/platform/packages/private/kbn-alerting-state-types/package.json similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/package.json rename to x-pack/platform/packages/private/kbn-alerting-state-types/package.json diff --git a/x-pack/packages/kbn-alerting-state-types/src/alert_instance.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/alert_instance.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/alert_instance.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/alert_instance.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/rule_task_instance.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/rule_task_instance.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/rule_task_instance.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/rule_task_instance.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/lib/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/lib/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/lib/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/lib/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.test.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.test.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.test.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.test.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/schema.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/schema.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/schema.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/schema.ts diff --git a/x-pack/packages/kbn-alerting-state-types/tsconfig.json b/x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json similarity index 81% rename from x-pack/packages/kbn-alerting-state-types/tsconfig.json rename to x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json index e1a705d2a1ed8..d72285565f7a0 100644 --- a/x-pack/packages/kbn-alerting-state-types/tsconfig.json +++ b/x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/kbn-alerting-comparators/README.md b/x-pack/platform/packages/shared/kbn-alerting-comparators/README.md similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/README.md rename to x-pack/platform/packages/shared/kbn-alerting-comparators/README.md diff --git a/x-pack/packages/kbn-alerting-comparators/index.ts b/x-pack/platform/packages/shared/kbn-alerting-comparators/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/index.ts rename to x-pack/platform/packages/shared/kbn-alerting-comparators/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/jest.config.js b/x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js similarity index 73% rename from x-pack/packages/kbn-alerting-state-types/jest.config.js rename to x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js index 50f7065f8b992..08a9ffc382317 100644 --- a/x-pack/packages/kbn-alerting-state-types/jest.config.js +++ b/x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../..', - roots: ['/x-pack/packages/kbn-alerting-state-types'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/packages/shared/kbn-alerting-comparators'], }; diff --git a/x-pack/packages/kbn-alerting-comparators/kibana.jsonc b/x-pack/platform/packages/shared/kbn-alerting-comparators/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/kibana.jsonc rename to x-pack/platform/packages/shared/kbn-alerting-comparators/kibana.jsonc diff --git a/x-pack/packages/kbn-alerting-comparators/package.json b/x-pack/platform/packages/shared/kbn-alerting-comparators/package.json similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/package.json rename to x-pack/platform/packages/shared/kbn-alerting-comparators/package.json diff --git a/x-pack/packages/kbn-alerting-comparators/src/comparators.ts b/x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/src/comparators.ts rename to x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts diff --git a/x-pack/packages/kbn-alerting-comparators/tsconfig.json b/x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json similarity index 80% rename from x-pack/packages/kbn-alerting-comparators/tsconfig.json rename to x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json index 196ffd23d93cd..37d1561f95b8d 100644 --- a/x-pack/packages/kbn-alerting-comparators/tsconfig.json +++ b/x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts b/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts index 13a92aa4160bc..840ddca1248f2 100644 --- a/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts +++ b/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts @@ -25,7 +25,7 @@ export const getDefaultArguments = ( export const DEFAULT_OPEN_AI_TEMPERATURE = 0.2; // this is a fallback for logging, connector will default to the connector model -// x-pack/plugins/stack_connectors/common/openai/constants.ts +// x-pack/platform/plugins/shared/stack_connectors/common/openai/constants.ts export const DEFAULT_OPEN_AI_MODEL = 'gpt-4o'; const DEFAULT_BEDROCK_TEMPERATURE = 0; const DEFAULT_BEDROCK_STOP_SEQUENCES = ['\n\nHuman:', '\nObservation:']; diff --git a/x-pack/platform/plugins/private/monitoring/common/constants.ts b/x-pack/platform/plugins/private/monitoring/common/constants.ts index 61dcf1a17df6b..232d2e08a94ed 100644 --- a/x-pack/platform/plugins/private/monitoring/common/constants.ts +++ b/x-pack/platform/plugins/private/monitoring/common/constants.ts @@ -588,12 +588,12 @@ export const LEGACY_RULES = [ /** * Matches the id for the built-in in email action type - * See x-pack/plugins/stack_connectors/server/connector_types/stack/email/index.ts + * See x-pack/platform/plugins/shared/stack_connectors/server/connector_types/stack/email/index.ts */ export const ALERT_ACTION_TYPE_EMAIL = '.email'; /** * Matches the id for the built-in in log action type - * See x-pack/plugins/stack_connectors/server/connector_types/stack/server_log/index.ts + * See x-pack/platform/plugins/shared/stack_connectors/server/connector_types/stack/server_log/index.ts */ export const ALERT_ACTION_TYPE_LOG = '.server-log'; diff --git a/x-pack/plugins/actions/README.md b/x-pack/platform/plugins/shared/actions/README.md similarity index 98% rename from x-pack/plugins/actions/README.md rename to x-pack/platform/plugins/shared/actions/README.md index 4e7f20e47cb7d..26e1cd2681424 100644 --- a/x-pack/plugins/actions/README.md +++ b/x-pack/platform/plugins/shared/actions/README.md @@ -91,7 +91,7 @@ The following table describes the properties of the `options` object. | name | A user-friendly name for the action type. These will be displayed in dropdowns when chosing action types. | string | | maxAttempts | The maximum number of times this action will attempt to run when scheduled. | number | | minimumLicenseRequired | The license required to use the action type. | string | -| supportedFeatureIds | List of IDs of the features that this action type is available in. Allowed values are `alerting`, `siem`, `uptime`, `cases`. See `x-pack/plugins/actions/common/connector_feature_config.ts` for the most up to date list. | string[] | +| supportedFeatureIds | List of IDs of the features that this action type is available in. Allowed values are `alerting`, `siem`, `uptime`, `cases`. See `x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts` for the most up to date list. | string[] | | validate.params | When developing an action type, it needs to accept parameters to know what to do with the action. (Example `to`, `from`, `subject`, `body` of an email). See the current built-in email action type for an example of the state-of-the-art validation.

Technically, the value of this property should have a property named `validate()` which is a function that takes a params object to validate and returns a sanitized version of that object to pass to the execution function. Validation errors should be thrown from the `validate()` function and will be available as an error message | schema / validation function | | validate.config | Similar to params, a config may be required when creating an action (for example `host` and `port` for an email server). | schema / validation function | | validate.secrets | Similar to params, a secrets object may be required when creating an action (for example `user` and `password` for an email server). | schema / validation function | @@ -187,7 +187,7 @@ When throwing an error in the `PreSave` hook, the Error's message will be used a ### Example The built-in email action type provides a good example of creating an action type with non-trivial configuration and params: -[x-pack/plugins/actions/server/builtin_action_types/email.ts](server/builtin_action_types/email.ts) +[x-pack/platform/plugins/shared/actions/server/builtin_action_types/email.ts](server/builtin_action_types/email.ts) ## RESTful API diff --git a/x-pack/plugins/actions/common/alert_history_schema.test.ts b/x-pack/platform/plugins/shared/actions/common/alert_history_schema.test.ts similarity index 100% rename from x-pack/plugins/actions/common/alert_history_schema.test.ts rename to x-pack/platform/plugins/shared/actions/common/alert_history_schema.test.ts diff --git a/x-pack/plugins/actions/common/alert_history_schema.ts b/x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts similarity index 100% rename from x-pack/plugins/actions/common/alert_history_schema.ts rename to x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts diff --git a/x-pack/plugins/actions/common/connector_feature_config.test.ts b/x-pack/platform/plugins/shared/actions/common/connector_feature_config.test.ts similarity index 100% rename from x-pack/plugins/actions/common/connector_feature_config.test.ts rename to x-pack/platform/plugins/shared/actions/common/connector_feature_config.test.ts diff --git a/x-pack/plugins/actions/common/connector_feature_config.ts b/x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts similarity index 100% rename from x-pack/plugins/actions/common/connector_feature_config.ts rename to x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts diff --git a/x-pack/plugins/actions/common/execution_log_types.ts b/x-pack/platform/plugins/shared/actions/common/execution_log_types.ts similarity index 100% rename from x-pack/plugins/actions/common/execution_log_types.ts rename to x-pack/platform/plugins/shared/actions/common/execution_log_types.ts diff --git a/x-pack/plugins/actions/common/index.ts b/x-pack/platform/plugins/shared/actions/common/index.ts similarity index 95% rename from x-pack/plugins/actions/common/index.ts rename to x-pack/platform/plugins/shared/actions/common/index.ts index 336ff003962a0..a28939f9e56aa 100644 --- a/x-pack/plugins/actions/common/index.ts +++ b/x-pack/platform/plugins/shared/actions/common/index.ts @@ -6,7 +6,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110895 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './types'; export * from './alert_history_schema'; diff --git a/x-pack/plugins/actions/common/mustache_template.test.ts b/x-pack/platform/plugins/shared/actions/common/mustache_template.test.ts similarity index 100% rename from x-pack/plugins/actions/common/mustache_template.test.ts rename to x-pack/platform/plugins/shared/actions/common/mustache_template.test.ts diff --git a/x-pack/plugins/actions/common/mustache_template.ts b/x-pack/platform/plugins/shared/actions/common/mustache_template.ts similarity index 100% rename from x-pack/plugins/actions/common/mustache_template.ts rename to x-pack/platform/plugins/shared/actions/common/mustache_template.ts diff --git a/x-pack/plugins/actions/common/rewrite_request_case.ts b/x-pack/platform/plugins/shared/actions/common/rewrite_request_case.ts similarity index 100% rename from x-pack/plugins/actions/common/rewrite_request_case.ts rename to x-pack/platform/plugins/shared/actions/common/rewrite_request_case.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/v1.ts diff --git a/x-pack/plugins/actions/common/types.ts b/x-pack/platform/plugins/shared/actions/common/types.ts similarity index 100% rename from x-pack/plugins/actions/common/types.ts rename to x-pack/platform/plugins/shared/actions/common/types.ts diff --git a/x-pack/plugins/actions/common/validate_email_addresses.test.ts b/x-pack/platform/plugins/shared/actions/common/validate_email_addresses.test.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_email_addresses.test.ts rename to x-pack/platform/plugins/shared/actions/common/validate_email_addresses.test.ts diff --git a/x-pack/plugins/actions/common/validate_email_addresses.ts b/x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_email_addresses.ts rename to x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts diff --git a/x-pack/plugins/actions/common/validate_empty_strings.test.ts b/x-pack/platform/plugins/shared/actions/common/validate_empty_strings.test.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_empty_strings.test.ts rename to x-pack/platform/plugins/shared/actions/common/validate_empty_strings.test.ts diff --git a/x-pack/plugins/actions/common/validate_empty_strings.ts b/x-pack/platform/plugins/shared/actions/common/validate_empty_strings.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_empty_strings.ts rename to x-pack/platform/plugins/shared/actions/common/validate_empty_strings.ts diff --git a/x-pack/plugins/actions/docs/openapi/README.md b/x-pack/platform/plugins/shared/actions/docs/openapi/README.md similarity index 65% rename from x-pack/plugins/actions/docs/openapi/README.md rename to x-pack/platform/plugins/shared/actions/docs/openapi/README.md index 052bcbc0db4c1..222c7bf5adcfe 100644 --- a/x-pack/plugins/actions/docs/openapi/README.md +++ b/x-pack/platform/plugins/shared/actions/docs/openapi/README.md @@ -2,4 +2,4 @@ This spec is experimental and may be incomplete or change later. -The files in this folder are referenced from the [OpenAPI overlay for connectors](../../../../../oas_docs/overlays/connectors.overlays.yaml). +The files in this folder are referenced from the [OpenAPI overlay for connectors](../../../../../../../oas_docs/overlays/connectors.overlays.yaml). diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/action_response_properties.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/action_response_properties.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/action_response_properties.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/action_response_properties.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/auth_type.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/auth_type.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/auth_type.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/auth_type.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/ca.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ca.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/ca.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ca.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/cert_type.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cert_type.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/cert_type.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cert_type.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/connector_types.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/connector_types.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/connector_types.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/connector_types.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/crt.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crt.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/crt.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crt.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/features.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/features.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/features.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/features.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/has_auth.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/has_auth.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/has_auth.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/has_auth.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_deprecated.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_deprecated.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_deprecated.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_deprecated.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_missing_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_missing_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_missing_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_missing_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_preconfigured.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_preconfigured.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_preconfigured.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_preconfigured.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_system_action.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_system_action.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_system_action.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_system_action.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/key.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/key.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/key.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/key.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/pfx.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pfx.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/pfx.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pfx.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/referenced_by_count.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/referenced_by_count.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/referenced_by_count.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/referenced_by_count.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_addevent.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_addevent.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_addevent.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_addevent.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_closealert.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closealert.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_closealert.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closealert.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_closeincident.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closeincident.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_closeincident.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closeincident.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_createalert.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_createalert.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_createalert.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_createalert.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_documents.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_documents.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_documents.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_documents.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_getchoices.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getchoices.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_getchoices.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getchoices.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_getfields.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getfields.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_getfields.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getfields.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_getincident.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getincident.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_getincident.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getincident.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_issue.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issue.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_issue.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issue.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_issues.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issues.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_issues.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issues.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_issuetypes.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issuetypes.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_issuetypes.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issuetypes.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_message_email.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_message_email.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_message_serverlog.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_serverlog.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_message_serverlog.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_serverlog.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_message_slack.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_slack.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_message_slack.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_slack.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_postmessage.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_postmessage.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_postmessage.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_postmessage.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_pushtoservice.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_pushtoservice.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_pushtoservice.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_pushtoservice.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_validchannelid.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_validchannelid.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_validchannelid.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_validchannelid.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/verification_mode.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/verification_mode.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/verification_mode.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/verification_mode.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml diff --git a/x-pack/plugins/stack_connectors/jest.config.js b/x-pack/platform/plugins/shared/actions/jest.config.js similarity index 70% rename from x-pack/plugins/stack_connectors/jest.config.js rename to x-pack/platform/plugins/shared/actions/jest.config.js index 6bfda7da5ca5e..ec78c89a1e06e 100644 --- a/x-pack/plugins/stack_connectors/jest.config.js +++ b/x-pack/platform/plugins/shared/actions/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/stack_connectors'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/stack_connectors', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/actions'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/actions', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/stack_connectors/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/shared/actions/{common,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/alerting/jest.integration.config.js b/x-pack/platform/plugins/shared/actions/jest.integration.config.js similarity index 77% rename from x-pack/plugins/alerting/jest.integration.config.js rename to x-pack/platform/plugins/shared/actions/jest.integration.config.js index a77ce935061fd..8593abe2b95e0 100644 --- a/x-pack/plugins/alerting/jest.integration.config.js +++ b/x-pack/platform/plugins/shared/actions/jest.integration.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/alerting'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/actions'], }; diff --git a/x-pack/plugins/actions/kibana.jsonc b/x-pack/platform/plugins/shared/actions/kibana.jsonc similarity index 100% rename from x-pack/plugins/actions/kibana.jsonc rename to x-pack/platform/plugins/shared/actions/kibana.jsonc diff --git a/x-pack/plugins/actions/public/index.ts b/x-pack/platform/plugins/shared/actions/public/index.ts similarity index 100% rename from x-pack/plugins/actions/public/index.ts rename to x-pack/platform/plugins/shared/actions/public/index.ts diff --git a/x-pack/plugins/actions/public/plugin.test.ts b/x-pack/platform/plugins/shared/actions/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/actions/public/plugin.test.ts rename to x-pack/platform/plugins/shared/actions/public/plugin.test.ts diff --git a/x-pack/plugins/actions/public/plugin.ts b/x-pack/platform/plugins/shared/actions/public/plugin.ts similarity index 100% rename from x-pack/plugins/actions/public/plugin.ts rename to x-pack/platform/plugins/shared/actions/public/plugin.ts diff --git a/x-pack/plugins/actions/server/action_type_registry.mock.ts b/x-pack/platform/plugins/shared/actions/server/action_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/action_type_registry.mock.ts rename to x-pack/platform/plugins/shared/actions/server/action_type_registry.mock.ts diff --git a/x-pack/plugins/actions/server/action_type_registry.test.ts b/x-pack/platform/plugins/shared/actions/server/action_type_registry.test.ts similarity index 100% rename from x-pack/plugins/actions/server/action_type_registry.test.ts rename to x-pack/platform/plugins/shared/actions/server/action_type_registry.test.ts diff --git a/x-pack/plugins/actions/server/action_type_registry.ts b/x-pack/platform/plugins/shared/actions/server/action_type_registry.ts similarity index 100% rename from x-pack/plugins/actions/server/action_type_registry.ts rename to x-pack/platform/plugins/shared/actions/server/action_type_registry.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client.mock.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client.mock.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.mock.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client.test.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.test.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client.test.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.test.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client_hooks.test.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client_hooks.test.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client_hooks.test.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client_hooks.test.ts diff --git a/x-pack/plugins/actions/server/actions_client/index.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/index.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/index.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/index.ts diff --git a/x-pack/plugins/actions/server/actions_config.mock.ts b/x-pack/platform/plugins/shared/actions/server/actions_config.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_config.mock.ts rename to x-pack/platform/plugins/shared/actions/server/actions_config.mock.ts diff --git a/x-pack/plugins/actions/server/actions_config.test.ts b/x-pack/platform/plugins/shared/actions/server/actions_config.test.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_config.test.ts rename to x-pack/platform/plugins/shared/actions/server/actions_config.test.ts diff --git a/x-pack/plugins/actions/server/actions_config.ts b/x-pack/platform/plugins/shared/actions/server/actions_config.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_config.ts rename to x-pack/platform/plugins/shared/actions/server/actions_config.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/connector_from_save_object.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/connector_from_save_object.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/lib/connector_from_save_object.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/connector_from_save_object.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/lib/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.test.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.test.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.test.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.test.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.ts similarity index 96% rename from x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.ts index 5946ed07bab74..5bf7b73ad8015 100644 --- a/x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.ts +++ b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.ts @@ -36,7 +36,7 @@ export const isConnectorDeprecated = ( * If the usesTableApi is not defined it means that the connector is created * before the introduction of the usesTableApi property. In that case, the connector is assumed * to be deprecated because all connectors prior 7.16 where using the Table API. - * Migrations x-pack/plugins/actions/server/saved_objects/actions_migrations.ts set + * Migrations x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.ts set * the usesTableApi property to true to all connectors prior 7.16. Pre configured connectors * cannot be migrated. This check ensures that pre configured connectors without the * usesTableApi property explicitly in the kibana.yml file are considered deprecated. diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/create.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/create.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/execute.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/execute.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/execute.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/execute.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/types/types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/types/types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/get.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/get.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/get.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/get.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/types/params.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/params.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/types/params.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/params.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.test.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.test.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.test.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.test.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/types/params.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/params.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/types/params.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/params.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.test.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.test.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.test.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.test.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/types/list_types_params.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/list_types_params.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/types/list_types_params.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/list_types_params.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/update.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/update.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts diff --git a/x-pack/plugins/actions/server/application/connector/schemas/connector_schema.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/schemas/connector_schema.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_schema.ts diff --git a/x-pack/plugins/actions/server/application/connector/schemas/connector_type_schema.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_type_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/schemas/connector_type_schema.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_type_schema.ts diff --git a/x-pack/plugins/actions/server/application/connector/schemas/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/schemas/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/schemas/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/schemas/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/types/connector.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/types/connector.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/types/connector.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/types/connector.ts diff --git a/x-pack/plugins/actions/server/application/connector/types/connector_type.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/types/connector_type.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/types/connector_type.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/types/connector_type.ts diff --git a/x-pack/plugins/actions/server/application/connector/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/types/index.ts diff --git a/x-pack/plugins/actions/server/authorization/actions_authorization.mock.ts b/x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/authorization/actions_authorization.mock.ts rename to x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.mock.ts diff --git a/x-pack/plugins/actions/server/authorization/actions_authorization.test.ts b/x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.test.ts similarity index 100% rename from x-pack/plugins/actions/server/authorization/actions_authorization.test.ts rename to x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.test.ts diff --git a/x-pack/plugins/actions/server/authorization/actions_authorization.ts b/x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.ts similarity index 100% rename from x-pack/plugins/actions/server/authorization/actions_authorization.ts rename to x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.ts diff --git a/x-pack/plugins/actions/server/config.test.ts b/x-pack/platform/plugins/shared/actions/server/config.test.ts similarity index 100% rename from x-pack/plugins/actions/server/config.test.ts rename to x-pack/platform/plugins/shared/actions/server/config.test.ts diff --git a/x-pack/plugins/actions/server/config.ts b/x-pack/platform/plugins/shared/actions/server/config.ts similarity index 100% rename from x-pack/plugins/actions/server/config.ts rename to x-pack/platform/plugins/shared/actions/server/config.ts diff --git a/x-pack/plugins/actions/server/constants/event_log.ts b/x-pack/platform/plugins/shared/actions/server/constants/event_log.ts similarity index 100% rename from x-pack/plugins/actions/server/constants/event_log.ts rename to x-pack/platform/plugins/shared/actions/server/constants/event_log.ts diff --git a/x-pack/plugins/actions/server/constants/plugin.ts b/x-pack/platform/plugins/shared/actions/server/constants/plugin.ts similarity index 90% rename from x-pack/plugins/actions/server/constants/plugin.ts rename to x-pack/platform/plugins/shared/actions/server/constants/plugin.ts index 0d9d147275f07..f385e2e435259 100644 --- a/x-pack/plugins/actions/server/constants/plugin.ts +++ b/x-pack/platform/plugins/shared/actions/server/constants/plugin.ts @@ -10,7 +10,7 @@ import { LicenseType } from '@kbn/licensing-plugin/server'; export const PLUGIN = { ID: 'actions', MINIMUM_LICENSE_REQUIRED: 'basic' as LicenseType, // TODO: supposed to be changed up on requirements - // eslint-disable-next-line @typescript-eslint/no-explicit-any + getI18nName: (i18n: any): string => i18n.translate('xpack.actions.appName', { defaultMessage: 'Actions', diff --git a/x-pack/plugins/actions/server/constants/saved_objects.ts b/x-pack/platform/plugins/shared/actions/server/constants/saved_objects.ts similarity index 100% rename from x-pack/plugins/actions/server/constants/saved_objects.ts rename to x-pack/platform/plugins/shared/actions/server/constants/saved_objects.ts diff --git a/x-pack/plugins/actions/server/create_execute_function.test.ts b/x-pack/platform/plugins/shared/actions/server/create_execute_function.test.ts similarity index 100% rename from x-pack/plugins/actions/server/create_execute_function.test.ts rename to x-pack/platform/plugins/shared/actions/server/create_execute_function.test.ts diff --git a/x-pack/plugins/actions/server/create_execute_function.ts b/x-pack/platform/plugins/shared/actions/server/create_execute_function.ts similarity index 100% rename from x-pack/plugins/actions/server/create_execute_function.ts rename to x-pack/platform/plugins/shared/actions/server/create_execute_function.ts diff --git a/x-pack/plugins/actions/server/create_system_actions.test.ts b/x-pack/platform/plugins/shared/actions/server/create_system_actions.test.ts similarity index 100% rename from x-pack/plugins/actions/server/create_system_actions.test.ts rename to x-pack/platform/plugins/shared/actions/server/create_system_actions.test.ts diff --git a/x-pack/plugins/actions/server/create_system_actions.ts b/x-pack/platform/plugins/shared/actions/server/create_system_actions.ts similarity index 100% rename from x-pack/plugins/actions/server/create_system_actions.ts rename to x-pack/platform/plugins/shared/actions/server/create_system_actions.ts diff --git a/x-pack/plugins/actions/server/create_unsecured_execute_function.test.ts b/x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.test.ts similarity index 100% rename from x-pack/plugins/actions/server/create_unsecured_execute_function.test.ts rename to x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.test.ts diff --git a/x-pack/plugins/actions/server/create_unsecured_execute_function.ts b/x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.ts similarity index 100% rename from x-pack/plugins/actions/server/create_unsecured_execute_function.ts rename to x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.ts diff --git a/x-pack/plugins/actions/server/data/connector/constants.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/constants.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/constants.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/constants.ts diff --git a/x-pack/plugins/actions/server/data/connector/find_connectors_so.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/find_connectors_so.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/find_connectors_so.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/find_connectors_so.ts diff --git a/x-pack/plugins/actions/server/data/connector/get_connector_so.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/get_connector_so.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/get_connector_so.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/get_connector_so.ts diff --git a/x-pack/plugins/actions/server/data/connector/index.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/index.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/index.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/index.ts diff --git a/x-pack/plugins/actions/server/data/connector/search_connectors_so.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/search_connectors_so.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/search_connectors_so.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/search_connectors_so.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/find_connectors_so_result.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/find_connectors_so_result.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/find_connectors_so_result.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/find_connectors_so_result.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/get_connector_so_result.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/get_connector_so_result.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/get_connector_so_result.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/get_connector_so_result.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/index.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/index.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/params.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/params.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/params.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/params.ts diff --git a/x-pack/plugins/actions/server/feature.ts b/x-pack/platform/plugins/shared/actions/server/feature.ts similarity index 100% rename from x-pack/plugins/actions/server/feature.ts rename to x-pack/platform/plugins/shared/actions/server/feature.ts diff --git a/x-pack/plugins/actions/server/index.ts b/x-pack/platform/plugins/shared/actions/server/index.ts similarity index 100% rename from x-pack/plugins/actions/server/index.ts rename to x-pack/platform/plugins/shared/actions/server/index.ts diff --git a/x-pack/plugins/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap b/x-pack/platform/plugins/shared/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap rename to x-pack/platform/plugins/shared/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap diff --git a/x-pack/plugins/actions/server/integration_tests/axios_utils_connection.test.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts similarity index 99% rename from x-pack/plugins/actions/server/integration_tests/axios_utils_connection.test.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts index 99559e8ce6b68..f7eb05ba1caaf 100644 --- a/x-pack/plugins/actions/server/integration_tests/axios_utils_connection.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts @@ -32,7 +32,7 @@ import { getFips } from 'crypto'; const logger = loggingSystemMock.create().get() as jest.Mocked; -const CERT_DIR = '../../../../../../packages/kbn-dev-utils/certs'; +const CERT_DIR = '../../../../../../../../packages/kbn-dev-utils/certs'; const MOCK_CERT_DIR = '../mock_certs'; const KIBANA_CRT_FILE = pathResolve(__filename, pathJoin(CERT_DIR, 'kibana.crt')); @@ -61,7 +61,7 @@ const AuthB64 = Buffer.from(Auth).toString('base64'); describe('axios connections', () => { let testServer: http.Server | https.Server | null; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + let savedAxiosDefaultsAdapter: any; beforeEach(() => { diff --git a/x-pack/plugins/actions/server/integration_tests/axios_utils_proxy.test.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts similarity index 99% rename from x-pack/plugins/actions/server/integration_tests/axios_utils_proxy.test.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts index 97a917d6b6893..6d5e98ee236ce 100644 --- a/x-pack/plugins/actions/server/integration_tests/axios_utils_proxy.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts @@ -31,7 +31,7 @@ import { const logger = loggingSystemMock.create().get() as jest.Mocked; -const CERT_DIR = '../../../../../../packages/kbn-dev-utils/certs'; +const CERT_DIR = '../../../../../../../../packages/kbn-dev-utils/certs'; const KIBANA_CRT_FILE = pathResolve(__filename, pathJoin(CERT_DIR, 'kibana.crt')); const KIBANA_KEY_FILE = pathResolve(__filename, pathJoin(CERT_DIR, 'kibana.key')); @@ -48,7 +48,7 @@ const ServerResponse = 'A unique response returned by the server!'; describe('axios connections', () => { let testServer: http.Server | https.Server | null; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + let savedAxiosDefaultsAdapter: any; beforeEach(() => { diff --git a/x-pack/plugins/actions/server/integration_tests/connector_types.test.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/connector_types.test.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/connector_types.test.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/connector_types.test.ts diff --git a/x-pack/plugins/actions/server/integration_tests/lib/index.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/lib/index.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/lib/index.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/lib/index.ts diff --git a/x-pack/plugins/actions/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.crt b/x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.crt similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.crt rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.crt diff --git a/x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.key b/x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.key similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.key rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.key diff --git a/x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized_ca.crt b/x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized_ca.crt similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized_ca.crt rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized_ca.crt diff --git a/x-pack/plugins/actions/server/integration_tests/mocks/connector_types.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/mocks/connector_types.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mocks/connector_types.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mocks/connector_types.ts diff --git a/x-pack/plugins/actions/server/lib/action_execution_source.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_execution_source.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts diff --git a/x-pack/plugins/actions/server/lib/action_executor.mock.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_executor.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_executor.mock.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_executor.mock.ts diff --git a/x-pack/plugins/actions/server/lib/action_executor.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_executor.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_executor.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_executor.test.ts diff --git a/x-pack/plugins/actions/server/lib/action_executor.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_executor.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_executor.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_executor.ts diff --git a/x-pack/plugins/actions/server/lib/action_task_params_utils.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_task_params_utils.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.test.ts diff --git a/x-pack/plugins/actions/server/lib/action_task_params_utils.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_task_params_utils.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.ts diff --git a/x-pack/plugins/actions/server/lib/audit_events.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/audit_events.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/audit_events.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/audit_events.test.ts diff --git a/x-pack/plugins/actions/server/lib/audit_events.ts b/x-pack/platform/plugins/shared/actions/server/lib/audit_events.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/audit_events.ts rename to x-pack/platform/plugins/shared/actions/server/lib/audit_events.ts diff --git a/x-pack/plugins/actions/server/lib/axios_utils.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/axios_utils.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/axios_utils.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/axios_utils.test.ts diff --git a/x-pack/plugins/actions/server/lib/axios_utils.ts b/x-pack/platform/plugins/shared/actions/server/lib/axios_utils.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/axios_utils.ts rename to x-pack/platform/plugins/shared/actions/server/lib/axios_utils.ts diff --git a/x-pack/plugins/actions/server/lib/bidirectional_connectors.ts b/x-pack/platform/plugins/shared/actions/server/lib/bidirectional_connectors.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/bidirectional_connectors.ts rename to x-pack/platform/plugins/shared/actions/server/lib/bidirectional_connectors.ts diff --git a/x-pack/plugins/actions/server/lib/connector_token_client.mock.ts b/x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/connector_token_client.mock.ts rename to x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.mock.ts diff --git a/x-pack/plugins/actions/server/lib/connector_token_client.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/connector_token_client.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.test.ts diff --git a/x-pack/plugins/actions/server/lib/connector_token_client.ts b/x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/connector_token_client.ts rename to x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.ts diff --git a/x-pack/plugins/actions/server/lib/create_action_event_log_record_object.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_action_event_log_record_object.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.test.ts diff --git a/x-pack/plugins/actions/server/lib/create_action_event_log_record_object.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_action_event_log_record_object.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.ts diff --git a/x-pack/plugins/actions/server/lib/create_jwt_assertion.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_jwt_assertion.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.test.ts diff --git a/x-pack/plugins/actions/server/lib/create_jwt_assertion.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_jwt_assertion.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.ts diff --git a/x-pack/plugins/actions/server/lib/custom_host_settings.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts similarity index 99% rename from x-pack/plugins/actions/server/lib/custom_host_settings.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts index f9173f5e007d0..4b0b0d5b5d6bb 100644 --- a/x-pack/plugins/actions/server/lib/custom_host_settings.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts @@ -21,7 +21,7 @@ import { DEFAULT_MICROSOFT_EXCHANGE_URL, } from '../../common'; -const CA_DIR = '../../../../../../packages/kbn-dev-utils/certs'; +const CA_DIR = '../../../../../../../../packages/kbn-dev-utils/certs'; const CA_FILE1 = pathResolve(__filename, pathJoin(CA_DIR, 'ca.crt')); const CA_CONTENTS1 = fsReadFileSync(CA_FILE1, 'utf8'); const CA_FILE2 = pathResolve(__filename, pathJoin(CA_DIR, 'kibana.crt')); diff --git a/x-pack/plugins/actions/server/lib/custom_host_settings.ts b/x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/custom_host_settings.ts rename to x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.ts diff --git a/x-pack/plugins/actions/server/lib/ensure_sufficient_license.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.test.ts similarity index 96% rename from x-pack/plugins/actions/server/lib/ensure_sufficient_license.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.test.ts index 5cd2fec223ffc..88c5bad62ee8f 100644 --- a/x-pack/plugins/actions/server/lib/ensure_sufficient_license.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.test.ts @@ -65,7 +65,7 @@ describe('ensureSufficientLicense()', () => { ensureSufficientLicense({ ...sampleActionType, // we're faking an invalid value, this requires stripping the typing - // eslint-disable-next-line @typescript-eslint/no-explicit-any + minimumLicenseRequired: 'foo' as any, }) ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); diff --git a/x-pack/plugins/actions/server/lib/ensure_sufficient_license.ts b/x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/ensure_sufficient_license.ts rename to x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.ts diff --git a/x-pack/plugins/actions/server/lib/errors/action_execution_error.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/action_execution_error.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/action_execution_error.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/action_execution_error.ts diff --git a/x-pack/plugins/actions/server/lib/errors/action_type_disabled.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/action_type_disabled.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/action_type_disabled.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/action_type_disabled.ts diff --git a/x-pack/plugins/actions/server/lib/errors/index.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/index.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/index.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/index.ts diff --git a/x-pack/plugins/actions/server/lib/errors/preconfigured_action_disabled_modification.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/preconfigured_action_disabled_modification.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/preconfigured_action_disabled_modification.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/preconfigured_action_disabled_modification.ts diff --git a/x-pack/plugins/actions/server/lib/errors/types.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/types.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/types.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/types.ts diff --git a/x-pack/plugins/actions/server/lib/event_based_telemetry.ts b/x-pack/platform/plugins/shared/actions/server/lib/event_based_telemetry.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/event_based_telemetry.ts rename to x-pack/platform/plugins/shared/actions/server/lib/event_based_telemetry.ts diff --git a/x-pack/plugins/actions/server/lib/gen_ai_token_tracking.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/gen_ai_token_tracking.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.test.ts diff --git a/x-pack/plugins/actions/server/lib/gen_ai_token_tracking.ts b/x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/gen_ai_token_tracking.ts rename to x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.ts diff --git a/x-pack/plugins/actions/server/lib/get_action_type_feature_usage_name.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_action_type_feature_usage_name.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_action_type_feature_usage_name.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_action_type_feature_usage_name.ts diff --git a/x-pack/plugins/actions/server/lib/get_basic_auth_header.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_basic_auth_header.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_basic_auth_header.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_basic_auth_header.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.ts diff --git a/x-pack/plugins/actions/server/lib/get_custom_agents.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_custom_agents.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_custom_agents.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_custom_agents.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.ts diff --git a/x-pack/plugins/actions/server/lib/get_execution_log_aggregation.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_execution_log_aggregation.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_execution_log_aggregation.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_execution_log_aggregation.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.ts diff --git a/x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.ts diff --git a/x-pack/plugins/actions/server/lib/get_node_ssl_options.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_node_ssl_options.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_node_ssl_options.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_node_ssl_options.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.ts diff --git a/x-pack/plugins/actions/server/lib/get_system_action_kibana_privileges.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_system_action_kibana_privileges.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_system_action_kibana_privileges.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_system_action_kibana_privileges.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_converse.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_converse.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_converse.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_converse.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.ts diff --git a/x-pack/plugins/actions/server/lib/has_reached_queued_action_limit.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_action_limit.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/has_reached_queued_action_limit.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_action_limit.test.ts diff --git a/x-pack/plugins/actions/server/lib/has_reached_queued_actions_limit.ts b/x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_actions_limit.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/has_reached_queued_actions_limit.ts rename to x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_actions_limit.ts diff --git a/x-pack/plugins/actions/server/lib/index.ts b/x-pack/platform/plugins/shared/actions/server/lib/index.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/index.ts rename to x-pack/platform/plugins/shared/actions/server/lib/index.ts diff --git a/x-pack/plugins/actions/server/lib/is_preconfigured.ts b/x-pack/platform/plugins/shared/actions/server/lib/is_preconfigured.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/is_preconfigured.ts rename to x-pack/platform/plugins/shared/actions/server/lib/is_preconfigured.ts diff --git a/x-pack/plugins/actions/server/lib/is_system_action.ts b/x-pack/platform/plugins/shared/actions/server/lib/is_system_action.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/is_system_action.ts rename to x-pack/platform/plugins/shared/actions/server/lib/is_system_action.ts diff --git a/x-pack/plugins/actions/server/lib/license_state.mock.ts b/x-pack/platform/plugins/shared/actions/server/lib/license_state.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/license_state.mock.ts rename to x-pack/platform/plugins/shared/actions/server/lib/license_state.mock.ts diff --git a/x-pack/plugins/actions/server/lib/license_state.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/license_state.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts diff --git a/x-pack/plugins/actions/server/lib/license_state.ts b/x-pack/platform/plugins/shared/actions/server/lib/license_state.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/license_state.ts rename to x-pack/platform/plugins/shared/actions/server/lib/license_state.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_lambdas.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/mustache_lambdas.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.test.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_lambdas.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/mustache_lambdas.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_renderer.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/mustache_renderer.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.test.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_renderer.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.ts similarity index 98% rename from x-pack/plugins/actions/server/lib/mustache_renderer.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.ts index 06f067493468b..2489391a0985d 100644 --- a/x-pack/plugins/actions/server/lib/mustache_renderer.ts +++ b/x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.ts @@ -113,7 +113,7 @@ function addToStringDeep(object: unknown): void { // walk arrays, but don't add a toString() as mustache already does something if (Array.isArray(object)) { // instead, add an asJSON() - // eslint-disable-next-line @typescript-eslint/no-explicit-any + (object as any).asJSON = () => JSON.stringify(object); object.forEach((element) => addToStringDeep(element)); return; diff --git a/x-pack/plugins/actions/server/lib/number_formatter.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/number_formatter.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/number_formatter.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/number_formatter.test.ts diff --git a/x-pack/plugins/actions/server/lib/number_formatter.ts b/x-pack/platform/plugins/shared/actions/server/lib/number_formatter.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/number_formatter.ts rename to x-pack/platform/plugins/shared/actions/server/lib/number_formatter.ts diff --git a/x-pack/plugins/actions/server/lib/parse_date.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/parse_date.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/parse_date.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/parse_date.test.ts diff --git a/x-pack/plugins/actions/server/lib/parse_date.ts b/x-pack/platform/plugins/shared/actions/server/lib/parse_date.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/parse_date.ts rename to x-pack/platform/plugins/shared/actions/server/lib/parse_date.ts diff --git a/x-pack/plugins/actions/server/lib/related_saved_objects.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/related_saved_objects.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.test.ts diff --git a/x-pack/plugins/actions/server/lib/related_saved_objects.ts b/x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/related_saved_objects.ts rename to x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_jwt_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_jwt_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_jwt_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_jwt_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.ts diff --git a/x-pack/plugins/actions/server/lib/retry_if_conflicts.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/retry_if_conflicts.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.test.ts diff --git a/x-pack/plugins/actions/server/lib/retry_if_conflicts.ts b/x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/retry_if_conflicts.ts rename to x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.ts diff --git a/x-pack/plugins/actions/server/lib/space_id_to_namespace.ts b/x-pack/platform/plugins/shared/actions/server/lib/space_id_to_namespace.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/space_id_to_namespace.ts rename to x-pack/platform/plugins/shared/actions/server/lib/space_id_to_namespace.ts diff --git a/x-pack/plugins/actions/server/lib/task_runner_factory.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/task_runner_factory.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.test.ts diff --git a/x-pack/plugins/actions/server/lib/task_runner_factory.ts b/x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/task_runner_factory.ts rename to x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.ts diff --git a/x-pack/plugins/actions/server/lib/track_legacy_route_usage.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/track_legacy_route_usage.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.test.ts diff --git a/x-pack/plugins/actions/server/lib/track_legacy_route_usage.ts b/x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/track_legacy_route_usage.ts rename to x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.ts diff --git a/x-pack/plugins/actions/server/lib/try_catch.ts b/x-pack/platform/plugins/shared/actions/server/lib/try_catch.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/try_catch.ts rename to x-pack/platform/plugins/shared/actions/server/lib/try_catch.ts diff --git a/x-pack/plugins/actions/server/lib/validate_with_schema.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/validate_with_schema.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.test.ts diff --git a/x-pack/plugins/actions/server/lib/validate_with_schema.ts b/x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/validate_with_schema.ts rename to x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.ts diff --git a/x-pack/plugins/actions/server/lib/verify_api_access.ts b/x-pack/platform/plugins/shared/actions/server/lib/verify_api_access.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/verify_api_access.ts rename to x-pack/platform/plugins/shared/actions/server/lib/verify_api_access.ts diff --git a/x-pack/plugins/actions/server/manual_tests/forward_proxy.js b/x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js similarity index 96% rename from x-pack/plugins/actions/server/manual_tests/forward_proxy.js rename to x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js index 5b97d9b9b0d3e..a2d4a0f96bcff 100644 --- a/x-pack/plugins/actions/server/manual_tests/forward_proxy.js +++ b/x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js @@ -14,7 +14,7 @@ work as expected. # start 4 proxies: -node x-pack/plugins/actions/server/manual_tests/forward_proxy.js http-8080-open http-8081-auth https-8443-open https-8444-auth +node x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js http-8080-open http-8081-auth https-8443-open https-8444-auth # issue some requests through the proxies @@ -43,7 +43,7 @@ const https = require('https'); const proxy = require('proxy'); const PROGRAM = path.basename(__filename).replace(/.js$/, ''); -const CertDir = path.resolve(__dirname, '../../../../../packages/kbn-dev-utils/certs'); +const CertDir = path.resolve(__dirname, '../../../../../../../packages/kbn-dev-utils/certs'); const Auth = 'elastic:changeme'; const AuthB64 = Buffer.from(Auth).toString('base64'); diff --git a/x-pack/plugins/actions/server/mocks.ts b/x-pack/platform/plugins/shared/actions/server/mocks.ts similarity index 100% rename from x-pack/plugins/actions/server/mocks.ts rename to x-pack/platform/plugins/shared/actions/server/mocks.ts diff --git a/x-pack/plugins/actions/server/monitoring/in_memory_metrics.mock.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/in_memory_metrics.mock.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.mock.ts diff --git a/x-pack/plugins/actions/server/monitoring/in_memory_metrics.test.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.test.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/in_memory_metrics.test.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.test.ts diff --git a/x-pack/plugins/actions/server/monitoring/in_memory_metrics.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/in_memory_metrics.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.ts diff --git a/x-pack/plugins/actions/server/monitoring/index.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/index.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/index.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/index.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_cluster_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_cluster_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.test.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_cluster_collector.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_cluster_collector.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_node_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_node_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.test.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_node_collector.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_node_collector.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.ts diff --git a/x-pack/plugins/actions/server/monitoring/types.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/types.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/types.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/types.ts diff --git a/x-pack/plugins/actions/server/plugin.test.ts b/x-pack/platform/plugins/shared/actions/server/plugin.test.ts similarity index 96% rename from x-pack/plugins/actions/server/plugin.test.ts rename to x-pack/platform/plugins/shared/actions/server/plugin.test.ts index f5de52810b162..2b127b68ba9a6 100644 --- a/x-pack/plugins/actions/server/plugin.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/plugin.test.ts @@ -298,7 +298,7 @@ describe('Actions Plugin', () => { beforeEach(async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + setup = await plugin.setup(coreSetup as any, pluginsSetup); }); @@ -307,7 +307,7 @@ describe('Actions Plugin', () => { setup.registerType({ ...sampleActionType, // we're faking an invalid value, this requires stripping the typing - // eslint-disable-next-line @typescript-eslint/no-explicit-any + minimumLicenseRequired: 'foo' as any, }) ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); @@ -358,7 +358,7 @@ describe('Actions Plugin', () => { it('should correctly return whether connector is preconfigured', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); expect(pluginSetup.isPreconfiguredConnector('preconfiguredServerLog')).toEqual(true); @@ -386,7 +386,7 @@ describe('Actions Plugin', () => { it('should set connector type enabled', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); const coreStart = coreMock.createStart(); const pluginsStart = { @@ -429,7 +429,7 @@ describe('Actions Plugin', () => { it('should set connector type enabled and check isActionTypeEnabled with plugin setup method', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ @@ -466,7 +466,7 @@ describe('Actions Plugin', () => { it('should set all the connector types enabled when null or ["*"] passed', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); const coreStart = coreMock.createStart(); const pluginsStart = { @@ -509,7 +509,7 @@ describe('Actions Plugin', () => { it('should set all the connector types disabled when [] passed', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); const coreStart = coreMock.createStart(); const pluginsStart = { @@ -552,7 +552,7 @@ describe('Actions Plugin', () => { it('should throw if the enabledActionTypes is already set by the config', async () => { setup({ ...getConfig(), enabledActionTypes: ['.email'] }); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); expect(() => pluginSetup.setEnabledConnectorTypes(['.index'])).toThrow( @@ -702,7 +702,7 @@ describe('Actions Plugin', () => { it('should handle preconfigured actions', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ id: '.server-log', @@ -728,7 +728,6 @@ describe('Actions Plugin', () => { it('should handle preconfiguredAlertHistoryEsIndex = true', async () => { setup(getConfig({ preconfiguredAlertHistoryEsIndex: true })); - // eslint-disable-next-line @typescript-eslint/no-explicit-any const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ id: '.index', @@ -765,7 +764,7 @@ describe('Actions Plugin', () => { }) ); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + await plugin.setup(coreSetup as any, pluginsSetup); const pluginStart = await plugin.start(coreStart, pluginsStart); @@ -780,7 +779,7 @@ describe('Actions Plugin', () => { it('should set system actions correctly', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); const platinumLicense = licensingMock.createLicense({ @@ -848,7 +847,7 @@ describe('Actions Plugin', () => { ); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ @@ -890,7 +889,7 @@ describe('Actions Plugin', () => { it('passes through the notifyUsage option when set to true', async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType(actionType); const pluginStart = plugin.start(coreStart, pluginsStart); @@ -918,7 +917,7 @@ describe('Actions Plugin', () => { it('passes through the notifyUsage option when set to true', async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType(actionType); const pluginStart = plugin.start(coreStart, pluginsStart); @@ -933,7 +932,7 @@ describe('Actions Plugin', () => { describe('getActionsHealth()', () => { it('should return hasPermanentEncryptionKey false if canEncrypt of encryptedSavedObjects is false', async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); expect(pluginSetup.getActionsHealth()).toEqual({ hasPermanentEncryptionKey: false }); }); @@ -952,7 +951,7 @@ describe('Actions Plugin', () => { describe('isSystemActionConnector()', () => { it('should return true if the connector is a system connector', async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ @@ -975,7 +974,7 @@ describe('Actions Plugin', () => { it('should return false if the connector is not a system connector', async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ diff --git a/x-pack/plugins/actions/server/plugin.ts b/x-pack/platform/plugins/shared/actions/server/plugin.ts similarity index 100% rename from x-pack/plugins/actions/server/plugin.ts rename to x-pack/platform/plugins/shared/actions/server/plugin.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json diff --git a/x-pack/plugins/actions/server/routes/_mock_handler_arguments.ts b/x-pack/platform/plugins/shared/actions/server/routes/_mock_handler_arguments.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/_mock_handler_arguments.ts rename to x-pack/platform/plugins/shared/actions/server/routes/_mock_handler_arguments.ts diff --git a/x-pack/plugins/actions/server/routes/connector/common_transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/common_transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/create.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/create.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/create.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/create.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/delete/delete.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/delete/delete.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/delete/delete.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/delete/delete.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.ts diff --git a/x-pack/plugins/actions/server/routes/connector/delete/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/delete/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/delete/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/delete/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/execute.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/execute.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get/get.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get/get.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get/get.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get/get.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/get_all.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/get_all.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/get_all.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/get_all.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all_system/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all_system/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/list_types.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/list_types.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/list_types.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/list_types.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types_system/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types_system/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/update.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/update.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/update.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/update.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.ts diff --git a/x-pack/plugins/actions/server/routes/constants.ts b/x-pack/platform/plugins/shared/actions/server/routes/constants.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/constants.ts rename to x-pack/platform/plugins/shared/actions/server/routes/constants.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_kpi.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_kpi.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.test.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_kpi.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_kpi.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_logs.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_logs.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.test.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_logs.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_logs.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.ts diff --git a/x-pack/plugins/actions/server/routes/get_oauth_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_oauth_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.test.ts diff --git a/x-pack/plugins/actions/server/routes/get_oauth_access_token.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_oauth_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.ts diff --git a/x-pack/plugins/actions/server/routes/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/index.ts diff --git a/x-pack/plugins/actions/server/routes/rewrite_namespaces.ts b/x-pack/platform/plugins/shared/actions/server/routes/rewrite_namespaces.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/rewrite_namespaces.ts rename to x-pack/platform/plugins/shared/actions/server/routes/rewrite_namespaces.ts diff --git a/x-pack/plugins/actions/server/routes/verify_access_and_context.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/verify_access_and_context.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.test.ts diff --git a/x-pack/plugins/actions/server/routes/verify_access_and_context.ts b/x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/verify_access_and_context.ts rename to x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.ts diff --git a/x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.ts diff --git a/x-pack/plugins/actions/server/saved_objects/actions_migrations.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/actions_migrations.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/actions_migrations.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/actions_migrations.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.ts diff --git a/x-pack/plugins/actions/server/saved_objects/get_import_warnings.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/get_import_warnings.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/get_import_warnings.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/get_import_warnings.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.ts diff --git a/x-pack/plugins/actions/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/mappings.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/mappings.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/mappings.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/mappings.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/connector_model_versions.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_model_versions.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/connector_model_versions.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_model_versions.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/connector_token_model_versions.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_token_model_versions.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/connector_token_model_versions.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_token_model_versions.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/v1.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/v1.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/v1.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/v1.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/v1.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/v1.ts diff --git a/x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/README.md b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md similarity index 99% rename from x-pack/plugins/actions/server/sub_action_framework/README.md rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md index 28ff2e0e358fc..bdc656f5425e4 100644 --- a/x-pack/plugins/actions/server/sub_action_framework/README.md +++ b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md @@ -355,7 +355,7 @@ plugins.actions.registerSubActionConnectorType({ }); ``` -You can see a full example in [x-pack/test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts](../../../../test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts) +You can see a full example in [x-pack/test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts](../../../../../../test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts) ### Example: Register sub action connector with custom validators diff --git a/x-pack/plugins/actions/server/sub_action_framework/case.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/case.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/case.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/case.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/executor.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/executor.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/executor.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/executor.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/helpers/index.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/index.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/helpers/index.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/index.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/helpers/validators.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/helpers/validators.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/helpers/validators.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/helpers/validators.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/index.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/index.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/index.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/index.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/mocks.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/mocks.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/mocks.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/mocks.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/register.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/register.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/register.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/register.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/translations.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/translations.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/translations.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/translations.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/types.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/types.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/validators.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/validators.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/validators.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.ts similarity index 95% rename from x-pack/plugins/actions/server/sub_action_framework/validators.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.ts index e9cbbb3ae8f80..53ec3a8888610 100644 --- a/x-pack/plugins/actions/server/sub_action_framework/validators.ts +++ b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.ts @@ -37,7 +37,7 @@ export const buildValidators = < /** * With this validation we enforce the subActionParams to be an object. * Each sub action has different parameters and they are validated inside the executor - * (x-pack/plugins/actions/server/sub_action_framework/executor.ts). For that reason, + * (x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.ts). For that reason, * we allow all unknowns at this level of validation as they are not known at this * time of execution. */ diff --git a/x-pack/plugins/actions/server/types.ts b/x-pack/platform/plugins/shared/actions/server/types.ts similarity index 99% rename from x-pack/plugins/actions/server/types.ts rename to x-pack/platform/plugins/shared/actions/server/types.ts index 4f063828016d1..e95e46d6d8cfb 100644 --- a/x-pack/plugins/actions/server/types.ts +++ b/x-pack/platform/plugins/shared/actions/server/types.ts @@ -228,7 +228,7 @@ export interface RawAction extends Record { export interface ActionTaskParams extends SavedObjectAttributes { actionId: string; // Saved Objects won't allow us to enforce unknown rather than any - // eslint-disable-next-line @typescript-eslint/no-explicit-any + params: Record; apiKey?: string; executionId?: string; diff --git a/x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts b/x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts rename to x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts diff --git a/x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts b/x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts similarity index 100% rename from x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts rename to x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts diff --git a/x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts b/x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts similarity index 100% rename from x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts rename to x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts diff --git a/x-pack/plugins/actions/server/usage/actions_telemetry.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_telemetry.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.test.ts diff --git a/x-pack/plugins/actions/server/usage/actions_telemetry.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_telemetry.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.ts diff --git a/x-pack/plugins/actions/server/usage/actions_usage_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_usage_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.test.ts diff --git a/x-pack/plugins/actions/server/usage/actions_usage_collector.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_usage_collector.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.test.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_collector.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_collector.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_reporting_task.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_reporting_task.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.test.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_reporting_task.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_reporting_task.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.ts diff --git a/x-pack/plugins/actions/server/usage/index.ts b/x-pack/platform/plugins/shared/actions/server/usage/index.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/index.ts rename to x-pack/platform/plugins/shared/actions/server/usage/index.ts diff --git a/x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.test.ts diff --git a/x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.ts diff --git a/x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.test.ts diff --git a/x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.ts diff --git a/x-pack/plugins/actions/server/usage/task.ts b/x-pack/platform/plugins/shared/actions/server/usage/task.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/task.ts rename to x-pack/platform/plugins/shared/actions/server/usage/task.ts diff --git a/x-pack/plugins/actions/server/usage/task_state.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/task_state.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/task_state.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/task_state.test.ts diff --git a/x-pack/plugins/actions/server/usage/task_state.ts b/x-pack/platform/plugins/shared/actions/server/usage/task_state.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/task_state.ts rename to x-pack/platform/plugins/shared/actions/server/usage/task_state.ts diff --git a/x-pack/plugins/actions/server/usage/types.ts b/x-pack/platform/plugins/shared/actions/server/usage/types.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/types.ts rename to x-pack/platform/plugins/shared/actions/server/usage/types.ts diff --git a/x-pack/plugins/actions/tsconfig.json b/x-pack/platform/plugins/shared/actions/tsconfig.json similarity index 96% rename from x-pack/plugins/actions/tsconfig.json rename to x-pack/platform/plugins/shared/actions/tsconfig.json index 709826d33e897..9927b50990274 100644 --- a/x-pack/plugins/actions/tsconfig.json +++ b/x-pack/platform/plugins/shared/actions/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/alerting/README.md b/x-pack/platform/plugins/shared/alerting/README.md similarity index 99% rename from x-pack/plugins/alerting/README.md rename to x-pack/platform/plugins/shared/alerting/README.md index 5139b05d4f4fa..fde3c5fdec3b3 100644 --- a/x-pack/plugins/alerting/README.md +++ b/x-pack/platform/plugins/shared/alerting/README.md @@ -254,7 +254,7 @@ Currently most rule types are free features. But some rule types are subscriptio You should create asciidoc for each new rule type you develop: -- For stack rules, add an entry to the rule type index - [`docs/user/alerting/stack-rules.asciidoc`](../../../docs/user/alerting/stack-rules.asciidoc) which points to a new document for the rule type that should live in the directory [`docs/user/alerting/stack-rules`](../../../docs/user/alerting/stack-rules). +- For stack rules, add an entry to the rule type index - [`docs/user/alerting/stack-rules.asciidoc`](../../../../../docs/user/alerting/stack-rules.asciidoc) which points to a new document for the rule type that should live in the directory [`docs/user/alerting/stack-rules`](../../../docs/user/alerting/stack-rules). - Solution specific rule documentation should live within the docs for the solution. @@ -271,14 +271,14 @@ This example rule type receives server and threshold as parameters. It will read ```typescript import { schema } from '@kbn/config-schema'; -import { RuleType, RuleExecutorOptions } from '../../../alerting/server'; +import { RuleType, RuleExecutorOptions } from '../../../../../alerting/server'; // These type names will eventually be updated to reflect the new terminology import { RuleTypeParams, RuleTypeState, AlertInstanceState, AlertInstanceContext, -} from '../../../alerting/common'; +} from '../../../../../alerting/common'; ... interface MyRuleTypeParams extends RuleTypeParams { server: string; diff --git a/x-pack/plugins/alerting/common/action_ref_prefix.ts b/x-pack/platform/plugins/shared/alerting/common/action_ref_prefix.ts similarity index 100% rename from x-pack/plugins/alerting/common/action_ref_prefix.ts rename to x-pack/platform/plugins/shared/alerting/common/action_ref_prefix.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.test.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.test.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.test.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/index.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/index.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/index.ts diff --git a/x-pack/plugins/alerting/common/alert_summary.ts b/x-pack/platform/plugins/shared/alerting/common/alert_summary.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_summary.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_summary.ts diff --git a/x-pack/plugins/alerting/common/builtin_action_groups.ts b/x-pack/platform/plugins/shared/alerting/common/builtin_action_groups.ts similarity index 100% rename from x-pack/plugins/alerting/common/builtin_action_groups.ts rename to x-pack/platform/plugins/shared/alerting/common/builtin_action_groups.ts diff --git a/x-pack/plugins/alerting/common/bulk_edit.ts b/x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts similarity index 100% rename from x-pack/plugins/alerting/common/bulk_edit.ts rename to x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts diff --git a/x-pack/plugins/alerting/common/constants/ad_hoc_run_status.ts b/x-pack/platform/plugins/shared/alerting/common/constants/ad_hoc_run_status.ts similarity index 100% rename from x-pack/plugins/alerting/common/constants/ad_hoc_run_status.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/ad_hoc_run_status.ts diff --git a/x-pack/plugins/alerting/common/constants/backfill.ts b/x-pack/platform/plugins/shared/alerting/common/constants/backfill.ts similarity index 100% rename from x-pack/plugins/alerting/common/constants/backfill.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/backfill.ts diff --git a/x-pack/plugins/alerting/common/constants/index.ts b/x-pack/platform/plugins/shared/alerting/common/constants/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/constants/index.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/index.ts diff --git a/x-pack/plugins/alerting/common/constants/plugin.ts b/x-pack/platform/plugins/shared/alerting/common/constants/plugin.ts similarity index 90% rename from x-pack/plugins/alerting/common/constants/plugin.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/plugin.ts index e8136f257d465..d9d578de08ac0 100644 --- a/x-pack/plugins/alerting/common/constants/plugin.ts +++ b/x-pack/platform/plugins/shared/alerting/common/constants/plugin.ts @@ -11,7 +11,7 @@ export const PLUGIN = { ID: 'alerting', MINIMUM_LICENSE_REQUIRED: 'basic' as LicenseType, // TODO: supposed to be changed up on requirements // all plugins seem to use getI18nName with any - // eslint-disable-next-line @typescript-eslint/no-explicit-any + getI18nName: (i18n: any): string => i18n.translate('xpack.alerting.appName', { defaultMessage: 'Alerting', diff --git a/x-pack/plugins/alerting/common/disabled_action_groups.test.ts b/x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/disabled_action_groups.test.ts rename to x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.test.ts diff --git a/x-pack/plugins/alerting/common/disabled_action_groups.ts b/x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.ts similarity index 100% rename from x-pack/plugins/alerting/common/disabled_action_groups.ts rename to x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.ts diff --git a/x-pack/plugins/alerting/common/execution_log_types.ts b/x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts similarity index 100% rename from x-pack/plugins/alerting/common/execution_log_types.ts rename to x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts diff --git a/x-pack/plugins/alerting/common/index.ts b/x-pack/platform/plugins/shared/alerting/common/index.ts similarity index 98% rename from x-pack/plugins/alerting/common/index.ts rename to x-pack/platform/plugins/shared/alerting/common/index.ts index 94c307b67fd02..0740858784a2c 100644 --- a/x-pack/plugins/alerting/common/index.ts +++ b/x-pack/platform/plugins/shared/alerting/common/index.ts @@ -6,7 +6,7 @@ */ // TODO: https://github.com/elastic/kibana/issues/110895 -/* eslint-disable @kbn/eslint/no_export_all */ + export * from './rule'; export * from './rules_settings'; export * from './rule_type'; diff --git a/x-pack/plugins/alerting/common/iso_weekdays.ts b/x-pack/platform/plugins/shared/alerting/common/iso_weekdays.ts similarity index 100% rename from x-pack/plugins/alerting/common/iso_weekdays.ts rename to x-pack/platform/plugins/shared/alerting/common/iso_weekdays.ts diff --git a/x-pack/plugins/alerting/common/lib/index.ts b/x-pack/platform/plugins/shared/alerting/common/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/common/lib/index.ts diff --git a/x-pack/plugins/alerting/common/lib/validate_backfill_schedule.test.ts b/x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/lib/validate_backfill_schedule.test.ts rename to x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.test.ts diff --git a/x-pack/plugins/alerting/common/lib/validate_backfill_schedule.ts b/x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/common/lib/validate_backfill_schedule.ts rename to x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.ts diff --git a/x-pack/plugins/alerting/common/maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/common/maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts diff --git a/x-pack/plugins/alerting/common/maintenance_window_scoped_query_error_message.ts b/x-pack/platform/plugins/shared/alerting/common/maintenance_window_scoped_query_error_message.ts similarity index 100% rename from x-pack/plugins/alerting/common/maintenance_window_scoped_query_error_message.ts rename to x-pack/platform/plugins/shared/alerting/common/maintenance_window_scoped_query_error_message.ts diff --git a/x-pack/plugins/alerting/common/parse_duration.test.ts b/x-pack/platform/plugins/shared/alerting/common/parse_duration.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/parse_duration.test.ts rename to x-pack/platform/plugins/shared/alerting/common/parse_duration.test.ts diff --git a/x-pack/plugins/alerting/common/parse_duration.ts b/x-pack/platform/plugins/shared/alerting/common/parse_duration.ts similarity index 100% rename from x-pack/plugins/alerting/common/parse_duration.ts rename to x-pack/platform/plugins/shared/alerting/common/parse_duration.ts diff --git a/x-pack/plugins/alerting/common/routes/alerts_filter_query/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/alerts_filter_query/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/index.ts diff --git a/x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/index.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/index.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/index.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/request/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/request/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/request/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/request/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/request/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/request/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/request/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/request/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/rrule_type.ts b/x-pack/platform/plugins/shared/alerting/common/rrule_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rrule_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rrule_type.ts diff --git a/x-pack/plugins/alerting/common/rule.ts b/x-pack/platform/plugins/shared/alerting/common/rule.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule.ts rename to x-pack/platform/plugins/shared/alerting/common/rule.ts diff --git a/x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.test.ts b/x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.test.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.test.ts diff --git a/x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts b/x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts diff --git a/x-pack/plugins/alerting/common/rule_notify_when_type.test.ts b/x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_notify_when_type.test.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.test.ts diff --git a/x-pack/plugins/alerting/common/rule_notify_when_type.ts b/x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_notify_when_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.ts diff --git a/x-pack/plugins/alerting/common/rule_snooze_type.ts b/x-pack/platform/plugins/shared/alerting/common/rule_snooze_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_snooze_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_snooze_type.ts diff --git a/x-pack/plugins/alerting/common/rule_tags_aggregation.test.ts b/x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_tags_aggregation.test.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.test.ts diff --git a/x-pack/plugins/alerting/common/rule_tags_aggregation.ts b/x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_tags_aggregation.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts diff --git a/x-pack/plugins/alerting/common/rule_type.ts b/x-pack/platform/plugins/shared/alerting/common/rule_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_type.ts diff --git a/x-pack/plugins/alerting/common/rules_settings.ts b/x-pack/platform/plugins/shared/alerting/common/rules_settings.ts similarity index 100% rename from x-pack/plugins/alerting/common/rules_settings.ts rename to x-pack/platform/plugins/shared/alerting/common/rules_settings.ts diff --git a/x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts b/x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts similarity index 100% rename from x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts rename to x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts diff --git a/x-pack/plugins/alerting/docs/openapi/README.md b/x-pack/platform/plugins/shared/alerting/docs/openapi/README.md similarity index 74% rename from x-pack/plugins/alerting/docs/openapi/README.md rename to x-pack/platform/plugins/shared/alerting/docs/openapi/README.md index c514b4e14249d..e6d23d5d4cec9 100644 --- a/x-pack/plugins/alerting/docs/openapi/README.md +++ b/x-pack/platform/plugins/shared/alerting/docs/openapi/README.md @@ -1,6 +1,6 @@ # OpenAPI (Experimental) -The current self-contained spec file is [as JSON](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.json) or [as YAML](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at https://openapi.tools/. +The current self-contained spec file is [as JSON](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.json) or [as YAML](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at https://openapi.tools/. This spec is experimental and may be incomplete or change later. A guide about the openApi specification can be found at [https://swagger.io/docs/specification/about/](https://swagger.io/docs/specification/about/). diff --git a/x-pack/plugins/alerting/docs/openapi/bundled.json b/x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.json similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/bundled.json rename to x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.json diff --git a/x-pack/plugins/alerting/docs/openapi/bundled.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/bundled.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/examples/get_health_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_health_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/examples/get_health_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_health_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_types_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_types_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_types_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_types_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/headers/kbn_xsrf.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/headers/kbn_xsrf.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/headers/kbn_xsrf.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/headers/kbn_xsrf.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/parameters/alert_id.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/alert_id.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/parameters/alert_id.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/alert_id.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/parameters/rule_id.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/rule_id.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/parameters/rule_id.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/rule_id.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/parameters/space_id.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/space_id.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/parameters/space_id.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/space_id.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/400_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/400_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/400_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/400_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/401_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/401_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/401_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/401_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/404_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/404_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/404_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/404_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/actions.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/actions.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/actions.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/actions.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/aggfield.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggfield.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/aggfield.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggfield.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/aggtype.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggtype.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/aggtype.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggtype.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/alert_delay.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_delay.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/alert_delay.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_delay.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/alert_response_properties.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_response_properties.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/alert_response_properties.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_response_properties.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/consumer.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/consumer.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/consumer.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/consumer.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_rule_request.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/create_rule_request.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/create_rule_request.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/create_rule_request.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/enabled_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/enabled_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/enabled_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/enabled_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/filter.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/filter.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/filter.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/filter.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/groupby.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/groupby.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/groupby.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/groupby.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/name_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/name_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/name_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/name_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when_action.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when_action.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when_action.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when_action.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/rule_response_properties.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/rule_response_properties.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/rule_response_properties.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/rule_response_properties.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/schedule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/schedule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/schedule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/schedule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/size.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/size.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/size.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/size.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/tags.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/tags.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/tags.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/tags.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/termfield.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termfield.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/termfield.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termfield.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/termsize.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termsize.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/termsize.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termsize.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/threshold.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/threshold.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/threshold.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/threshold.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/throttle.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/throttle.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/throttle_action.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle_action.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/throttle_action.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle_action.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/timefield.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timefield.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/timefield.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timefield.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowsize.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowsize.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowsize.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowsize.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowunit.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowunit.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowunit.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowunit.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/update_rule_request.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/update_rule_request.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/update_rule_request.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/update_rule_request.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/entrypoint.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/entrypoint.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/entrypoint.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/entrypoint.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@_health.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@_health.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@_health.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@_health.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule_types.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule_types.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule_types.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule_types.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml diff --git a/x-pack/platform/plugins/shared/alerting/jest.config.js b/x-pack/platform/plugins/shared/alerting/jest.config.js new file mode 100644 index 0000000000000..810afcdcbac07 --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/alerting'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/alerting', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/alerting/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/event_log/jest.integration.config.js b/x-pack/platform/plugins/shared/alerting/jest.integration.config.js similarity index 77% rename from x-pack/plugins/event_log/jest.integration.config.js rename to x-pack/platform/plugins/shared/alerting/jest.integration.config.js index c05b67e314755..6452b6ab9c693 100644 --- a/x-pack/plugins/event_log/jest.integration.config.js +++ b/x-pack/platform/plugins/shared/alerting/jest.integration.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/event_log'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/alerting'], }; diff --git a/x-pack/plugins/alerting/kibana.jsonc b/x-pack/platform/plugins/shared/alerting/kibana.jsonc similarity index 100% rename from x-pack/plugins/alerting/kibana.jsonc rename to x-pack/platform/plugins/shared/alerting/kibana.jsonc diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/index.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/index.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/index.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/index.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/types.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/types.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/types.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/types.ts diff --git a/x-pack/plugins/alerting/public/application/maintenance_windows.tsx b/x-pack/platform/plugins/shared/alerting/public/application/maintenance_windows.tsx similarity index 100% rename from x-pack/plugins/alerting/public/application/maintenance_windows.tsx rename to x-pack/platform/plugins/shared/alerting/public/application/maintenance_windows.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_breadcrumbs.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_breadcrumbs.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_breadcrumbs.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_breadcrumbs.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_get_rule_types.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_get_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_get_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_get_rule_types.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_license.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_license.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_license.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_license.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_license.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_license.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_license.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_license.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_navigation.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_navigation.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_navigation.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_navigation.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/index.ts b/x-pack/platform/plugins/shared/alerting/public/index.ts similarity index 100% rename from x-pack/plugins/alerting/public/index.ts rename to x-pack/platform/plugins/shared/alerting/public/index.ts diff --git a/x-pack/plugins/alerting/public/lib/common_transformations.test.ts b/x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/lib/common_transformations.test.ts rename to x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.test.ts diff --git a/x-pack/plugins/alerting/public/lib/common_transformations.ts b/x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.ts similarity index 100% rename from x-pack/plugins/alerting/public/lib/common_transformations.ts rename to x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.ts diff --git a/x-pack/plugins/alerting/public/lib/test_utils.tsx b/x-pack/platform/plugins/shared/alerting/public/lib/test_utils.tsx similarity index 100% rename from x-pack/plugins/alerting/public/lib/test_utils.tsx rename to x-pack/platform/plugins/shared/alerting/public/lib/test_utils.tsx diff --git a/x-pack/plugins/alerting/public/mocks.ts b/x-pack/platform/plugins/shared/alerting/public/mocks.ts similarity index 100% rename from x-pack/plugins/alerting/public/mocks.ts rename to x-pack/platform/plugins/shared/alerting/public/mocks.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/schema.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/schema.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/schema.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/schema.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/constants.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/constants.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/constants.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/constants.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/index.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/index.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/index.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/index.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/translations.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/translations.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/translations.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/translations.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/types.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/types.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/types.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/types.ts diff --git a/x-pack/plugins/alerting/public/plugin.test.ts b/x-pack/platform/plugins/shared/alerting/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/plugin.test.ts rename to x-pack/platform/plugins/shared/alerting/public/plugin.test.ts diff --git a/x-pack/plugins/alerting/public/plugin.ts b/x-pack/platform/plugins/shared/alerting/public/plugin.ts similarity index 100% rename from x-pack/plugins/alerting/public/plugin.ts rename to x-pack/platform/plugins/shared/alerting/public/plugin.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/create.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/create.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/create.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/create.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/find.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/find.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/find.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/find.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/get.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/get.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/get.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/get.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/update.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/update.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/update.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/update.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.ts diff --git a/x-pack/plugins/alerting/public/services/rule_api.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/rule_api.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/rule_api.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/rule_api.test.ts diff --git a/x-pack/plugins/alerting/public/services/rule_api.ts b/x-pack/platform/plugins/shared/alerting/public/services/rule_api.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/rule_api.ts rename to x-pack/platform/plugins/shared/alerting/public/services/rule_api.ts diff --git a/x-pack/plugins/alerting/public/utils/kibana_react.ts b/x-pack/platform/plugins/shared/alerting/public/utils/kibana_react.ts similarity index 100% rename from x-pack/plugins/alerting/public/utils/kibana_react.ts rename to x-pack/platform/plugins/shared/alerting/public/utils/kibana_react.ts diff --git a/x-pack/plugins/alerting/server/alert/alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alert/alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/alert.test.ts diff --git a/x-pack/plugins/alerting/server/alert/alert.ts b/x-pack/platform/plugins/shared/alerting/server/alert/alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/alert.ts diff --git a/x-pack/plugins/alerting/server/alert/create_alert_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/create_alert_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.test.ts diff --git a/x-pack/plugins/alerting/server/alert/create_alert_factory.ts b/x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/create_alert_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.ts diff --git a/x-pack/plugins/alerting/server/alert/index.ts b/x-pack/platform/plugins/shared/alerting/server/alert/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/index.ts diff --git a/x-pack/plugins/alerting/server/alerting_authorization_client_factory.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerting_authorization_client_factory.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.mock.ts diff --git a/x-pack/plugins/alerting/server/alerting_authorization_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerting_authorization_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/alerting_authorization_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerting_authorization_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client_error.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_error.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client_error.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_error.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client_fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_fixtures.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client_fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_fixtures.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.ts similarity index 99% rename from x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.ts index 55a3a885f1c71..aa7aab6feda3c 100644 --- a/x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.ts +++ b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.ts @@ -160,7 +160,7 @@ async function refreshFieldsInDocs( // @ts-expect-error @elastic/elasticsearch _source is not in the type! const freshDoc = freshResponse._source; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const conflictDoc = conflictRequest.doc as Record; if (!freshDoc || !conflictDoc) continue; diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_rule.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/test_fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/test_fixtures.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/test_fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/test_fixtures.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/types.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/types.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/types.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/alerts_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/alerts_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/alerts_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/alerts_service/alerts_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.test.ts index ec78cb5ea9cd7..cba4b5e573b33 100644 --- a/x-pack/plugins/alerting/server/alerts_service/alerts_service.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.test.ts @@ -2055,13 +2055,11 @@ describe('Alerts Service', () => { // leverage the outcome of the first retry expect( logger.info.mock.calls.filter( - // eslint-disable-next-line @typescript-eslint/no-explicit-any (calls: any[]) => calls[0] === `Retrying resource initialization for context "test"` ).length ).toEqual(1); expect( logger.info.mock.calls.filter( - // eslint-disable-next-line @typescript-eslint/no-explicit-any (calls: any[]) => calls[0] === `Resource installation for "test" succeeded after retry` ).length @@ -2134,7 +2132,6 @@ describe('Alerts Service', () => { // Should only log the retry once because the second and third retries should be throttled expect( logger.info.mock.calls.filter( - // eslint-disable-next-line @typescript-eslint/no-explicit-any (calls: any[]) => calls[0] === `Retrying resource initialization for context "test"` ).length ).toEqual(1); diff --git a/x-pack/plugins/alerting/server/alerts_service/alerts_service.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/alerts_service.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts similarity index 92% rename from x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts index 2501c57776d80..3a59b07556f9b 100644 --- a/x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts @@ -66,16 +66,16 @@ describe('retryTransientErrors', () => { const errors = [ new EsErrors.NoLivingConnectionsError('no living connection', { warnings: [], - // eslint-disable-next-line @typescript-eslint/no-explicit-any + meta: {} as any, }), new EsErrors.ConnectionError('no connection'), new EsErrors.TimeoutError('timeout'), - // eslint-disable-next-line @typescript-eslint/no-explicit-any + new EsErrors.ResponseError({ statusCode: 503, meta: {} as any, warnings: [] }), - // eslint-disable-next-line @typescript-eslint/no-explicit-any + new EsErrors.ResponseError({ statusCode: 408, meta: {} as any, warnings: [] }), - // eslint-disable-next-line @typescript-eslint/no-explicit-any + new EsErrors.ResponseError({ statusCode: 410, meta: {} as any, warnings: [] }), ]; diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/test_utils.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/test_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/test_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/test_utils.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/delete/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/get/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/get/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/result/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/result/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/result/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/result/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/result/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/result/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/result/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/result/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/constants.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/constants.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/types/maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/types/maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_schema.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/types/r_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/types/r_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/types/r_rule_request.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule_request.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/types/r_rule_request.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule_request.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/validate_end_date.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_end_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/validate_end_date.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_end_date.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/validate_recurrence_by.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_recurrence_by.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/validate_recurrence_by.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_recurrence_by.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/validate_start_date.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_start_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/validate_start_date.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_start_date.ts diff --git a/x-pack/plugins/alerting/server/application/rule/constants.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/constants.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts index 61d38c2c37c19..f0421bc53e639 100644 --- a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts @@ -1897,7 +1897,6 @@ describe('bulkEdit()', () => { }; }; - // eslint-disable-next-line @typescript-eslint/no-explicit-any const getMockAttribute = (override: Record = {}) => { return { saved_objects: [ @@ -2000,7 +1999,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2045,7 +2043,6 @@ describe('bulkEdit()', () => { ...existingDecryptedRule.attributes, muteAll: true, snoozeSchedule: [], - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2092,7 +2089,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2136,7 +2132,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2181,7 +2176,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2232,7 +2226,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -3254,7 +3247,6 @@ describe('bulkEdit()', () => { uuid: '100', }, ], - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, references: [ { @@ -3267,7 +3259,6 @@ describe('bulkEdit()', () => { type: 'action', id: '2', }, - // eslint-disable-next-line @typescript-eslint/no-explicit-any ] as any, }, ], @@ -3365,7 +3356,6 @@ describe('bulkEdit()', () => { uuid: '111', }, ], - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, references: [ { @@ -3373,7 +3363,6 @@ describe('bulkEdit()', () => { type: 'action', id: '1', }, - // eslint-disable-next-line @typescript-eslint/no-explicit-any ] as any, }, ], diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/types/create_rule_data.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/create_rule_data.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/types/create_rule_data.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/create_rule_data.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/types/find_rules_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/find_rules_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/types/find_rules_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/find_rules_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/types/get_rule_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/get_rule_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/types/get_rule_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/get_rule_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/mute_instance.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/mute_instance.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/mute_instance.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/mute_instance.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/snooze_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/snooze_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/snooze_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/snooze_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/types/update_rule_data.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/update_rule_data.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/types/update_rule_data.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/update_rule_data.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/action_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/action_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/action_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/action_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/date_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/date_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/date_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/date_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/flapping_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/flapping_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/flapping_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/flapping_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/notify_when_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/notify_when_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/notify_when_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/notify_when_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts diff --git a/x-pack/plugins/alerting/server/application/rule/types/action.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/types/action.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/types/action.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/types/action.ts diff --git a/x-pack/plugins/alerting/server/application/rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/types/rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/types/rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/validation/validate_duration.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/validation/validate_duration.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/validation/validate_duration.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/validation/validate_duration.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization.mock.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.mock.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization.test.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization.test.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.test.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.test.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.test.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.test.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.ts diff --git a/x-pack/plugins/alerting/server/authorization/index.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/index.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/index.ts diff --git a/x-pack/plugins/alerting/server/authorization/types.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/types.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/types.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/backfill_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/backfill_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.mock.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/backfill_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/backfill_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.test.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/backfill_client.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/backfill_client.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.test.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.test.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/create_backfill_error.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/create_backfill_error.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/create_backfill_error.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/create_backfill_error.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/index.ts diff --git a/x-pack/plugins/alerting/server/config.test.ts b/x-pack/platform/plugins/shared/alerting/server/config.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/config.test.ts rename to x-pack/platform/plugins/shared/alerting/server/config.test.ts diff --git a/x-pack/plugins/alerting/server/config.ts b/x-pack/platform/plugins/shared/alerting/server/config.ts similarity index 100% rename from x-pack/plugins/alerting/server/config.ts rename to x-pack/platform/plugins/shared/alerting/server/config.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.test.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.test.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.test.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/types.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/types.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.test.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.ts diff --git a/x-pack/plugins/alerting/server/constants/translations.ts b/x-pack/platform/plugins/shared/alerting/server/constants/translations.ts similarity index 100% rename from x-pack/plugins/alerting/server/constants/translations.ts rename to x-pack/platform/plugins/shared/alerting/server/constants/translations.ts diff --git a/x-pack/plugins/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts b/x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts rename to x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts diff --git a/x-pack/plugins/alerting/server/data/ad_hoc_run/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/ad_hoc_run/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts diff --git a/x-pack/plugins/alerting/server/data/alerts_filter_query/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/alerts_filter_query/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/constants.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/constants.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/index.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/test_helpers.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/test_helpers.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/test_helpers.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/test_helpers.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts diff --git a/x-pack/plugins/alerting/server/data/r_rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/r_rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/r_rule/types/r_rule_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/r_rule_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/r_rule/types/r_rule_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/r_rule_attributes.ts diff --git a/x-pack/plugins/alerting/server/data/rule/constants.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/constants.ts diff --git a/x-pack/plugins/alerting/server/data/rule/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/index.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/bulk_create_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_create_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/bulk_create_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_create_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/bulk_delete_rules_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_delete_rules_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/bulk_delete_rules_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_delete_rules_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/bulk_disable_rules_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_disable_rules_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/bulk_disable_rules_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_disable_rules_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/create_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/create_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/create_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/create_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/delete_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/delete_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/delete_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/delete_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/find_rules_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/find_rules_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/find_rules_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/find_rules_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/get_decrypted_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_decrypted_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/get_decrypted_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_decrypted_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/get_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/get_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/resolve_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/resolve_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/resolve_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/resolve_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/update_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/update_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/update_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/update_rule_so.ts diff --git a/x-pack/plugins/alerting/server/health/get_health.test.ts b/x-pack/platform/plugins/shared/alerting/server/health/get_health.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/get_health.test.ts rename to x-pack/platform/plugins/shared/alerting/server/health/get_health.test.ts diff --git a/x-pack/plugins/alerting/server/health/get_health.ts b/x-pack/platform/plugins/shared/alerting/server/health/get_health.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/get_health.ts rename to x-pack/platform/plugins/shared/alerting/server/health/get_health.ts diff --git a/x-pack/plugins/alerting/server/health/index.ts b/x-pack/platform/plugins/shared/alerting/server/health/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/index.ts rename to x-pack/platform/plugins/shared/alerting/server/health/index.ts diff --git a/x-pack/plugins/alerting/server/health/task.ts b/x-pack/platform/plugins/shared/alerting/server/health/task.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/task.ts rename to x-pack/platform/plugins/shared/alerting/server/health/task.ts diff --git a/x-pack/plugins/alerting/server/health/task_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/health/task_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/task_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/health/task_state.test.ts diff --git a/x-pack/plugins/alerting/server/health/task_state.ts b/x-pack/platform/plugins/shared/alerting/server/health/task_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/task_state.ts rename to x-pack/platform/plugins/shared/alerting/server/health/task_state.ts diff --git a/x-pack/plugins/alerting/server/index.ts b/x-pack/platform/plugins/shared/alerting/server/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/index.ts rename to x-pack/platform/plugins/shared/alerting/server/index.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap b/x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap diff --git a/x-pack/plugins/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap b/x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap diff --git a/x-pack/plugins/alerting/server/integration_tests/alert_as_data_fields.test.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/alert_as_data_fields.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/alert_as_data_fields.test.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/alert_as_data_fields.test.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/index.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.test.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.test.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.ts diff --git a/x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.test.ts diff --git a/x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.ts diff --git a/x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts diff --git a/x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.ts diff --git a/x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.test.ts diff --git a/x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.ts diff --git a/x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.test.ts diff --git a/x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.ts diff --git a/x-pack/plugins/alerting/server/lib/determine_alerts_to_return.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/determine_alerts_to_return.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.test.ts diff --git a/x-pack/plugins/alerting/server/lib/determine_alerts_to_return.ts b/x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/determine_alerts_to_return.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.ts diff --git a/x-pack/plugins/alerting/server/lib/error_with_reason.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/error_with_reason.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.test.ts diff --git a/x-pack/plugins/alerting/server/lib/error_with_reason.ts b/x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/error_with_reason.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.ts diff --git a/x-pack/plugins/alerting/server/lib/error_with_type.ts b/x-pack/platform/plugins/shared/alerting/server/lib/error_with_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/error_with_type.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/error_with_type.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/es_error_parser.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/es_error_parser.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.test.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/es_error_parser.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/es_error_parser.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/index.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/index.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/index.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/rule_muted.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_muted.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/rule_muted.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_muted.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/rule_type_disabled.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_type_disabled.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/rule_type_disabled.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_type_disabled.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/types.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/types.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/types.ts diff --git a/x-pack/plugins/alerting/server/lib/flapping_utils.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/flapping_utils.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.test.ts diff --git a/x-pack/plugins/alerting/server/lib/flapping_utils.ts b/x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/flapping_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.ts diff --git a/x-pack/plugins/alerting/server/lib/format_execution_log_errors.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/format_execution_log_errors.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.test.ts diff --git a/x-pack/plugins/alerting/server/lib/format_execution_log_errors.ts b/x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/format_execution_log_errors.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.ts diff --git a/x-pack/plugins/alerting/server/lib/get_actions_config_map.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_actions_config_map.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_actions_config_map.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_actions_config_map.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.ts diff --git a/x-pack/plugins/alerting/server/lib/get_alerts_for_notification.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_alerts_for_notification.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_alerts_for_notification.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_alerts_for_notification.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.ts diff --git a/x-pack/plugins/alerting/server/lib/get_cadence.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_cadence.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_cadence.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_cadence.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_query_config.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_query_config.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_query_config.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_query_config.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_request_timeout.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_request_timeout.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_request_timeout.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_request_timeout.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.ts diff --git a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_task_timeout.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_task_timeout.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_task_timeout.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_task_timeout.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_type_feature_usage_name.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_type_feature_usage_name.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_type_feature_usage_name.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_type_feature_usage_name.ts diff --git a/x-pack/plugins/alerting/server/lib/get_security_health.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_security_health.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_security_health.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_security_health.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.ts diff --git a/x-pack/plugins/alerting/server/lib/get_time_range.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_time_range.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_time_range.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_time_range.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.ts diff --git a/x-pack/plugins/alerting/server/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/index.ts diff --git a/x-pack/plugins/alerting/server/lib/is_alerting_error.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_alerting_error.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.test.ts diff --git a/x-pack/plugins/alerting/server/lib/is_alerting_error.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_alerting_error.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.ts diff --git a/x-pack/plugins/alerting/server/lib/is_rule_snoozed.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_rule_snoozed.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.test.ts diff --git a/x-pack/plugins/alerting/server/lib/is_rule_snoozed.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_rule_snoozed.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.ts diff --git a/x-pack/plugins/alerting/server/lib/iso_or_relative_date.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/iso_or_relative_date.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.test.ts diff --git a/x-pack/plugins/alerting/server/lib/iso_or_relative_date.ts b/x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/iso_or_relative_date.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.ts diff --git a/x-pack/plugins/alerting/server/lib/last_run_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/last_run_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.test.ts diff --git a/x-pack/plugins/alerting/server/lib/last_run_status.ts b/x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/last_run_status.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.ts diff --git a/x-pack/plugins/alerting/server/lib/license_api_access.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_api_access.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_api_access.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_api_access.ts diff --git a/x-pack/plugins/alerting/server/lib/license_state.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_state.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_state.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_state.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/license_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts diff --git a/x-pack/plugins/alerting/server/lib/license_state.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_state.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_state.ts diff --git a/x-pack/plugins/alerting/server/lib/monitoring.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/monitoring.test.ts similarity index 98% rename from x-pack/plugins/alerting/server/lib/monitoring.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/monitoring.test.ts index 5d417c2735681..8fc4e9f231139 100644 --- a/x-pack/plugins/alerting/server/lib/monitoring.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/lib/monitoring.test.ts @@ -161,7 +161,7 @@ describe('convertMonitoringFromRawAndVerify', () => { const mockLogger = { debug: mockLoggerDebug, }; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const result = convertMonitoringFromRawAndVerify(mockLogger as any, '123', monitoring); expect(mockLoggerDebug).toHaveBeenCalledWith( 'invalid monitoring last_run.timestamp "invalid" in raw rule 123' diff --git a/x-pack/plugins/alerting/server/lib/monitoring.ts b/x-pack/platform/plugins/shared/alerting/server/lib/monitoring.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/monitoring.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/monitoring.ts diff --git a/x-pack/plugins/alerting/server/lib/next_run.ts b/x-pack/platform/plugins/shared/alerting/server/lib/next_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/next_run.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/next_run.ts diff --git a/x-pack/plugins/alerting/server/lib/process_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/process_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/lib/process_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/process_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.ts diff --git a/x-pack/plugins/alerting/server/lib/result_type.ts b/x-pack/platform/plugins/shared/alerting/server/lib/result_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/result_type.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/result_type.ts diff --git a/x-pack/plugins/alerting/server/lib/retry_if_conflicts.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/retry_if_conflicts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.test.ts diff --git a/x-pack/plugins/alerting/server/lib/retry_if_conflicts.ts b/x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/retry_if_conflicts.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_execution_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/lib/rule_execution_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.test.ts index bad1ba413f782..a9bd4f263ee01 100644 --- a/x-pack/plugins/alerting/server/lib/rule_execution_status.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.test.ts @@ -444,7 +444,6 @@ describe('RuleExecutionStatus', () => { }); }); -// eslint-disable-next-line @typescript-eslint/no-explicit-any function checkDateIsNearNow(date: any) { expect(date instanceof Date).toBe(true); // allow for lots of slop in the time difference diff --git a/x-pack/plugins/alerting/server/lib/rule_execution_status.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_execution_status.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_run_metrics_store.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_run_metrics_store.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_run_metrics_store.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_run_metrics_store.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.test.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_run_metrics_store.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_run_metrics_store.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.ts diff --git a/x-pack/plugins/alerting/server/lib/set_flapping.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/set_flapping.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.test.ts diff --git a/x-pack/plugins/alerting/server/lib/set_flapping.ts b/x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/set_flapping.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/index.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.test.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.test.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.ts diff --git a/x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.test.ts diff --git a/x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.ts diff --git a/x-pack/plugins/alerting/server/lib/track_legacy_route_usage.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_legacy_route_usage.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.test.ts diff --git a/x-pack/plugins/alerting/server/lib/track_legacy_route_usage.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_legacy_route_usage.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.ts diff --git a/x-pack/plugins/alerting/server/lib/trim_recovered_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/trim_recovered_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/lib/trim_recovered_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/trim_recovered_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.ts diff --git a/x-pack/plugins/alerting/server/lib/types.ts b/x-pack/platform/plugins/shared/alerting/server/lib/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/types.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/types.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.test.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_mutated_rule_type_params.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_mutated_rule_type_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_mutated_rule_type_params.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_mutated_rule_type_params.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_rrule_by.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_rrule_by.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_rrule_by.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_rrule_by.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_rule_type_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_rule_type_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.test.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_rule_type_params.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_rule_type_params.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_snooze_date.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_snooze_date.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_date.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_snooze_schedule.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_snooze_schedule.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_schedule.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.test.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_search_source_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_search_source_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_search_source_client.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_search_source_client.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client.mock.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client/index.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client/index.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/index.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client/maintenance_window_client.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/maintenance_window_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client/maintenance_window_client.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/maintenance_window_client.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_feature.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_feature.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_feature.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_feature.ts diff --git a/x-pack/plugins/alerting/server/manual_tests/action_param_templates.sh b/x-pack/platform/plugins/shared/alerting/server/manual_tests/action_param_templates.sh similarity index 100% rename from x-pack/plugins/alerting/server/manual_tests/action_param_templates.sh rename to x-pack/platform/plugins/shared/alerting/server/manual_tests/action_param_templates.sh diff --git a/x-pack/plugins/alerting/server/mocks.ts b/x-pack/platform/plugins/shared/alerting/server/mocks.ts similarity index 100% rename from x-pack/plugins/alerting/server/mocks.ts rename to x-pack/platform/plugins/shared/alerting/server/mocks.ts diff --git a/x-pack/plugins/alerting/server/monitoring/in_memory_metrics.mock.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/in_memory_metrics.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.mock.ts diff --git a/x-pack/plugins/alerting/server/monitoring/in_memory_metrics.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/in_memory_metrics.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/in_memory_metrics.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/in_memory_metrics.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.ts diff --git a/x-pack/plugins/alerting/server/monitoring/index.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/index.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/index.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_cluster_collector.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_cluster_collector.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_cluster_collector.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_cluster_collector.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_node_collector.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_node_collector.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_node_collector.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_node_collector.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.mock.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_result_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_result_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.mock.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_result_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_result_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_result_service.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_result_service.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.ts diff --git a/x-pack/plugins/alerting/server/monitoring/types.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/types.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/types.ts diff --git a/x-pack/plugins/alerting/server/plugin.test.ts b/x-pack/platform/plugins/shared/alerting/server/plugin.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/plugin.test.ts rename to x-pack/platform/plugins/shared/alerting/server/plugin.test.ts index 2938daf8b1ec3..d9d7feab2227e 100644 --- a/x-pack/plugins/alerting/server/plugin.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/plugin.test.ts @@ -184,7 +184,7 @@ describe('Alerting Plugin', () => { expect(() => setup.registerType({ ...sampleRuleType, - // eslint-disable-next-line @typescript-eslint/no-explicit-any + minimumLicenseRequired: 'foo' as any, }) ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); diff --git a/x-pack/plugins/alerting/server/plugin.ts b/x-pack/platform/plugins/shared/alerting/server/plugin.ts similarity index 100% rename from x-pack/plugins/alerting/server/plugin.ts rename to x-pack/platform/plugins/shared/alerting/server/plugin.ts diff --git a/x-pack/plugins/alerting/server/routes/_mock_handler_arguments.ts b/x-pack/platform/plugins/shared/alerting/server/routes/_mock_handler_arguments.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/_mock_handler_arguments.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/_mock_handler_arguments.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/constants.ts b/x-pack/platform/plugins/shared/alerting/server/routes/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/constants.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/health.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/health.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/index.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/get_action_error_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_action_error_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_action_error_log.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_action_error_log.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.ts diff --git a/x-pack/plugins/alerting/server/routes/get_flapping_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_flapping_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_flapping_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_flapping_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_kpi.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_kpi.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_alert_summary.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_alert_summary.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_alert_summary.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_alert_summary.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_log.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_log.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_state.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_state.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.ts diff --git a/x-pack/plugins/alerting/server/routes/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/index.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/actions_schema.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/actions_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/actions_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/actions_schema.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/error_handler.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/error_handler.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/error_handler.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/error_handler.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/index.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rename_keys.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rename_keys.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rename_keys.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rename_keys.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_actions.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_namespaces.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_namespaces.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_namespaces.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_namespaces.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_request_case.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_request_case.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_request_case.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_request_case.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_rule.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rrule_schema.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rrule_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rrule_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rrule_schema.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_hours.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_hours.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_hours.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_hours.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_timezone.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_timezone.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_timezone.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_timezone.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/verify_access_and_context.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/verify_access_and_context.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/verify_access_and_context.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/verify_access_and_context.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/types/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/run_soon.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/run_soon.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/run_soon.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/run_soon.test.ts diff --git a/x-pack/plugins/alerting/server/routes/run_soon.ts b/x-pack/platform/plugins/shared/alerting/server/routes/run_soon.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/run_soon.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/run_soon.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/fields_rules.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fields_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/fields_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fields_rules.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/fileds_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fileds_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/fileds_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fileds_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.test.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.ts diff --git a/x-pack/plugins/alerting/server/routes/update_flapping_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/update_flapping_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/update_flapping_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/update_flapping_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry.mock.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry.test.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry.test.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.test.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.test.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.ts diff --git a/x-pack/plugins/alerting/server/rules_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/audit_events.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/audit_events.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/audit_events.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/audit_events.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/constants.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/constants.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/filters.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/filters.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/filters.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/filters.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/generate_api_key_name.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/generate_api_key_name.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/generate_api_key_name.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/generate_api_key_name.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/include_fields_required_for_authentication.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/include_fields_required_for_authentication.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/include_fields_required_for_authentication.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/include_fields_required_for_authentication.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/index.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/inject_references.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/map_sort_field.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/map_sort_field.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/map_sort_field.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/map_sort_field.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/parse_date.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/parse_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/parse_date.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/parse_date.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/snooze_utils.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/snooze_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/snooze_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/snooze_utils.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/try_to_remove_tasks.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/try_to_remove_tasks.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/try_to_remove_tasks.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/try_to_remove_tasks.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/validate_attributes.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/validate_attributes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/validate_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/validate_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.ts diff --git a/x-pack/plugins/alerting/server/rules_client/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/index.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/check_authorization_and_get_total.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/check_authorization_and_get_total.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/check_authorization_and_get_total.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/check_authorization_and_get_total.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/create_rule_saved_object.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_rule_saved_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/create_rule_saved_object.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_rule_saved_object.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/denormalize_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/denormalize_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/denormalize_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/denormalize_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/extract_references.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/extract_references.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/extract_references.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/extract_references.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/get_alert_from_raw.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_alert_from_raw.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/get_alert_from_raw.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_alert_from_raw.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/get_authorization_filter.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_authorization_filter.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/get_authorization_filter.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_authorization_filter.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/get_rule_saved_object.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_rule_saved_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/get_rule_saved_object.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_rule_saved_object.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/increment_revision.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/increment_revision.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/increment_revision.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/increment_revision.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/index.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/resolve_rule_saved_object.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/resolve_rule_saved_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/resolve_rule_saved_object.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/resolve_rule_saved_object.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/schedule_task.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/schedule_task.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/schedule_task.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/schedule_task.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/types.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/types.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/types.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/untrack_rule_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/untrack_rule_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/untrack_rule_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/untrack_rule_alerts.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/update_meta.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/update_meta.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/update_meta_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/update_meta_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta_attributes.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/validate_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/validate_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/validate_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/validate_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/bulk_edit.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/bulk_edit.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/bulk_edit.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/bulk_edit.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_action_error_log.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_action_error_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_action_error_log.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_action_error_log.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_alert_state.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_alert_state.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_state.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_alert_summary.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_summary.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_alert_summary.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_summary.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_execution_kpi.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_kpi.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_execution_kpi.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_kpi.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_execution_log.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_execution_log.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_log.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/run_soon.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/run_soon.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/run_soon.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/run_soon.ts diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/rules_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/rules_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_action_error_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_action_error_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_action_error_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_action_error_log.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_alert_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_alert_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_state.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_alert_summary.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_alert_summary.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_summary.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_execution_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_execution_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_execution_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_execution_log.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/lib.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/lib.ts similarity index 98% rename from x-pack/plugins/alerting/server/rules_client/tests/lib.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/lib.ts index 386cfe8f41eec..d1ed758c021e6 100644 --- a/x-pack/plugins/alerting/server/rules_client/tests/lib.ts +++ b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/lib.ts @@ -23,7 +23,7 @@ export function setGlobalDate() { const DateOriginal = Date; // A version of date that responds to `new Date(null|undefined)` and `Date.now()` // by returning a fixed date, otherwise should be same as Date. - /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ + (global as any).Date = class Date { constructor(...args: unknown[]) { // sometimes the ctor has no args, sometimes has a single `null` arg diff --git a/x-pack/plugins/alerting/server/rules_client/tests/list_rule_types.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/list_rule_types.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/list_rule_types.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/list_rule_types.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/mute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/mute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_all.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/mute_instance.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_instance.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/mute_instance.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_instance.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/resolve.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/resolve.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/resolve.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/resolve.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/run_soon.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/run_soon.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/run_soon.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/run_soon.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/test_helpers.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/test_helpers.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/test_helpers.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/test_helpers.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/unmute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/unmute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/unmute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/unmute_all.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/types.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/types.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/types.ts diff --git a/x-pack/plugins/alerting/server/rules_client_conflict_retries.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client_conflict_retries.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client_conflict_retries.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client_conflict_retries.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/index.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_service.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_service.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/schemas/flapping_schema.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/flapping_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/schemas/flapping_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/flapping_schema.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/schemas/query_delay_schema.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/query_delay_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/schemas/query_delay_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/query_delay_schema.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/get_import_warnings.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/get_import_warnings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/get_import_warnings.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/get_import_warnings.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/maintenance_window_mapping.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/maintenance_window_mapping.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/maintenance_window_mapping.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/maintenance_window_mapping.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.10/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.10/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.10/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.10/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.13/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.13/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.13/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.13/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.14/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.14/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.14/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.14/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.15/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.15/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.16/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.16/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.16/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.16/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.0/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.0/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.0/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.0/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.2/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.2/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.2/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.2/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.3/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.3/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.3/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.3/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.4/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.4/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.4/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.4/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.5/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.5/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.5/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.5/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.6/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.6/index.ts similarity index 98% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.6/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.6/index.ts index b3d362fc4dd77..5c42e2f65b52e 100644 --- a/x-pack/plugins/alerting/server/saved_objects/migrations/8.6/index.ts +++ b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.6/index.ts @@ -60,7 +60,6 @@ const getMonitoring = (attributes: RawRule) => { const { lastExecutionDate, lastDuration } = executionStatus; - // eslint-disable-next-line @typescript-eslint/no-explicit-any const monitoringExecution = (monitoring as any).execution; return { diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.7/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.7/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.7/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.7/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.8/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.8/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.8/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.8/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/constants.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/constants.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/index.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/index.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/types.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/types.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/types.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/utils.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/utils.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/utils.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/rule_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rule_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/rule_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rule_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/partially_update_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/partially_update_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/partially_update_rule.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/partially_update_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/rrule_mappings_field.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/rrule_mappings_field.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/rrule_mappings_field.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/rrule_mappings_field.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/rules_settings_mappings.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/rules_settings_mappings.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/rules_settings_mappings.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/rules_settings_mappings.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/latest.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/latest.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v2.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v2.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v2.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v2.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v3.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v3.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v3.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v3.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/test_fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/test_fixtures.ts similarity index 98% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/test_fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/test_fixtures.ts index 5d56e03d0a462..1ae9c6336f141 100644 --- a/x-pack/plugins/alerting/server/task_runner/action_scheduler/test_fixtures.ts +++ b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/test_fixtures.ts @@ -177,7 +177,7 @@ export const getDefaultSchedulerContext = < actionsPluginMock: jest.Mocked, alertingEventLoggerMock: jest.Mocked, actionsClientMock: jest.Mocked>, - // eslint-disable-next-line @typescript-eslint/no-explicit-any + alertsClientMock: jest.Mocked ) => ({ rule: getRule(), diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/types.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/types.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/types.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/alert_task_instance.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/alert_task_instance.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/alert_task_instance.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/alert_task_instance.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.ts diff --git a/x-pack/plugins/alerting/server/task_runner/fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/fixtures.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/fixtures.ts diff --git a/x-pack/plugins/alerting/server/task_runner/get_executor_services.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/get_executor_services.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/get_executor_services.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/get_executor_services.ts diff --git a/x-pack/plugins/alerting/server/task_runner/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/inject_action_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/inject_action_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/inject_action_params.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/inject_action_params.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/process_run_result.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/process_run_result.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/process_run_result.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/process_run_result.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/with_alerting_span.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/with_alerting_span.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/with_alerting_span.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/with_alerting_span.ts diff --git a/x-pack/plugins/alerting/server/task_runner/log_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/log_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/log_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/log_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_loader.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_loader.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_loader.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_loader.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_running_handler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_running_handler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_running_handler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_running_handler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_type_runner.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_type_runner.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_type_runner.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_type_runner.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_cancel.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_cancel.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_cancel.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_cancel.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_factory.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_timer.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_timer.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_timer.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_timer.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.ts diff --git a/x-pack/plugins/alerting/server/task_runner/transform_action_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/transform_action_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/transform_action_params.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts similarity index 95% rename from x-pack/plugins/alerting/server/task_runner/transform_action_params.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts index fb934db0ffb7d..cb28d0aefcbd0 100644 --- a/x-pack/plugins/alerting/server/task_runner/transform_action_params.ts +++ b/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts @@ -85,7 +85,7 @@ export function transformActionParams({ }: TransformActionParamsOptions): RuleActionParams { // when the list of variables we pass in here changes, // the UI will need to be updated as well; see: - // x-pack/plugins/triggers_actions_ui/public/application/lib/action_variables.ts + // x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_variables.ts const variables: ActionContextVariables = { alertId, @@ -158,7 +158,7 @@ export function transformSummaryActionParams({ }): RuleActionParams { // when the list of variables we pass in here changes, // the UI will need to be updated as well; see: - // x-pack/plugins/triggers_actions_ui/public/application/lib/action_variables.ts + // x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_variables.ts const variables: SummaryActionContextVariables = { alertId: rule.id, diff --git a/x-pack/plugins/alerting/server/task_runner/types.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/types.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/types.ts diff --git a/x-pack/plugins/alerting/server/test_utils/index.ts b/x-pack/platform/plugins/shared/alerting/server/test_utils/index.ts similarity index 93% rename from x-pack/plugins/alerting/server/test_utils/index.ts rename to x-pack/platform/plugins/shared/alerting/server/test_utils/index.ts index 401225f171f06..fe2cf8ee0bc07 100644 --- a/x-pack/plugins/alerting/server/test_utils/index.ts +++ b/x-pack/platform/plugins/shared/alerting/server/test_utils/index.ts @@ -27,7 +27,7 @@ export function resolvable(): Promise & Resolvable { // Used to convert a raw Rule's UUID to something that can be used // to compare with a jest snapshot. -// eslint-disable-next-line @typescript-eslint/no-explicit-any + export function alertWithAnyUUID(rawAlert: Record): Record { if (!rawAlert?.meta?.uuid) return rawAlert; @@ -37,7 +37,6 @@ export function alertWithAnyUUID(rawAlert: Record): Record ): Record { const newAlerts: Record = {}; diff --git a/x-pack/plugins/alerting/server/types.ts b/x-pack/platform/plugins/shared/alerting/server/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/types.ts rename to x-pack/platform/plugins/shared/alerting/server/types.ts diff --git a/x-pack/plugins/alerting/server/usage/alerting_usage_collector.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/alerting_usage_collector.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.test.ts diff --git a/x-pack/plugins/alerting/server/usage/alerting_usage_collector.ts b/x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/alerting_usage_collector.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.ts diff --git a/x-pack/plugins/alerting/server/usage/index.ts b/x-pack/platform/plugins/shared/alerting/server/usage/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/index.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/index.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_connectors_by_consumers.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_connectors_by_consumers.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_connectors_by_consumers.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_connectors_by_consumers.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.ts diff --git a/x-pack/plugins/alerting/server/usage/task.ts b/x-pack/platform/plugins/shared/alerting/server/usage/task.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/task.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/task.ts diff --git a/x-pack/plugins/alerting/server/usage/task_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/task_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/task_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/task_state.test.ts diff --git a/x-pack/plugins/alerting/server/usage/task_state.ts b/x-pack/platform/plugins/shared/alerting/server/usage/task_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/task_state.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/task_state.ts diff --git a/x-pack/plugins/alerting/server/usage/types.ts b/x-pack/platform/plugins/shared/alerting/server/usage/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/types.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/types.ts diff --git a/x-pack/plugins/alerting/tsconfig.json b/x-pack/platform/plugins/shared/alerting/tsconfig.json similarity index 97% rename from x-pack/plugins/alerting/tsconfig.json rename to x-pack/platform/plugins/shared/alerting/tsconfig.json index 6019f8711d681..274cb8dde4527 100644 --- a/x-pack/plugins/alerting/tsconfig.json +++ b/x-pack/platform/plugins/shared/alerting/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/plugins/cases/README.md b/x-pack/platform/plugins/shared/cases/README.md similarity index 100% rename from x-pack/plugins/cases/README.md rename to x-pack/platform/plugins/shared/cases/README.md diff --git a/x-pack/plugins/cases/common/api/helpers.ts b/x-pack/platform/plugins/shared/cases/common/api/helpers.ts similarity index 100% rename from x-pack/plugins/cases/common/api/helpers.ts rename to x-pack/platform/plugins/shared/cases/common/api/helpers.ts diff --git a/x-pack/plugins/cases/common/api/index.ts b/x-pack/platform/plugins/shared/cases/common/api/index.ts similarity index 100% rename from x-pack/plugins/cases/common/api/index.ts rename to x-pack/platform/plugins/shared/cases/common/api/index.ts diff --git a/x-pack/plugins/cases/common/api/runtime_types.ts b/x-pack/platform/plugins/shared/cases/common/api/runtime_types.ts similarity index 100% rename from x-pack/plugins/cases/common/api/runtime_types.ts rename to x-pack/platform/plugins/shared/cases/common/api/runtime_types.ts diff --git a/x-pack/plugins/cases/common/api/saved_object.ts b/x-pack/platform/plugins/shared/cases/common/api/saved_object.ts similarity index 100% rename from x-pack/plugins/cases/common/api/saved_object.ts rename to x-pack/platform/plugins/shared/cases/common/api/saved_object.ts diff --git a/x-pack/plugins/cases/common/constants/application.ts b/x-pack/platform/plugins/shared/cases/common/constants/application.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/application.ts rename to x-pack/platform/plugins/shared/cases/common/constants/application.ts diff --git a/x-pack/plugins/cases/common/constants/files.ts b/x-pack/platform/plugins/shared/cases/common/constants/files.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/files.ts rename to x-pack/platform/plugins/shared/cases/common/constants/files.ts diff --git a/x-pack/plugins/cases/common/constants/index.ts b/x-pack/platform/plugins/shared/cases/common/constants/index.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/index.ts rename to x-pack/platform/plugins/shared/cases/common/constants/index.ts diff --git a/x-pack/plugins/cases/common/constants/mime_types.ts b/x-pack/platform/plugins/shared/cases/common/constants/mime_types.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/mime_types.ts rename to x-pack/platform/plugins/shared/cases/common/constants/mime_types.ts diff --git a/x-pack/plugins/cases/common/constants/owner.test.ts b/x-pack/platform/plugins/shared/cases/common/constants/owner.test.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/owner.test.ts rename to x-pack/platform/plugins/shared/cases/common/constants/owner.test.ts diff --git a/x-pack/plugins/cases/common/constants/owners.ts b/x-pack/platform/plugins/shared/cases/common/constants/owners.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/owners.ts rename to x-pack/platform/plugins/shared/cases/common/constants/owners.ts diff --git a/x-pack/plugins/cases/common/constants/types.ts b/x-pack/platform/plugins/shared/cases/common/constants/types.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/types.ts rename to x-pack/platform/plugins/shared/cases/common/constants/types.ts diff --git a/x-pack/plugins/cases/common/constants/visualizations.ts b/x-pack/platform/plugins/shared/cases/common/constants/visualizations.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/visualizations.ts rename to x-pack/platform/plugins/shared/cases/common/constants/visualizations.ts diff --git a/x-pack/plugins/cases/common/files/index.test.ts b/x-pack/platform/plugins/shared/cases/common/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/common/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/common/files/index.test.ts diff --git a/x-pack/plugins/cases/common/files/index.ts b/x-pack/platform/plugins/shared/cases/common/files/index.ts similarity index 100% rename from x-pack/plugins/cases/common/files/index.ts rename to x-pack/platform/plugins/shared/cases/common/files/index.ts diff --git a/x-pack/plugins/cases/common/index.ts b/x-pack/platform/plugins/shared/cases/common/index.ts similarity index 100% rename from x-pack/plugins/cases/common/index.ts rename to x-pack/platform/plugins/shared/cases/common/index.ts diff --git a/x-pack/plugins/cases/common/registry.test.ts b/x-pack/platform/plugins/shared/cases/common/registry.test.ts similarity index 100% rename from x-pack/plugins/cases/common/registry.test.ts rename to x-pack/platform/plugins/shared/cases/common/registry.test.ts diff --git a/x-pack/plugins/cases/common/registry.ts b/x-pack/platform/plugins/shared/cases/common/registry.ts similarity index 100% rename from x-pack/plugins/cases/common/registry.ts rename to x-pack/platform/plugins/shared/cases/common/registry.ts diff --git a/x-pack/plugins/cases/common/schema/index.test.ts b/x-pack/platform/plugins/shared/cases/common/schema/index.test.ts similarity index 100% rename from x-pack/plugins/cases/common/schema/index.test.ts rename to x-pack/platform/plugins/shared/cases/common/schema/index.test.ts diff --git a/x-pack/plugins/cases/common/schema/index.ts b/x-pack/platform/plugins/shared/cases/common/schema/index.ts similarity index 100% rename from x-pack/plugins/cases/common/schema/index.ts rename to x-pack/platform/plugins/shared/cases/common/schema/index.ts diff --git a/x-pack/plugins/cases/common/schema/types.ts b/x-pack/platform/plugins/shared/cases/common/schema/types.ts similarity index 100% rename from x-pack/plugins/cases/common/schema/types.ts rename to x-pack/platform/plugins/shared/cases/common/schema/types.ts diff --git a/x-pack/plugins/cases/common/types.ts b/x-pack/platform/plugins/shared/cases/common/types.ts similarity index 100% rename from x-pack/plugins/cases/common/types.ts rename to x-pack/platform/plugins/shared/cases/common/types.ts diff --git a/x-pack/plugins/cases/common/types/api/alert/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/alert/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/alert/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/alert/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/alert/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/alert/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/alert/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/alert/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/attachment/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/attachment/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/attachment/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/attachment/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/attachment/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/attachment/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/attachment/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/attachment/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/case/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/case/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/case/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/case/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/configure/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/configure/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/configure/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/configure/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/configure/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/configure/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/configure/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/configure/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/connector/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/connector/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/connector/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/connector/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/connector/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/connector/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/connector/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/connector/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/custom_field/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/custom_field/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/custom_field/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/custom_field/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/custom_field/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/custom_field/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/custom_field/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/custom_field/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/external_service/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/external_service/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/external_service/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/external_service/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/external_service/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/external_service/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/external_service/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/external_service/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/index.ts b/x-pack/platform/plugins/shared/cases/common/types/api/index.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/index.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/index.ts diff --git a/x-pack/plugins/cases/common/types/api/metrics/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/metrics/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/metrics/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/metrics/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/metrics/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/metrics/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/metrics/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/metrics/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/observable/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/observable/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/observable/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/observable/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/observable/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/observable/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/observable/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/observable/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/stats/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/stats/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/stats/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/stats/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/stats/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/stats/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/stats/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/stats/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/user/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/user/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/user/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/user_action/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user_action/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user_action/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user_action/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/user_action/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user_action/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/user_action/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user_action/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/attachment/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/attachment/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/attachment/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/attachment/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/attachment/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/attachment/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/attachment/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/attachment/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/case/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/case/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/case/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/configure/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/configure/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/configure/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/configure/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/configure/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/configure/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/configure/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/connector/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/connector/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/connector/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/connector/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/connector/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/connector/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/connector/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/connector/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/custom_field/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/custom_field/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/custom_field/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/custom_field/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/custom_field/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/custom_field/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/external_service/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/external_service/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/external_service/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/external_service/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/external_service/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/external_service/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/external_service/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/external_service/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/index.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/index.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/index.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/index.ts diff --git a/x-pack/plugins/cases/common/types/domain/observable/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/observable/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/observable/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/observable/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/observable/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/observable/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/observable/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/action/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/action/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/action/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/action/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/assignees/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/assignees/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/category/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/category/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/category/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/category/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/category/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/category/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/comment/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/comment/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/comment/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/comment/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/comment/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/comment/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/connector/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/connector/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/connector/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/connector/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/connector/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/connector/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/create_case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/create_case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/custom_fields/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/custom_fields/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/delete_case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/delete_case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/description/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/description/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/description/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/description/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/description/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/description/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/pushed/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/pushed/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/settings/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/settings/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/settings/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/settings/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/settings/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/settings/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/severity/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/severity/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/severity/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/severity/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/severity/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/severity/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/status/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/status/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/status/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/status/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/status/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/status/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/tags/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/tags/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/tags/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/tags/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/tags/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/tags/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/title/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/title/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/title/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/title/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/title/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/title/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.ts diff --git a/x-pack/plugins/cases/common/ui/index.ts b/x-pack/platform/plugins/shared/cases/common/ui/index.ts similarity index 100% rename from x-pack/plugins/cases/common/ui/index.ts rename to x-pack/platform/plugins/shared/cases/common/ui/index.ts diff --git a/x-pack/plugins/cases/common/ui/types.ts b/x-pack/platform/plugins/shared/cases/common/ui/types.ts similarity index 98% rename from x-pack/plugins/cases/common/ui/types.ts rename to x-pack/platform/plugins/shared/cases/common/ui/types.ts index 2bc12101d65b9..72b102d34770d 100644 --- a/x-pack/plugins/cases/common/ui/types.ts +++ b/x-pack/platform/plugins/shared/cases/common/ui/types.ts @@ -179,7 +179,7 @@ export type SingleCaseMetricsFeature = Exclude ({ all: [ diff --git a/x-pack/plugins/cases/common/utils/connectors_api.ts b/x-pack/platform/plugins/shared/cases/common/utils/connectors_api.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/connectors_api.ts rename to x-pack/platform/plugins/shared/cases/common/utils/connectors_api.ts diff --git a/x-pack/plugins/cases/common/utils/index.ts b/x-pack/platform/plugins/shared/cases/common/utils/index.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/index.ts rename to x-pack/platform/plugins/shared/cases/common/utils/index.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/constants.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/constants.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/constants.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/constants.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/index.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/index.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/index.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/index.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/parser.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/parser.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/parser.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/parser.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/serializer.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/serializer.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/serializer.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/serializer.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/index.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/index.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/index.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/index.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/parser.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/parser.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/parser.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/parser.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/serializer.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/serializer.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/serializer.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/serializer.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/translations.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/translations.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/translations.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/translations.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/utils.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/utils.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.test.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/utils.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/utils.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.ts diff --git a/x-pack/plugins/cases/common/utils/owner.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/owner.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/owner.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/owner.test.ts diff --git a/x-pack/plugins/cases/common/utils/owner.ts b/x-pack/platform/plugins/shared/cases/common/utils/owner.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/owner.ts rename to x-pack/platform/plugins/shared/cases/common/utils/owner.ts diff --git a/x-pack/plugins/cases/common/utils/user_actions.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/user_actions.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/user_actions.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/user_actions.test.ts diff --git a/x-pack/plugins/cases/common/utils/user_actions.ts b/x-pack/platform/plugins/shared/cases/common/utils/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/user_actions.ts rename to x-pack/platform/plugins/shared/cases/common/utils/user_actions.ts diff --git a/x-pack/plugins/cases/docs/openapi/README.md b/x-pack/platform/plugins/shared/cases/docs/openapi/README.md similarity index 73% rename from x-pack/plugins/cases/docs/openapi/README.md rename to x-pack/platform/plugins/shared/cases/docs/openapi/README.md index 6de117e966fe0..da3211520da73 100644 --- a/x-pack/plugins/cases/docs/openapi/README.md +++ b/x-pack/platform/plugins/shared/cases/docs/openapi/README.md @@ -1,6 +1,6 @@ # OpenAPI (Experimental) -The current self-contained spec file is [as JSON](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.json) or [as YAML](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at . +The current self-contained spec file is [as JSON](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.json) or [as YAML](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at . This spec is experimental and may be incomplete or change later. A guide about the openApi specification can be found at [https://swagger.io/docs/specification/about/](https://swagger.io/docs/specification/about/). diff --git a/x-pack/plugins/cases/docs/openapi/bundled.json b/x-pack/platform/plugins/shared/cases/docs/openapi/bundled.json similarity index 100% rename from x-pack/plugins/cases/docs/openapi/bundled.json rename to x-pack/platform/plugins/shared/cases/docs/openapi/bundled.json diff --git a/x-pack/plugins/cases/docs/openapi/bundled.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/bundled.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/README.md b/x-pack/platform/plugins/shared/cases/docs/openapi/components/README.md similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/README.md rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/README.md diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/add_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/add_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/add_comment_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/add_comment_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/create_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/create_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/create_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/create_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/find_case_activity_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_activity_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/find_case_activity_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_activity_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/find_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/find_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/find_connector_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_connector_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/find_connector_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_connector_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_alerts_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_alerts_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_alerts_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_alerts_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_configuration_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_configuration_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_configuration_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_configuration_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_observability_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_observability_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_observability_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_observability_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_comment_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_comment_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_comment_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_comment_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_reporters_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_reporters_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_reporters_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_reporters_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_tags_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_tags_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_tags_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_tags_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/push_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/push_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/push_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/push_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_comment_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_comment_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/headers/kbn_xsrf.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/headers/kbn_xsrf.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/headers/kbn_xsrf.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/headers/kbn_xsrf.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/alert_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/alert_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/alert_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/alert_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/assignees_filter.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/assignees_filter.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/assignees_filter.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/assignees_filter.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/case_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/case_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/case_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/case_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/category.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/category.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/category.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/category.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/comment_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/comment_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/comment_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/comment_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/configuration_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/configuration_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/configuration_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/configuration_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/connector_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/connector_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/connector_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/connector_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/from.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/from.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/from.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/from.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/ids.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/ids.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/ids.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/ids.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/includeComments.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/includeComments.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/includeComments.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/includeComments.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/owner_filter.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/owner_filter.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/owner_filter.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/owner_filter.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/page_index.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_index.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/page_index.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_index.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/page_size.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_size.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/page_size.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_size.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/reporters.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/reporters.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/reporters.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/reporters.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/search.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/search.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/search.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/search.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/searchFields.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFields.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/searchFields.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFields.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsType.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsType.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsType.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsType.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/severity.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/severity.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/severity.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/severity.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/sortField.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sortField.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/sortField.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sortField.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/sort_order.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sort_order.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/sort_order.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sort_order.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/space_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/space_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/space_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/space_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/to.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/to.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/to.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/to.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/user_action_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/user_action_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/user_action_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/user_action_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/4xx_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/4xx_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/4xx_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/4xx_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/action_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/action_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/action_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/action_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/actions.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/actions.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/actions.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/actions.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_case_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_case_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_case_file_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_file_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_case_file_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_file_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_identifiers.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_identifiers.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_identifiers.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_identifiers.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_indices.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_indices.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_indices.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_indices.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/assignees.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/assignees.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/assignees.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/assignees.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_categories.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_categories.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_categories.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_categories.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_category.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_category.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_category.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_category.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_customfields.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_customfields.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_customfields.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_customfields.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_customfields.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_customfields.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_customfields.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_customfields.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_description.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_description.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_description.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_description.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_severity.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_severity.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_severity.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_severity.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_title.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_title.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_title.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_title.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/closure_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/closure_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/closure_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/closure_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/comment_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/comment_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/comment_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/comment_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_jira.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_jira.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_jira.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_jira.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_none.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_none.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_none.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_none.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/create_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/create_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/create_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/create_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/external_service.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/external_service.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/external_service.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/external_service.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/owner.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owner.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/owner.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owner.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/owners.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owners.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/owners.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owners.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_alert_comment.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_alert_comment.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_alert_comment.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_alert_comment.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_assignees.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_assignees.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_assignees.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_assignees.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_connector.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_connector.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_connector.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_connector.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_create_case.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_create_case.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_create_case.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_create_case.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_delete.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_delete.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_delete.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_delete.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_description.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_description.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_description.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_description.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_pushed.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_pushed.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_pushed.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_pushed.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_settings.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_settings.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_settings.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_settings.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_severity.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_severity.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_severity.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_severity.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_title.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_title.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_title.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_title.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_user_comment.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_user_comment.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_user_comment.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_user_comment.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/rule.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/rule.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/rule_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/rule_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/settings.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/settings.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/settings.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/settings.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/string.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/string.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/string_array.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string_array.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/string_array.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string_array.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/template_tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/template_tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/template_tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/template_tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/templates.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/templates.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/templates.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/templates.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_case_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_case_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/entrypoint.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/entrypoint.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/entrypoint.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/entrypoint.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/README.md b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/README.md similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/README.md rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/README.md diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@_find.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@configure.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@reporters.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@reporters.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@reporters.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@reporters.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml diff --git a/x-pack/plugins/cases/images/all_cases.png b/x-pack/platform/plugins/shared/cases/images/all_cases.png similarity index 100% rename from x-pack/plugins/cases/images/all_cases.png rename to x-pack/platform/plugins/shared/cases/images/all_cases.png diff --git a/x-pack/plugins/cases/images/all_cases_selector_modal.png b/x-pack/platform/plugins/shared/cases/images/all_cases_selector_modal.png similarity index 100% rename from x-pack/plugins/cases/images/all_cases_selector_modal.png rename to x-pack/platform/plugins/shared/cases/images/all_cases_selector_modal.png diff --git a/x-pack/plugins/cases/images/case_view.png b/x-pack/platform/plugins/shared/cases/images/case_view.png similarity index 100% rename from x-pack/plugins/cases/images/case_view.png rename to x-pack/platform/plugins/shared/cases/images/case_view.png diff --git a/x-pack/plugins/cases/images/configure.png b/x-pack/platform/plugins/shared/cases/images/configure.png similarity index 100% rename from x-pack/plugins/cases/images/configure.png rename to x-pack/platform/plugins/shared/cases/images/configure.png diff --git a/x-pack/plugins/cases/images/create.png b/x-pack/platform/plugins/shared/cases/images/create.png similarity index 100% rename from x-pack/plugins/cases/images/create.png rename to x-pack/platform/plugins/shared/cases/images/create.png diff --git a/x-pack/plugins/cases/images/logo.png b/x-pack/platform/plugins/shared/cases/images/logo.png similarity index 100% rename from x-pack/plugins/cases/images/logo.png rename to x-pack/platform/plugins/shared/cases/images/logo.png diff --git a/x-pack/plugins/cases/images/recent_cases.png b/x-pack/platform/plugins/shared/cases/images/recent_cases.png similarity index 100% rename from x-pack/plugins/cases/images/recent_cases.png rename to x-pack/platform/plugins/shared/cases/images/recent_cases.png diff --git a/x-pack/plugins/stack_alerts/jest.config.js b/x-pack/platform/plugins/shared/cases/jest.config.js similarity index 66% rename from x-pack/plugins/stack_alerts/jest.config.js rename to x-pack/platform/plugins/shared/cases/jest.config.js index f2f53fd9e0050..677ec8f638740 100644 --- a/x-pack/plugins/stack_alerts/jest.config.js +++ b/x-pack/platform/plugins/shared/cases/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/stack_alerts'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/stack_alerts', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/cases'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/cases', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/stack_alerts/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/cases/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/cases/kibana.jsonc b/x-pack/platform/plugins/shared/cases/kibana.jsonc similarity index 100% rename from x-pack/plugins/cases/kibana.jsonc rename to x-pack/platform/plugins/shared/cases/kibana.jsonc diff --git a/x-pack/plugins/cases/package.json b/x-pack/platform/plugins/shared/cases/package.json similarity index 100% rename from x-pack/plugins/cases/package.json rename to x-pack/platform/plugins/shared/cases/package.json diff --git a/x-pack/plugins/cases/public/api/__mocks__/index.ts b/x-pack/platform/plugins/shared/cases/public/api/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/cases/public/api/__mocks__/index.ts rename to x-pack/platform/plugins/shared/cases/public/api/__mocks__/index.ts diff --git a/x-pack/plugins/cases/public/api/decoders.ts b/x-pack/platform/plugins/shared/cases/public/api/decoders.ts similarity index 100% rename from x-pack/plugins/cases/public/api/decoders.ts rename to x-pack/platform/plugins/shared/cases/public/api/decoders.ts diff --git a/x-pack/plugins/cases/public/api/index.test.ts b/x-pack/platform/plugins/shared/cases/public/api/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/api/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/api/index.test.ts diff --git a/x-pack/plugins/cases/public/api/index.ts b/x-pack/platform/plugins/shared/cases/public/api/index.ts similarity index 100% rename from x-pack/plugins/cases/public/api/index.ts rename to x-pack/platform/plugins/shared/cases/public/api/index.ts diff --git a/x-pack/plugins/cases/public/api/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/api/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/api/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/api/utils.test.ts diff --git a/x-pack/plugins/cases/public/api/utils.ts b/x-pack/platform/plugins/shared/cases/public/api/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/api/utils.ts rename to x-pack/platform/plugins/shared/cases/public/api/utils.ts diff --git a/x-pack/plugins/cases/public/application.tsx b/x-pack/platform/plugins/shared/cases/public/application.tsx similarity index 100% rename from x-pack/plugins/cases/public/application.tsx rename to x-pack/platform/plugins/shared/cases/public/application.tsx diff --git a/x-pack/plugins/cases/public/client/api/index.test.ts b/x-pack/platform/plugins/shared/cases/public/client/api/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/client/api/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/client/api/index.test.ts diff --git a/x-pack/plugins/cases/public/client/api/index.ts b/x-pack/platform/plugins/shared/cases/public/client/api/index.ts similarity index 100% rename from x-pack/plugins/cases/public/client/api/index.ts rename to x-pack/platform/plugins/shared/cases/public/client/api/index.ts diff --git a/x-pack/plugins/cases/public/client/attachment_framework/external_reference_registry.ts b/x-pack/platform/plugins/shared/cases/public/client/attachment_framework/external_reference_registry.ts similarity index 100% rename from x-pack/plugins/cases/public/client/attachment_framework/external_reference_registry.ts rename to x-pack/platform/plugins/shared/cases/public/client/attachment_framework/external_reference_registry.ts diff --git a/x-pack/plugins/cases/public/client/attachment_framework/persistable_state_registry.ts b/x-pack/platform/plugins/shared/cases/public/client/attachment_framework/persistable_state_registry.ts similarity index 100% rename from x-pack/plugins/cases/public/client/attachment_framework/persistable_state_registry.ts rename to x-pack/platform/plugins/shared/cases/public/client/attachment_framework/persistable_state_registry.ts diff --git a/x-pack/plugins/cases/public/client/attachment_framework/types.ts b/x-pack/platform/plugins/shared/cases/public/client/attachment_framework/types.ts similarity index 100% rename from x-pack/plugins/cases/public/client/attachment_framework/types.ts rename to x-pack/platform/plugins/shared/cases/public/client/attachment_framework/types.ts diff --git a/x-pack/plugins/cases/public/client/helpers/can_use_cases.test.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.test.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/can_use_cases.test.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.test.ts diff --git a/x-pack/plugins/cases/public/client/helpers/can_use_cases.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/can_use_cases.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.ts diff --git a/x-pack/plugins/cases/public/client/helpers/capabilities.test.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.test.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/capabilities.test.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.test.ts diff --git a/x-pack/plugins/cases/public/client/helpers/capabilities.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/capabilities.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.ts diff --git a/x-pack/plugins/cases/public/client/helpers/get_rule_id_from_event.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/get_rule_id_from_event.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/get_rule_id_from_event.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/get_rule_id_from_event.ts diff --git a/x-pack/plugins/cases/public/client/helpers/group_alerts_by_rule.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/group_alerts_by_rule.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/group_alerts_by_rule.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/group_alerts_by_rule.ts diff --git a/x-pack/plugins/cases/public/client/ui/get_all_cases_selector_modal.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_all_cases_selector_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_all_cases_selector_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_all_cases_selector_modal.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_cases.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_cases.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_cases_context.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_cases_context.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_cases_context.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_cases_context.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_create_case_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_create_case_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_create_case_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_create_case_flyout.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_recent_cases.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_recent_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_recent_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_recent_cases.tsx diff --git a/x-pack/plugins/cases/public/common/apm/use_cases_transactions.test.ts b/x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.test.ts similarity index 100% rename from x-pack/plugins/cases/public/common/apm/use_cases_transactions.test.ts rename to x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.test.ts diff --git a/x-pack/plugins/cases/public/common/apm/use_cases_transactions.ts b/x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.ts similarity index 100% rename from x-pack/plugins/cases/public/common/apm/use_cases_transactions.ts rename to x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.ts diff --git a/x-pack/plugins/cases/public/common/apm/use_start_transaction.ts b/x-pack/platform/plugins/shared/cases/public/common/apm/use_start_transaction.ts similarity index 100% rename from x-pack/plugins/cases/public/common/apm/use_start_transaction.ts rename to x-pack/platform/plugins/shared/cases/public/common/apm/use_start_transaction.ts diff --git a/x-pack/plugins/cases/public/common/errors.ts b/x-pack/platform/plugins/shared/cases/public/common/errors.ts similarity index 100% rename from x-pack/plugins/cases/public/common/errors.ts rename to x-pack/platform/plugins/shared/cases/public/common/errors.ts diff --git a/x-pack/plugins/cases/public/common/hooks.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/hooks.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/hooks.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/hooks.test.tsx diff --git a/x-pack/plugins/cases/public/common/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/hooks.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/__mocks__/index.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/__mocks__/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/index.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/__mocks__/use_application.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/use_application.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/__mocks__/use_application.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/use_application.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/hooks.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/hooks.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.test.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/index.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/index.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/kibana_react.mock.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.mock.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/kibana_react.mock.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.mock.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/kibana_react.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/kibana_react.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/services.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/services.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/services.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/services.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/use_application.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/use_application.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.test.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/use_application.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/use_application.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.tsx diff --git a/x-pack/plugins/cases/public/common/mock/connectors.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/connectors.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/connectors.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/connectors.ts diff --git a/x-pack/plugins/cases/public/common/mock/index.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/index.ts diff --git a/x-pack/plugins/cases/public/common/mock/permissions.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/permissions.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/permissions.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/permissions.ts diff --git a/x-pack/plugins/cases/public/common/mock/register_connectors.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/register_connectors.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/register_connectors.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/register_connectors.ts diff --git a/x-pack/plugins/cases/public/common/mock/test_providers.tsx b/x-pack/platform/plugins/shared/cases/public/common/mock/test_providers.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/mock/test_providers.tsx rename to x-pack/platform/plugins/shared/cases/public/common/mock/test_providers.tsx diff --git a/x-pack/plugins/cases/public/common/navigation/__mocks__/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/__mocks__/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/__mocks__/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/__mocks__/hooks.ts diff --git a/x-pack/plugins/cases/public/common/navigation/deep_links.test.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.test.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/deep_links.test.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.test.ts diff --git a/x-pack/plugins/cases/public/common/navigation/deep_links.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/deep_links.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts diff --git a/x-pack/plugins/cases/public/common/navigation/hooks.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/hooks.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.test.tsx diff --git a/x-pack/plugins/cases/public/common/navigation/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.ts diff --git a/x-pack/plugins/cases/public/common/navigation/index.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/index.ts diff --git a/x-pack/plugins/cases/public/common/navigation/paths.test.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/paths.test.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/paths.test.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/paths.test.ts diff --git a/x-pack/plugins/cases/public/common/navigation/paths.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/paths.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/paths.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/paths.ts diff --git a/x-pack/plugins/cases/public/common/test_utils.tsx b/x-pack/platform/plugins/shared/cases/public/common/test_utils.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/test_utils.tsx rename to x-pack/platform/plugins/shared/cases/public/common/test_utils.tsx diff --git a/x-pack/plugins/cases/public/common/translations.ts b/x-pack/platform/plugins/shared/cases/public/common/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/common/translations.ts rename to x-pack/platform/plugins/shared/cases/public/common/translations.ts diff --git a/x-pack/plugins/cases/public/common/use_cases_features.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_features.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_features.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_features.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_cases_features.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_features.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_features.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_features.tsx diff --git a/x-pack/plugins/cases/public/common/use_cases_local_storage.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_local_storage.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_cases_local_storage.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_local_storage.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.tsx diff --git a/x-pack/plugins/cases/public/common/use_cases_toast.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_toast.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_cases_toast.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_toast.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.tsx diff --git a/x-pack/plugins/cases/public/common/use_is_user_typing.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_is_user_typing.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_is_user_typing.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_is_user_typing.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.tsx diff --git a/x-pack/plugins/cases/public/common/use_license.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_license.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_license.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_license.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_license.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_license.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_license.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_license.tsx diff --git a/x-pack/plugins/cases/public/components/__mock__/form.ts b/x-pack/platform/plugins/shared/cases/public/components/__mock__/form.ts similarity index 100% rename from x-pack/plugins/cases/public/components/__mock__/form.ts rename to x-pack/platform/plugins/shared/cases/public/components/__mock__/form.ts diff --git a/x-pack/plugins/cases/public/components/__mock__/timeline.tsx b/x-pack/platform/plugins/shared/cases/public/components/__mock__/timeline.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/__mock__/timeline.tsx rename to x-pack/platform/plugins/shared/cases/public/components/__mock__/timeline.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/delete/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/delete/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/delete/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/delete/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/delete/use_delete_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/delete/use_delete_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/delete/use_delete_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/delete/use_delete_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/severity/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/severity/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/severity/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/severity/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/severity/use_severity_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/severity/use_severity_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/severity/use_severity_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/severity/use_severity_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/status/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/use_status_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_status_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/use_status_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_status_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/tags/use_tags_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/use_tags_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/use_tags_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/use_tags_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/types.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/types.ts diff --git a/x-pack/plugins/cases/public/components/actions/use_items_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/use_items_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/use_items_state.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_state.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/use_items_state.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_state.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/add_comment/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/add_comment/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/index.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/add_comment/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/schema.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/add_comment/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/translations.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/all_cases_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/all_cases_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/cases_metrics.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/cases_metrics.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/cases_metrics.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/cases_metrics.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/columns_popover.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/columns_popover.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/columns_popover.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/columns_popover.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/constants.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/header.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/header.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/header.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/header.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/header.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/header.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/header.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/header.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/index.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/multi_select_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/multi_select_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/multi_select_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/multi_select_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/nav_buttons.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/nav_buttons.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/nav_buttons.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/nav_buttons.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/schema.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/schema.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/schema.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/schema.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/search.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/search.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/search.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/search.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/search.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/search.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/search.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/search.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/index.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/severity_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/severity_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/severity_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/severity_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/solution_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/solution_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/solution_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/solution_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/status_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/status_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/status_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/status_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/types.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/types.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filters.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filters.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filters.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filters.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/types.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/types.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/use_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_is_loading_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_is_loading_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_is_loading_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_is_loading_cases.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utility_bar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utility_bar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utility_bar.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utility_bar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/index.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/index.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.tsx diff --git a/x-pack/plugins/cases/public/components/app/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/app/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/app/index.tsx diff --git a/x-pack/plugins/cases/public/components/app/routes.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/routes.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/app/routes.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/app/routes.test.tsx diff --git a/x-pack/plugins/cases/public/components/app/routes.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/routes.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/app/routes.tsx rename to x-pack/platform/plugins/shared/cases/public/components/app/routes.tsx diff --git a/x-pack/plugins/cases/public/components/app/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/app/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/app/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/app/translations.ts diff --git a/x-pack/plugins/cases/public/components/app/types.ts b/x-pack/platform/plugins/shared/cases/public/components/app/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/app/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/app/types.ts diff --git a/x-pack/plugins/cases/public/components/app/use_available_owners.test.ts b/x-pack/platform/plugins/shared/cases/public/components/app/use_available_owners.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/app/use_available_owners.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/app/use_available_owners.test.ts diff --git a/x-pack/plugins/cases/public/components/app/use_available_owners.ts b/x-pack/platform/plugins/shared/cases/public/components/app/use_available_owners.ts similarity index 100% rename from x-pack/plugins/cases/public/components/app/use_available_owners.ts rename to x-pack/platform/plugins/shared/cases/public/components/app/use_available_owners.ts diff --git a/x-pack/plugins/cases/public/components/app/use_readonly_header.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/use_readonly_header.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/app/use_readonly_header.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/app/use_readonly_header.test.tsx diff --git a/x-pack/plugins/cases/public/components/app/use_readonly_header.ts b/x-pack/platform/plugins/shared/cases/public/components/app/use_readonly_header.ts similarity index 100% rename from x-pack/plugins/cases/public/components/app/use_readonly_header.ts rename to x-pack/platform/plugins/shared/cases/public/components/app/use_readonly_header.ts diff --git a/x-pack/plugins/cases/public/components/callouts/case_callouts.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/callouts/case_callouts.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/callouts/case_callouts.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/callouts/case_callouts.test.tsx diff --git a/x-pack/plugins/cases/public/components/callouts/case_callouts.tsx b/x-pack/platform/plugins/shared/cases/public/components/callouts/case_callouts.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/callouts/case_callouts.tsx rename to x-pack/platform/plugins/shared/cases/public/components/callouts/case_callouts.tsx diff --git a/x-pack/plugins/cases/public/components/callouts/platinum_callout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/callouts/platinum_callout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/callouts/platinum_callout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/callouts/platinum_callout.test.tsx diff --git a/x-pack/plugins/cases/public/components/callouts/platinum_callout.tsx b/x-pack/platform/plugins/shared/cases/public/components/callouts/platinum_callout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/callouts/platinum_callout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/callouts/platinum_callout.tsx diff --git a/x-pack/plugins/cases/public/components/callouts/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/callouts/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/callouts/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/callouts/translations.ts diff --git a/x-pack/plugins/cases/public/components/case_action_bar/action_bar_status_item.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/action_bar_status_item.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/action_bar_status_item.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/action_bar_status_item.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/action_bar_status_item.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/action_bar_status_item.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/action_bar_status_item.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/action_bar_status_item.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/actions.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/helpers.test.ts b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/helpers.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/helpers.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/helpers.test.ts diff --git a/x-pack/plugins/cases/public/components/case_action_bar/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/helpers.ts diff --git a/x-pack/plugins/cases/public/components/case_action_bar/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/index.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/status_context_menu.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/status_context_menu.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/status_context_menu.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/status_context_menu.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/status_context_menu.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/status_context_menu.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/status_context_menu.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/status_context_menu.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/assignees.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/assignees.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/assignees.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/assignees.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/assignees.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/assignees.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/assignees.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/assignees.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/category.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/category.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/category.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/category.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/category.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/category.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/category.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/category.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/connector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/connector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/connector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/connector.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/connector.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/connector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/connector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/connector.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/custom_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/custom_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/custom_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/custom_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/custom_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/custom_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/custom_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/custom_fields.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/description.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/description.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/description.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/description.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/description.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/description.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/description.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/description.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/index.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/schema.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/severity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/severity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/severity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/severity.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/severity.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/severity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/severity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/severity.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/sync_alerts_toggle.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/sync_alerts_toggle.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/sync_alerts_toggle.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/sync_alerts_toggle.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/sync_alerts_toggle.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/sync_alerts_toggle.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/sync_alerts_toggle.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/sync_alerts_toggle.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/tags.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/title.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/title.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/title.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/translations.ts diff --git a/x-pack/plugins/cases/public/components/case_form_fields/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/case_form_fields/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/utils.ts diff --git a/x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_settings/sync_alerts_switch.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_settings/sync_alerts_switch.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_settings/sync_alerts_switch.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_settings/sync_alerts_switch.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/__mocks__/use_on_refresh_case_view_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/__mocks__/use_on_refresh_case_view_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/__mocks__/use_on_refresh_case_view_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/__mocks__/use_on_refresh_case_view_page.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_page.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/case_view_page.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/case_view_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_tabs.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/case_view_tabs.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_tabs.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/case_view_tabs.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/assign_users.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/assign_users.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/assign_users.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/assign_users.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_activity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts_empty.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts_empty.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_alerts_empty.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts_empty.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_files.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_files.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_files.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_files.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_observables.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_observables.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_observables.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_similar_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_similar_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_similar_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_similar_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/custom_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/custom_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/custom_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/custom_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_category.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_category.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_category.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_category.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/helpers.test.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/helpers.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.test.ts diff --git a/x-pack/plugins/cases/public/components/case_view/components/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.ts diff --git a/x-pack/plugins/cases/public/components/case_view/components/sidebar_section.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_section.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/sidebar_section.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_section.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/sidebar_title.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/sidebar_title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_title.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/user_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/user_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/user_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/user_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/does_not_exist.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/does_not_exist.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/does_not_exist.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/does_not_exist.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/index.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/status.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/status.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/status.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/status.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/totals.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/totals.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/totals.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/totals.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/translations.ts diff --git a/x-pack/plugins/cases/public/components/case_view/mocks.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/mocks.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/mocks.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/mocks.ts diff --git a/x-pack/plugins/cases/public/components/case_view/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/translations.ts diff --git a/x-pack/plugins/cases/public/components/case_view/types.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/types.ts diff --git a/x-pack/plugins/cases/public/components/case_view/use_case_observables.test.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/use_case_observables.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.test.ts diff --git a/x-pack/plugins/cases/public/components/case_view/use_case_observables.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/use_case_observables.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.ts diff --git a/x-pack/plugins/cases/public/components/case_view/use_on_refresh_case_view_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_refresh_case_view_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/use_on_refresh_case_view_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_refresh_case_view_page.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/use_on_update_field.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_update_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/use_on_update_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_update_field.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/cases_global_components.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/cases_global_components.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.test.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/cases_global_components.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/cases_global_components.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/index.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/query_client.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/query_client.ts similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/query_client.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/query_client.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/state/cases_context_reducer.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_context_reducer.ts similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/state/cases_context_reducer.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_context_reducer.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/state/cases_state_context.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_state_context.ts similarity index 92% rename from x-pack/plugins/cases/public/components/cases_context/state/cases_state_context.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_state_context.ts index 14a8c01bef902..86a29b121e752 100644 --- a/x-pack/plugins/cases/public/components/cases_context/state/cases_state_context.ts +++ b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_state_context.ts @@ -14,7 +14,7 @@ export const useCasesStateContext = () => { const casesStateContext = useContext(CasesStateContext); if (!casesStateContext) { throw new Error( - 'useCasesStateContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/plugins/cases/README.md#cases-ui' + 'useCasesStateContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/cases/README.md#cases-ui' ); } return casesStateContext; diff --git a/x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.ts similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/use_cases_context.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/use_cases_context.ts similarity index 90% rename from x-pack/plugins/cases/public/components/cases_context/use_cases_context.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/use_cases_context.ts index 8f93dfe4a02e6..a71ab0bb193e6 100644 --- a/x-pack/plugins/cases/public/components/cases_context/use_cases_context.ts +++ b/x-pack/platform/plugins/shared/cases/public/components/cases_context/use_cases_context.ts @@ -13,7 +13,7 @@ export const useCasesContext = () => { if (!casesContext) { throw new Error( - 'useCasesContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/plugins/cases/README.md#cases-ui' + 'useCasesContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/cases/README.md#cases-ui' ); } diff --git a/x-pack/plugins/cases/public/components/category/category_component.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_component.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_component.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_component.test.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_component.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_component.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_component.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_component.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_form_field.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_form_field.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.test.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_form_field.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_form_field.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_viewer_component.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_viewer_component.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.test.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_viewer_component.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_viewer_component.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.tsx diff --git a/x-pack/plugins/cases/public/components/category/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/category/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/category/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/category/translations.ts diff --git a/x-pack/plugins/cases/public/components/configure_cases/__mock__/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/__mock__/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/__mock__/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/__mock__/index.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/field_mapping.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/field_mapping.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/field_mapping.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/field_mapping.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/field_mapping_row_static.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping_row_static.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/field_mapping_row_static.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping_row_static.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/mapping.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/mapping.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/mapping.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/mapping.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/configure_cases/utils.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/utils.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.ts diff --git a/x-pack/plugins/cases/public/components/confirm_delete_case/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/confirm_delete_case/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/index.tsx diff --git a/x-pack/plugins/cases/public/components/confirm_delete_case/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/confirm_delete_case/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/translations.ts diff --git a/x-pack/plugins/cases/public/components/connector_selector/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connector_selector/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/connector_selector/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connector_selector/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/card.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/card.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/card.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/card.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/card.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/card.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/card.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/card.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/connectors_registry.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/connectors_registry.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/connectors_registry.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/connectors_registry.ts diff --git a/x-pack/plugins/cases/public/components/connectors/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/constants.ts diff --git a/x-pack/plugins/cases/public/components/connectors/deprecated_callout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/deprecated_callout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/fields_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/fields_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/fields_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/fields_form.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/fields_preview_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/fields_preview_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/fields_preview_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/fields_preview_form.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/api.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/search_issues.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/search_issues.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/search_issues.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/search_issues.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/mock.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/mock.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/api.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/helpers.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/validator.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/validator.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/validator.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/validator.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.ts diff --git a/x-pack/plugins/cases/public/components/connectors/test_utils.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/test_utils.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/test_utils.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/test_utils.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/types.ts diff --git a/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/index.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/create/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form.tsx diff --git a/x-pack/plugins/cases/public/components/create/form_context.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form_context.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form_context.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form_context.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/form_context.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form_context.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form_context.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form_context.tsx diff --git a/x-pack/plugins/cases/public/components/create/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form_fields.tsx diff --git a/x-pack/plugins/cases/public/components/create/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/index.tsx diff --git a/x-pack/plugins/cases/public/components/create/mock.ts b/x-pack/platform/plugins/shared/cases/public/components/create/mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/mock.ts diff --git a/x-pack/plugins/cases/public/components/create/owner_selector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/owner_selector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/owner_selector.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/owner_selector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.tsx diff --git a/x-pack/plugins/cases/public/components/create/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/schema.tsx diff --git a/x-pack/plugins/cases/public/components/create/submit_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/submit_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/submit_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/submit_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/submit_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/submit_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/submit_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/submit_button.tsx diff --git a/x-pack/plugins/cases/public/components/create/template.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/template.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/template.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/template.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/templates.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/templates.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/templates.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/templates.tsx diff --git a/x-pack/plugins/cases/public/components/create/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/create/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/translations.ts diff --git a/x-pack/plugins/cases/public/components/create/use_cancel_creation_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/use_cancel_creation_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/use_cancel_creation_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/use_cancel_creation_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.tsx diff --git a/x-pack/plugins/cases/public/components/create/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/create/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/create/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/create/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/utils.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/builder.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/builder.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/builder.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/builder.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/config.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/config.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/create.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/create.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/create.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/create.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/edit.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/edit.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/edit.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/edit.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/view.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/view.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/view.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/view.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/schema.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/config.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/config.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/create.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/create.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/create.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/create.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/edit.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/edit.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/edit.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/edit.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/view.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/view.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/view.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/view.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure_text_field.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_text_field.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure_text_field.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_text_field.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure_toggle_field.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_toggle_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure_toggle_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_toggle_field.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/create.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/create.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/create.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/create.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/edit.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/edit.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/edit.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/edit.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/view.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/view.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/view.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/view.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/translations.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/types.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/types.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.ts diff --git a/x-pack/plugins/cases/public/components/description/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/description/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/description/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/description/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/description/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/description/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/description/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/description/index.tsx diff --git a/x-pack/plugins/cases/public/components/description/schema.ts b/x-pack/platform/plugins/shared/cases/public/components/description/schema.ts similarity index 100% rename from x-pack/plugins/cases/public/components/description/schema.ts rename to x-pack/platform/plugins/shared/cases/public/components/description/schema.ts diff --git a/x-pack/plugins/cases/public/components/edit_connector/connectors_form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/connectors_form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/connectors_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/connectors_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_callouts.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_callouts.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_callouts.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_callouts.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/translations.ts diff --git a/x-pack/plugins/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/empty_value/empty_value.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/empty_value/empty_value.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/empty_value.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/empty_value.test.tsx diff --git a/x-pack/plugins/cases/public/components/empty_value/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/empty_value/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/index.tsx diff --git a/x-pack/plugins/cases/public/components/empty_value/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/empty_value/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/translations.ts diff --git a/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.test.tsx diff --git a/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx b/x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx rename to x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.tsx diff --git a/x-pack/plugins/cases/public/components/files/add_file.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/add_file.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/add_file.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/add_file.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/add_file.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/add_file.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/add_file.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/add_file.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_actions_popover_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_actions_popover_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_actions_popover_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_actions_popover_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_attachment_event.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_attachment_event.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_attachment_event.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_attachment_event.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_delete_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_delete_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_delete_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_delete_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_download_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_download_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_download_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_download_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_name_link.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_name_link.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_name_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_name_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_preview.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_type.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_type.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_type.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_type.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_type.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_type.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_type.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_type.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_table.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_table.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_table.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_table.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_table.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_table.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_table.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_table.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_utility_bar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_utility_bar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_utility_bar.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_utility_bar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.tsx diff --git a/x-pack/plugins/cases/public/components/files/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/translations.tsx diff --git a/x-pack/plugins/cases/public/components/files/types.ts b/x-pack/platform/plugins/shared/cases/public/components/files/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/files/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/files/types.ts diff --git a/x-pack/plugins/cases/public/components/files/use_file_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_file_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/use_file_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_file_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.tsx diff --git a/x-pack/plugins/cases/public/components/files/use_files_table_columns.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_files_table_columns.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/use_files_table_columns.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_files_table_columns.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.tsx diff --git a/x-pack/plugins/cases/public/components/files/utils.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/utils.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/utils.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/utils.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/utils.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/utils.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/utils.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/utils.tsx diff --git a/x-pack/plugins/cases/public/components/filter_popover/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/filter_popover/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/filter_popover/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/filter_popover/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.tsx diff --git a/x-pack/plugins/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/formatted_date/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/formatted_date/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.tsx diff --git a/x-pack/plugins/cases/public/components/formatted_date/maybe_date.test.ts b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/maybe_date.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.test.ts diff --git a/x-pack/plugins/cases/public/components/formatted_date/maybe_date.ts b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.ts similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/maybe_date.ts rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.ts diff --git a/x-pack/plugins/cases/public/components/header_page/editable_title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/editable_title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.test.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/editable_title.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/editable_title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/index.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/title.test.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/title.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/title.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/header_page/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/header_page/translations.ts diff --git a/x-pack/plugins/cases/public/components/insert_timeline/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/insert_timeline/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/insert_timeline/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/insert_timeline/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.tsx diff --git a/x-pack/plugins/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/link_icon/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/link_icon/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/link_icon/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/link_icon/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/link_icon/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/link_icon/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/link_icon/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/link_icon/index.tsx diff --git a/x-pack/plugins/cases/public/components/links/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/links/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/links/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/links/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/links/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/links/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/links/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/links/index.tsx diff --git a/x-pack/plugins/cases/public/components/links/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/links/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/links/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/links/translations.ts diff --git a/x-pack/plugins/cases/public/components/localized_date_tooltip/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/localized_date_tooltip/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/localized_date_tooltip/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/localized_date_tooltip/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/context.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/context.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/context.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/context.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_footer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_footer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_footer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_footer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editor.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editor.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editor.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editor.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/eui_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/eui_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/eui_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/eui_form.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/index.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/markdown_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/markdown_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/markdown_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/markdown_link.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/constants.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/index.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/index.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/parser.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/parser.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/parser.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/parser.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/plugin.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/plugin.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/plugin.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/plugin.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/translations.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/translations.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/types.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/types.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/use_plugins.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/use_plugins.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.ts diff --git a/x-pack/plugins/cases/public/components/no_privileges/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/no_privileges/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/no_privileges/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/no_privileges/index.tsx diff --git a/x-pack/plugins/cases/public/components/no_privileges/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/no_privileges/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/no_privileges/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/no_privileges/translations.ts diff --git a/x-pack/plugins/cases/public/components/observable_types/delete_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/delete_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/delete_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/delete_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/form.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/form_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/form_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/form_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/index.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/observable_types_list/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/observable_types_list/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/observable_types_list/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/observable_types_list/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/schema.tsx diff --git a/x-pack/plugins/cases/public/components/observable_types/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/observable_types/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/observable_types/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/observable_types/translations.ts diff --git a/x-pack/plugins/cases/public/components/observables/add_observable.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/add_observable.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.test.tsx diff --git a/x-pack/plugins/cases/public/components/observables/add_observable.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/add_observable.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.tsx diff --git a/x-pack/plugins/cases/public/components/observables/builder.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/builder.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/builder.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/builder.tsx diff --git a/x-pack/plugins/cases/public/components/observables/edit_observable_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/edit_observable_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/observables/edit_observable_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/edit_observable_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.tsx diff --git a/x-pack/plugins/cases/public/components/observables/fields_config.test.ts b/x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/observables/fields_config.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.test.ts diff --git a/x-pack/plugins/cases/public/components/observables/fields_config.ts b/x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/observables/fields_config.ts rename to x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.ts diff --git a/x-pack/plugins/cases/public/components/observables/observable_actions_popover_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/observable_actions_popover_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/observables/observable_actions_popover_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/observable_actions_popover_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.tsx diff --git a/x-pack/plugins/cases/public/components/observables/observable_form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/observable_form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.test.tsx diff --git a/x-pack/plugins/cases/public/components/observables/observable_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/observable_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.tsx diff --git a/x-pack/plugins/cases/public/components/observables/observables_table.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/observables_table.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.test.tsx diff --git a/x-pack/plugins/cases/public/components/observables/observables_table.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/observables_table.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.tsx diff --git a/x-pack/plugins/cases/public/components/observables/observables_utility_bar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/observables_utility_bar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.test.tsx diff --git a/x-pack/plugins/cases/public/components/observables/observables_utility_bar.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/observables_utility_bar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.tsx diff --git a/x-pack/plugins/cases/public/components/observables/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/observables/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/observables/translations.tsx diff --git a/x-pack/plugins/cases/public/components/optional_field_label/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/optional_field_label/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/optional_field_label/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/optional_field_label/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.tsx diff --git a/x-pack/plugins/cases/public/components/property_actions/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/property_actions/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/property_actions/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/property_actions/index.tsx diff --git a/x-pack/plugins/cases/public/components/property_actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/property_actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/property_actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/property_actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/filters/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/filters/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/filters/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/filters/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/get_filter_options.test.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/get_filter_options.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.test.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/get_filter_options.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/get_filter_options.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/icon_with_count.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/icon_with_count.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/icon_with_count.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/icon_with_count.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/loading_placeholders.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/loading_placeholders.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/loading_placeholders.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/loading_placeholders.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/no_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/no_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/no_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/no_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/recent_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/recent_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/recent_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/recent_cases.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/types.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/types.ts diff --git a/x-pack/plugins/cases/public/components/removable_item/removable_item.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/removable_item/removable_item.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.test.tsx diff --git a/x-pack/plugins/cases/public/components/removable_item/removable_item.tsx b/x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/removable_item/removable_item.tsx rename to x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.tsx diff --git a/x-pack/plugins/cases/public/components/severity/config.ts b/x-pack/platform/plugins/shared/cases/public/components/severity/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/severity/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/severity/config.ts diff --git a/x-pack/plugins/cases/public/components/severity/selector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/severity/selector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/severity/selector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/severity/selector.test.tsx diff --git a/x-pack/plugins/cases/public/components/severity/selector.tsx b/x-pack/platform/plugins/shared/cases/public/components/severity/selector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/severity/selector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/severity/selector.tsx diff --git a/x-pack/plugins/cases/public/components/severity/sidebar_selector.tsx b/x-pack/platform/plugins/shared/cases/public/components/severity/sidebar_selector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/severity/sidebar_selector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/severity/sidebar_selector.tsx diff --git a/x-pack/plugins/cases/public/components/severity/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/severity/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/severity/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/severity/translations.ts diff --git a/x-pack/plugins/cases/public/components/similar_cases/table.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/similar_cases/table.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.test.tsx diff --git a/x-pack/plugins/cases/public/components/similar_cases/table.tsx b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/similar_cases/table.tsx rename to x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.tsx diff --git a/x-pack/plugins/cases/public/components/similar_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/similar_cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/similar_cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/similar_cases/use_similar_cases_columns.tsx b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/use_similar_cases_columns.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/similar_cases/use_similar_cases_columns.tsx rename to x-pack/platform/plugins/shared/cases/public/components/similar_cases/use_similar_cases_columns.tsx diff --git a/x-pack/plugins/cases/public/components/status/button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/button.test.tsx diff --git a/x-pack/plugins/cases/public/components/status/button.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/button.tsx diff --git a/x-pack/plugins/cases/public/components/status/config.ts b/x-pack/platform/plugins/shared/cases/public/components/status/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/config.ts diff --git a/x-pack/plugins/cases/public/components/status/index.ts b/x-pack/platform/plugins/shared/cases/public/components/status/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/index.ts diff --git a/x-pack/plugins/cases/public/components/status/status_popover_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_popover_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/status/status_popover_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_popover_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.tsx diff --git a/x-pack/plugins/cases/public/components/status/status_stats.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_stats.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_stats.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_stats.test.tsx diff --git a/x-pack/plugins/cases/public/components/status/status_stats.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_stats.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_stats.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_stats.tsx diff --git a/x-pack/plugins/cases/public/components/status/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/status/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/translations.ts diff --git a/x-pack/plugins/cases/public/components/status/types.ts b/x-pack/platform/plugins/shared/cases/public/components/status/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/types.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.test.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases_params.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases_params.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.test.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases_params.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases_params.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/constants.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/types.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/types.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/index.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/index.ts diff --git a/x-pack/plugins/cases/public/components/tags/tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/tags/tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/tags/tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/tags/tags.tsx diff --git a/x-pack/plugins/cases/public/components/tags/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/tags/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/tags/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/tags/translations.ts diff --git a/x-pack/plugins/cases/public/components/templates/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/form.tsx diff --git a/x-pack/plugins/cases/public/components/templates/form_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/form_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/form_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.tsx diff --git a/x-pack/plugins/cases/public/components/templates/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/index.tsx diff --git a/x-pack/plugins/cases/public/components/templates/schema.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/schema.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/schema.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/schema.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/schema.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.tsx diff --git a/x-pack/plugins/cases/public/components/templates/templates_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/templates_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/templates_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/templates_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.tsx diff --git a/x-pack/plugins/cases/public/components/templates/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/translations.ts diff --git a/x-pack/plugins/cases/public/components/templates/types.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/types.ts diff --git a/x-pack/plugins/cases/public/components/templates/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/templates/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/utils.ts diff --git a/x-pack/plugins/cases/public/components/timeline_context/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/timeline_context/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/timeline_context/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/timeline_context/index.tsx diff --git a/x-pack/plugins/cases/public/components/timeline_context/use_timeline_context.ts b/x-pack/platform/plugins/shared/cases/public/components/timeline_context/use_timeline_context.ts similarity index 100% rename from x-pack/plugins/cases/public/components/timeline_context/use_timeline_context.ts rename to x-pack/platform/plugins/shared/cases/public/components/timeline_context/use_timeline_context.ts diff --git a/x-pack/plugins/cases/public/components/truncated_text/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/truncated_text/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/truncated_text/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/truncated_text/index.tsx diff --git a/x-pack/plugins/cases/public/components/types.ts b/x-pack/platform/plugins/shared/cases/public/components/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/types.ts diff --git a/x-pack/plugins/cases/public/components/use_breadcrumbs/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_breadcrumbs/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_breadcrumbs/index.ts b/x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_breadcrumbs/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.ts diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.tsx diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/translations.ts diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/types.ts b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/types.ts diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/helpers.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/helpers.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/helpers.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/helpers.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/assignees.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/assignees.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/assignees.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/assignees.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/builder.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/builder.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/builder.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/builder.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/category.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/category.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/category.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/category.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/category.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/category.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/category.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/category.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert_event.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert_event.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert_event.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert_event.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/comment.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/comment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/external_reference.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/external_reference.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/external_reference.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/external_reference.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/persistable_state.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/persistable_state.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/persistable_state.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/persistable_state.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/translations.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/user.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/user.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/user.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/user.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/common.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/common.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/common.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/common.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/common.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/common.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/common.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/common.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/connector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/connector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/connector.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/connector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/constants.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/content_toolbar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/content_toolbar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/content_toolbar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/content_toolbar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/copy_link.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/copy_link.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/copy_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/copy_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/create_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/create_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/create_case.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/create_case.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/description.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/description.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/description.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/description.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/description.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/description.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/description.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/description.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/helpers.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/helpers.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.test.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/index.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/markdown_form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/markdown_form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/markdown_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/markdown_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/mock.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/mock.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/move_to_reference.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/move_to_reference.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/move_to_reference.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/move_to_reference.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/translations.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/pushed.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/pushed.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/pushed.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/pushed.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/schema.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/schema.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/schema.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/schema.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/settings.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/settings.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/settings.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/settings.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/severity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/severity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/severity.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/severity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/show_more_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/show_more_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/show_more_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/show_more_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/status.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/status.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/status.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/status.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/status.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/status.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/status.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/status.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/timestamp.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/timestamp.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/timestamp.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/timestamp.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/title.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/title.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/title.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/types.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/use_last_page.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_last_page.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_last_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_last_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_permissions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_permissions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_permissions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_permissions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/types.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/types.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/data_test_subject.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/data_test_subject.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/data_test_subject.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/data_test_subject.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/display_name.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/display_name.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.test.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/display_name.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/display_name.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/empty_message.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/empty_message.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/empty_message.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/empty_message.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/no_matches.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/no_matches.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/no_matches.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/no_matches.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/removable_user.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/removable_user.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/removable_user.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/removable_user.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/sort.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/sort.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.test.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/sort.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/sort.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/types.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/types.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/unknown_user.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/unknown_user.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/unknown_user.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/unknown_user.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_converter.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_converter.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.test.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_converter.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_converter.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_tooltip.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_tooltip.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_tooltip.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_tooltip.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/username.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/username.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/username.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/username.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.tsx diff --git a/x-pack/plugins/cases/public/components/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/utils.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/add_to_existing_case.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/add_to_existing_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/add_to_existing_case.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/add_to_existing_case.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/index.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/index.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.test.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.test.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/mocks.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/mocks.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/mocks.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/mocks.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/open_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/open_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/open_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/open_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/register.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/register.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/register.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/register.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/types.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/types.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/attachment.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/attachment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/attachment.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/attachment.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/index.mock.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/index.mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/index.mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/index.mock.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/lens_renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/lens_renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/lens_renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/lens_renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/open_lens_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/open_lens_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/open_lens_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/open_lens_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/translations.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/types.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/types.ts diff --git a/x-pack/plugins/cases/public/containers/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/containers/__mocks__/use_get_action_license.tsx b/x-pack/platform/plugins/shared/cases/public/containers/__mocks__/use_get_action_license.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/__mocks__/use_get_action_license.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/__mocks__/use_get_action_license.tsx diff --git a/x-pack/plugins/cases/public/containers/api.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/api.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/api.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/api.test.tsx diff --git a/x-pack/plugins/cases/public/containers/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/api.ts diff --git a/x-pack/plugins/cases/public/containers/configure/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/containers/configure/api.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/api.test.ts diff --git a/x-pack/plugins/cases/public/containers/configure/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/api.ts diff --git a/x-pack/plugins/cases/public/containers/configure/mock.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/mock.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/mock.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/mock.ts diff --git a/x-pack/plugins/cases/public/containers/configure/translations.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/translations.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/translations.ts diff --git a/x-pack/plugins/cases/public/containers/configure/types.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/types.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/types.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/types.ts diff --git a/x-pack/plugins/cases/public/containers/configure/use_action_types.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_action_types.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.test.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_action_types.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_action_types.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.test.ts diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.test.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.test.ts diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.test.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/utils.test.ts diff --git a/x-pack/plugins/cases/public/containers/configure/utils.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/utils.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/utils.ts diff --git a/x-pack/plugins/cases/public/containers/constants.ts b/x-pack/platform/plugins/shared/cases/public/containers/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/constants.ts rename to x-pack/platform/plugins/shared/cases/public/containers/constants.ts diff --git a/x-pack/plugins/cases/public/containers/mock.ts b/x-pack/platform/plugins/shared/cases/public/containers/mock.ts similarity index 99% rename from x-pack/plugins/cases/public/containers/mock.ts rename to x-pack/platform/plugins/shared/cases/public/containers/mock.ts index e45fd7c10bd43..5253e425a2a88 100644 --- a/x-pack/plugins/cases/public/containers/mock.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/mock.ts @@ -769,7 +769,7 @@ export const getUserAction = ( type: UserActionTypes.assignees, payload: { assignees: [ - // These values map to uids in x-pack/plugins/cases/public/containers/user_profiles/api.mock.ts + // These values map to uids in x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.mock.ts { uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }, { uid: 'u_A_tM4n0wPkdiQ9smmd8o0Hr_h61XQfu8aRPh9GMoRoc_0' }, ], diff --git a/x-pack/plugins/cases/public/containers/translations.ts b/x-pack/platform/plugins/shared/cases/public/containers/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/translations.ts rename to x-pack/platform/plugins/shared/cases/public/containers/translations.ts diff --git a/x-pack/plugins/cases/public/containers/types.ts b/x-pack/platform/plugins/shared/cases/public/containers/types.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/types.ts rename to x-pack/platform/plugins/shared/cases/public/containers/types.ts diff --git a/x-pack/plugins/cases/public/containers/use_bulk_update_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_bulk_update_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_bulk_update_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_bulk_update_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.tsx diff --git a/x-pack/plugins/cases/public/containers/use_create_attachments.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_create_attachments.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_create_attachments.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_create_attachments.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_cases.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_comment.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_comment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_comment.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_comment.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_file_attachment.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_file_attachment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_file_attachment.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_file_attachment.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_observables.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_observables.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_observables.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.tsx diff --git a/x-pack/plugins/cases/public/containers/use_find_case_user_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_find_case_user_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_find_case_user_actions.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_find_case_user_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_action_license.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_action_license.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_action_license.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_action_license.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_connectors.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_connectors.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_connectors.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_connectors.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_file_stats.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_file_stats.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_file_stats.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_file_stats.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_files.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_files.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_files.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_files.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_metrics.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_metrics.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_metrics.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_metrics.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_users.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_users.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_users.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_users.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases_metrics.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases_metrics.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases_metrics.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases_metrics.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_categories.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_categories.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_categories.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_categories.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_feature_ids.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_feature_ids.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_feature_ids.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_feature_ids.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_similar_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_similar_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_similar_cases.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_similar_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_tags.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_tags.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.tsx diff --git a/x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.tsx diff --git a/x-pack/plugins/cases/public/containers/use_messages_storage.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_messages_storage.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_messages_storage.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_messages_storage.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.tsx diff --git a/x-pack/plugins/cases/public/containers/use_patch_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_patch_observables.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_patch_observables.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_patch_observables.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.tsx diff --git a/x-pack/plugins/cases/public/containers/use_post_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_post_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_case.tsx diff --git a/x-pack/plugins/cases/public/containers/use_post_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_observables.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_post_observables.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_observables.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.tsx diff --git a/x-pack/plugins/cases/public/containers/use_post_push_to_service.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_push_to_service.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_post_push_to_service.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_push_to_service.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.tsx diff --git a/x-pack/plugins/cases/public/containers/use_replace_custom_field.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_replace_custom_field.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_replace_custom_field.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_replace_custom_field.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_case.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_comment.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_comment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_comment.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_comment.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.tsx diff --git a/x-pack/plugins/cases/public/containers/user_profiles/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/api.mock.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.mock.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/api.mock.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.mock.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/api.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_assignees.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_assignees.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_assignees.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_assignees.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.ts diff --git a/x-pack/plugins/cases/public/containers/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/utils.test.ts diff --git a/x-pack/plugins/cases/public/containers/utils.ts b/x-pack/platform/plugins/shared/cases/public/containers/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/utils.ts rename to x-pack/platform/plugins/shared/cases/public/containers/utils.ts diff --git a/x-pack/plugins/cases/public/files/index.test.ts b/x-pack/platform/plugins/shared/cases/public/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/files/index.test.ts diff --git a/x-pack/plugins/cases/public/files/index.ts b/x-pack/platform/plugins/shared/cases/public/files/index.ts similarity index 100% rename from x-pack/plugins/cases/public/files/index.ts rename to x-pack/platform/plugins/shared/cases/public/files/index.ts diff --git a/x-pack/plugins/cases/public/files/translations.ts b/x-pack/platform/plugins/shared/cases/public/files/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/files/translations.ts rename to x-pack/platform/plugins/shared/cases/public/files/translations.ts diff --git a/x-pack/plugins/cases/public/files/types.ts b/x-pack/platform/plugins/shared/cases/public/files/types.ts similarity index 100% rename from x-pack/plugins/cases/public/files/types.ts rename to x-pack/platform/plugins/shared/cases/public/files/types.ts diff --git a/x-pack/plugins/cases/public/index.tsx b/x-pack/platform/plugins/shared/cases/public/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/index.tsx rename to x-pack/platform/plugins/shared/cases/public/index.tsx diff --git a/x-pack/plugins/cases/public/internal_attachments/index.ts b/x-pack/platform/plugins/shared/cases/public/internal_attachments/index.ts similarity index 100% rename from x-pack/plugins/cases/public/internal_attachments/index.ts rename to x-pack/platform/plugins/shared/cases/public/internal_attachments/index.ts diff --git a/x-pack/plugins/cases/public/mocks.ts b/x-pack/platform/plugins/shared/cases/public/mocks.ts similarity index 100% rename from x-pack/plugins/cases/public/mocks.ts rename to x-pack/platform/plugins/shared/cases/public/mocks.ts diff --git a/x-pack/plugins/cases/public/mocks/mock_cases_context.tsx b/x-pack/platform/plugins/shared/cases/public/mocks/mock_cases_context.tsx similarity index 100% rename from x-pack/plugins/cases/public/mocks/mock_cases_context.tsx rename to x-pack/platform/plugins/shared/cases/public/mocks/mock_cases_context.tsx diff --git a/x-pack/plugins/cases/public/plugin.test.ts b/x-pack/platform/plugins/shared/cases/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cases/public/plugin.test.ts rename to x-pack/platform/plugins/shared/cases/public/plugin.test.ts diff --git a/x-pack/plugins/cases/public/plugin.ts b/x-pack/platform/plugins/shared/cases/public/plugin.ts similarity index 100% rename from x-pack/plugins/cases/public/plugin.ts rename to x-pack/platform/plugins/shared/cases/public/plugin.ts diff --git a/x-pack/plugins/cases/public/types.ts b/x-pack/platform/plugins/shared/cases/public/types.ts similarity index 100% rename from x-pack/plugins/cases/public/types.ts rename to x-pack/platform/plugins/shared/cases/public/types.ts diff --git a/x-pack/plugins/cases/public/utils/permissions.test.ts b/x-pack/platform/plugins/shared/cases/public/utils/permissions.test.ts similarity index 100% rename from x-pack/plugins/cases/public/utils/permissions.test.ts rename to x-pack/platform/plugins/shared/cases/public/utils/permissions.test.ts diff --git a/x-pack/plugins/cases/public/utils/permissions.ts b/x-pack/platform/plugins/shared/cases/public/utils/permissions.ts similarity index 100% rename from x-pack/plugins/cases/public/utils/permissions.ts rename to x-pack/platform/plugins/shared/cases/public/utils/permissions.ts diff --git a/x-pack/plugins/cases/public/utils/use_mount_appended.ts b/x-pack/platform/plugins/shared/cases/public/utils/use_mount_appended.ts similarity index 100% rename from x-pack/plugins/cases/public/utils/use_mount_appended.ts rename to x-pack/platform/plugins/shared/cases/public/utils/use_mount_appended.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/external_reference_registry.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/external_reference_registry.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/external_reference_registry.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/external_reference_registry.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/mocks.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/mocks.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.test.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.test.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.test.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.test.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/so_references.test.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/so_references.test.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.test.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/so_references.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/so_references.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/types.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/types.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/types.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/types.ts diff --git a/x-pack/plugins/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap diff --git a/x-pack/plugins/cases/server/authorization/__snapshots__/authorization.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/authorization.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/authorization/__snapshots__/authorization.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/authorization.test.ts.snap diff --git a/x-pack/plugins/cases/server/authorization/audit_logger.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/audit_logger.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.test.ts diff --git a/x-pack/plugins/cases/server/authorization/audit_logger.ts b/x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/audit_logger.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.ts diff --git a/x-pack/plugins/cases/server/authorization/authorization.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/authorization.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/authorization.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/authorization.test.ts diff --git a/x-pack/plugins/cases/server/authorization/authorization.ts b/x-pack/platform/plugins/shared/cases/server/authorization/authorization.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/authorization.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/authorization.ts diff --git a/x-pack/plugins/cases/server/authorization/index.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/index.test.ts diff --git a/x-pack/plugins/cases/server/authorization/index.ts b/x-pack/platform/plugins/shared/cases/server/authorization/index.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/index.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/index.ts diff --git a/x-pack/plugins/cases/server/authorization/mock.ts b/x-pack/platform/plugins/shared/cases/server/authorization/mock.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/mock.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/mock.ts diff --git a/x-pack/plugins/cases/server/authorization/types.ts b/x-pack/platform/plugins/shared/cases/server/authorization/types.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/types.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/types.ts diff --git a/x-pack/plugins/cases/server/authorization/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/utils.test.ts diff --git a/x-pack/plugins/cases/server/authorization/utils.ts b/x-pack/platform/plugins/shared/cases/server/authorization/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/utils.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/utils.ts diff --git a/x-pack/plugins/cases/server/client/alerts/get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/alerts/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/alerts/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/alerts/get.test.ts diff --git a/x-pack/plugins/cases/server/client/alerts/get.ts b/x-pack/platform/plugins/shared/cases/server/client/alerts/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/alerts/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/alerts/get.ts diff --git a/x-pack/plugins/cases/server/client/alerts/types.ts b/x-pack/platform/plugins/shared/cases/server/client/alerts/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/alerts/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/alerts/types.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add_file.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add_file.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add_file.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add_file.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_create.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_create.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_create.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_create.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_delete.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_delete.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_delete.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_delete.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_get.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_get.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.ts diff --git a/x-pack/plugins/cases/server/client/attachments/client.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/client.ts diff --git a/x-pack/plugins/cases/server/client/attachments/delete.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/delete.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/delete.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/delete.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/delete.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/delete.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/delete.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/delete.ts diff --git a/x-pack/plugins/cases/server/client/attachments/get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/get.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/get.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/get.ts diff --git a/x-pack/plugins/cases/server/client/attachments/types.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/types.ts diff --git a/x-pack/plugins/cases/server/client/attachments/update.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/update.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/update.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/update.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/update.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/update.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/update.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/update.ts diff --git a/x-pack/plugins/cases/server/client/attachments/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/validators.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/validators.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_create.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_create.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_create.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_create.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_get.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_get.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_update.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_update.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_update.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_update.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.ts diff --git a/x-pack/plugins/cases/server/client/cases/client.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/client.ts diff --git a/x-pack/plugins/cases/server/client/cases/create.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/create.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/create.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/create.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/create.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/create.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/create.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/create.ts diff --git a/x-pack/plugins/cases/server/client/cases/delete.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/delete.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/delete.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/delete.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/delete.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/delete.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/delete.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/delete.ts diff --git a/x-pack/plugins/cases/server/client/cases/get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/get.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/get.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/get.ts diff --git a/x-pack/plugins/cases/server/client/cases/mock.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/mock.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/mock.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/mock.ts diff --git a/x-pack/plugins/cases/server/client/cases/observables.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/observables.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/observables.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/observables.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/observables.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/observables.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/observables.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/observables.ts diff --git a/x-pack/plugins/cases/server/client/cases/push.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/push.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/push.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/push.ts diff --git a/x-pack/plugins/cases/server/client/cases/replace_custom_field.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/replace_custom_field.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/replace_custom_field.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/replace_custom_field.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.ts diff --git a/x-pack/plugins/cases/server/client/cases/search.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/search.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/search.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/search.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/search.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/search.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/search.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/search.ts diff --git a/x-pack/plugins/cases/server/client/cases/similar.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/similar.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/similar.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/similar.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/similar.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/similar.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/similar.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/similar.ts diff --git a/x-pack/plugins/cases/server/client/cases/translations.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/translations.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/translations.ts diff --git a/x-pack/plugins/cases/server/client/cases/types.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/types.ts diff --git a/x-pack/plugins/cases/server/client/cases/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/utils.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/utils.ts diff --git a/x-pack/plugins/cases/server/client/cases/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/validators.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/validators.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/validators.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/validators.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/validators.ts diff --git a/x-pack/plugins/cases/server/client/client.ts b/x-pack/platform/plugins/shared/cases/server/client/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/client.ts diff --git a/x-pack/plugins/cases/server/client/client_internal.ts b/x-pack/platform/plugins/shared/cases/server/client/client_internal.ts similarity index 100% rename from x-pack/plugins/cases/server/client/client_internal.ts rename to x-pack/platform/plugins/shared/cases/server/client/client_internal.ts diff --git a/x-pack/plugins/cases/server/client/configure/client.test.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/client.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/client.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/client.test.ts diff --git a/x-pack/plugins/cases/server/client/configure/client.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/client.ts diff --git a/x-pack/plugins/cases/server/client/configure/create_mappings.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/create_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/create_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/create_mappings.ts diff --git a/x-pack/plugins/cases/server/client/configure/get_mappings.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/get_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/get_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/get_mappings.ts diff --git a/x-pack/plugins/cases/server/client/configure/types.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/types.ts diff --git a/x-pack/plugins/cases/server/client/configure/update_mappings.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/update_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/update_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/update_mappings.ts diff --git a/x-pack/plugins/cases/server/client/configure/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/validators.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/validators.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/validators.test.ts diff --git a/x-pack/plugins/cases/server/client/configure/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/validators.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/validators.ts diff --git a/x-pack/plugins/cases/server/client/factory.test.ts b/x-pack/platform/plugins/shared/cases/server/client/factory.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/factory.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/factory.test.ts diff --git a/x-pack/plugins/cases/server/client/factory.ts b/x-pack/platform/plugins/shared/cases/server/client/factory.ts similarity index 100% rename from x-pack/plugins/cases/server/client/factory.ts rename to x-pack/platform/plugins/shared/cases/server/client/factory.ts diff --git a/x-pack/plugins/cases/server/client/files/index.test.ts b/x-pack/platform/plugins/shared/cases/server/client/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/files/index.test.ts diff --git a/x-pack/plugins/cases/server/client/files/index.ts b/x-pack/platform/plugins/shared/cases/server/client/files/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/files/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/files/index.ts diff --git a/x-pack/plugins/cases/server/client/index.ts b/x-pack/platform/plugins/shared/cases/server/client/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/index.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/actions.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/actions.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/actions.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/actions.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/aggregations/isolate_host.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/aggregations/isolate_host.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/aggregations/isolate_host.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/aggregations/isolate_host.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/index.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/index.ts diff --git a/x-pack/plugins/cases/server/client/metrics/aggregation_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/aggregation_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/aggregation_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/aggregation_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/aggregations/hosts.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/hosts.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/aggregations/hosts.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/hosts.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/aggregations/index.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/aggregations/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/index.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/aggregations/users.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/users.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/aggregations/users.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/users.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/count.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/count.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/count.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/count.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/details.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/details.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/details.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/details.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/mttr.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/mttr.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/mttr.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/mttr.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/status.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/status.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/status.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/status.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases_aggregation_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_aggregation_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases_aggregation_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_aggregation_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases_base_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_base_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases_base_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_base_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/base_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/base_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/base_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/base_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/client.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/client.ts diff --git a/x-pack/plugins/cases/server/client/metrics/connectors.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/connectors.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/connectors.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_case_metrics.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_case_metrics.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_case_metrics.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_case_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_cases_metrics.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_cases_metrics.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_cases_metrics.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_cases_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_status_totals.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_status_totals.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_status_totals.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_status_totals.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.ts diff --git a/x-pack/plugins/cases/server/client/metrics/lifespan.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/lifespan.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/lifespan.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/lifespan.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.ts diff --git a/x-pack/plugins/cases/server/client/metrics/single_case_aggregation_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_aggregation_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/single_case_aggregation_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_aggregation_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/single_case_base_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_base_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/single_case_base_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_base_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/test_utils/alerts.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/test_utils/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/alerts.ts diff --git a/x-pack/plugins/cases/server/client/metrics/test_utils/client.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/test_utils/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/client.ts diff --git a/x-pack/plugins/cases/server/client/metrics/test_utils/lifespan.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/lifespan.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/test_utils/lifespan.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/lifespan.ts diff --git a/x-pack/plugins/cases/server/client/metrics/types.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/types.ts diff --git a/x-pack/plugins/cases/server/client/metrics/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/utils.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/utils.ts diff --git a/x-pack/plugins/cases/server/client/mocks.ts b/x-pack/platform/plugins/shared/cases/server/client/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/client/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/client/mocks.ts diff --git a/x-pack/plugins/cases/server/client/observable_types.test.ts b/x-pack/platform/plugins/shared/cases/server/client/observable_types.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/observable_types.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/observable_types.test.ts diff --git a/x-pack/plugins/cases/server/client/observable_types.ts b/x-pack/platform/plugins/shared/cases/server/client/observable_types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/observable_types.ts rename to x-pack/platform/plugins/shared/cases/server/client/observable_types.ts diff --git a/x-pack/plugins/cases/server/client/types.ts b/x-pack/platform/plugins/shared/cases/server/client/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/types.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/client.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/client.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/connectors.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/connectors.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/find.test.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/find.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/find.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/find.test.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/find.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/find.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/find.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/find.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/get.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/get.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/stats.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/stats.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/stats.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/stats.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/types.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/users.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/users.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/users.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/users.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/utils.ts diff --git a/x-pack/plugins/cases/server/client/user_profiles.mock.ts b/x-pack/platform/plugins/shared/cases/server/client/user_profiles.mock.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_profiles.mock.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_profiles.mock.ts diff --git a/x-pack/plugins/cases/server/client/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/client/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/utils.test.ts diff --git a/x-pack/plugins/cases/server/client/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/utils.ts similarity index 99% rename from x-pack/plugins/cases/server/client/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/utils.ts index 80c2339551b1e..fb4e4d469ad42 100644 --- a/x-pack/plugins/cases/server/client/utils.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/utils.ts @@ -549,10 +549,10 @@ export const getCaseToUpdate = ( /** * TODO: Backend is not connected with the - * frontend in x-pack/plugins/cases/common/ui/types.ts. + * frontend in x-pack/platform/plugins/shared/cases/common/ui/types.ts. * It is easy to forget to update a sort field. * We should fix it and make it common. - * Also the sortField in x-pack/plugins/cases/common/api/cases/case.ts + * Also the sortField in x-pack/platform/plugins/shared/cases/common/api/cases/case.ts * is set to string. We should narrow it to the * acceptable values */ diff --git a/x-pack/plugins/cases/server/client/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/client/validators.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/validators.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/validators.test.ts diff --git a/x-pack/plugins/cases/server/client/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/client/validators.ts rename to x-pack/platform/plugins/shared/cases/server/client/validators.ts diff --git a/x-pack/plugins/cases/server/common/constants.ts b/x-pack/platform/plugins/shared/cases/server/common/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/common/constants.ts rename to x-pack/platform/plugins/shared/cases/server/common/constants.ts diff --git a/x-pack/plugins/cases/server/common/error.test.ts b/x-pack/platform/plugins/shared/cases/server/common/error.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/error.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/error.test.ts diff --git a/x-pack/plugins/cases/server/common/error.ts b/x-pack/platform/plugins/shared/cases/server/common/error.ts similarity index 100% rename from x-pack/plugins/cases/server/common/error.ts rename to x-pack/platform/plugins/shared/cases/server/common/error.ts diff --git a/x-pack/plugins/cases/server/common/index.ts b/x-pack/platform/plugins/shared/cases/server/common/index.ts similarity index 100% rename from x-pack/plugins/cases/server/common/index.ts rename to x-pack/platform/plugins/shared/cases/server/common/index.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/base_limiter.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/base_limiter.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/base_limiter.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/base_limiter.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/index.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/index.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/index.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/files.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/files.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/files.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/files.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/test_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/test_utils.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/types.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/types.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/types.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/types.ts diff --git a/x-pack/plugins/cases/server/common/models/case_with_comments.test.ts b/x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/models/case_with_comments.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.test.ts diff --git a/x-pack/plugins/cases/server/common/models/case_with_comments.ts b/x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.ts similarity index 100% rename from x-pack/plugins/cases/server/common/models/case_with_comments.ts rename to x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.ts diff --git a/x-pack/plugins/cases/server/common/models/index.ts b/x-pack/platform/plugins/shared/cases/server/common/models/index.ts similarity index 100% rename from x-pack/plugins/cases/server/common/models/index.ts rename to x-pack/platform/plugins/shared/cases/server/common/models/index.ts diff --git a/x-pack/plugins/cases/server/common/partitioning.test.ts b/x-pack/platform/plugins/shared/cases/server/common/partitioning.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/partitioning.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/partitioning.test.ts diff --git a/x-pack/plugins/cases/server/common/partitioning.ts b/x-pack/platform/plugins/shared/cases/server/common/partitioning.ts similarity index 100% rename from x-pack/plugins/cases/server/common/partitioning.ts rename to x-pack/platform/plugins/shared/cases/server/common/partitioning.ts diff --git a/x-pack/plugins/cases/server/common/references.test.ts b/x-pack/platform/plugins/shared/cases/server/common/references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/references.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/references.test.ts diff --git a/x-pack/plugins/cases/server/common/references.ts b/x-pack/platform/plugins/shared/cases/server/common/references.ts similarity index 100% rename from x-pack/plugins/cases/server/common/references.ts rename to x-pack/platform/plugins/shared/cases/server/common/references.ts diff --git a/x-pack/plugins/cases/server/common/runtime_types.test.ts b/x-pack/platform/plugins/shared/cases/server/common/runtime_types.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/runtime_types.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/runtime_types.test.ts diff --git a/x-pack/plugins/cases/server/common/runtime_types.ts b/x-pack/platform/plugins/shared/cases/server/common/runtime_types.ts similarity index 100% rename from x-pack/plugins/cases/server/common/runtime_types.ts rename to x-pack/platform/plugins/shared/cases/server/common/runtime_types.ts diff --git a/x-pack/plugins/cases/server/common/types.ts b/x-pack/platform/plugins/shared/cases/server/common/types.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types.ts rename to x-pack/platform/plugins/shared/cases/server/common/types.ts diff --git a/x-pack/plugins/cases/server/common/types/attachments.ts b/x-pack/platform/plugins/shared/cases/server/common/types/attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/attachments.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/attachments.ts diff --git a/x-pack/plugins/cases/server/common/types/case.test.ts b/x-pack/platform/plugins/shared/cases/server/common/types/case.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/case.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/case.test.ts diff --git a/x-pack/plugins/cases/server/common/types/case.ts b/x-pack/platform/plugins/shared/cases/server/common/types/case.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/case.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/case.ts diff --git a/x-pack/plugins/cases/server/common/types/configure.test.ts b/x-pack/platform/plugins/shared/cases/server/common/types/configure.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/configure.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/configure.test.ts diff --git a/x-pack/plugins/cases/server/common/types/configure.ts b/x-pack/platform/plugins/shared/cases/server/common/types/configure.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/configure.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/configure.ts diff --git a/x-pack/plugins/cases/server/common/types/connector_mappings.test.ts b/x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/connector_mappings.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.test.ts diff --git a/x-pack/plugins/cases/server/common/types/connector_mappings.ts b/x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/connector_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.ts diff --git a/x-pack/plugins/cases/server/common/types/connectors.ts b/x-pack/platform/plugins/shared/cases/server/common/types/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/connectors.ts diff --git a/x-pack/plugins/cases/server/common/types/external_service.ts b/x-pack/platform/plugins/shared/cases/server/common/types/external_service.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/external_service.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/external_service.ts diff --git a/x-pack/plugins/cases/server/common/types/user.ts b/x-pack/platform/plugins/shared/cases/server/common/types/user.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/user.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/user.ts diff --git a/x-pack/plugins/cases/server/common/types/user_actions.ts b/x-pack/platform/plugins/shared/cases/server/common/types/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/user_actions.ts diff --git a/x-pack/plugins/cases/server/common/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/common/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/utils.test.ts diff --git a/x-pack/plugins/cases/server/common/utils.ts b/x-pack/platform/plugins/shared/cases/server/common/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/common/utils.ts rename to x-pack/platform/plugins/shared/cases/server/common/utils.ts diff --git a/x-pack/plugins/cases/server/common/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/common/validators.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/validators.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/validators.test.ts diff --git a/x-pack/plugins/cases/server/common/validators.ts b/x-pack/platform/plugins/shared/cases/server/common/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/common/validators.ts rename to x-pack/platform/plugins/shared/cases/server/common/validators.ts diff --git a/x-pack/plugins/cases/server/config.test.ts b/x-pack/platform/plugins/shared/cases/server/config.test.ts similarity index 100% rename from x-pack/plugins/cases/server/config.test.ts rename to x-pack/platform/plugins/shared/cases/server/config.test.ts diff --git a/x-pack/plugins/cases/server/config.ts b/x-pack/platform/plugins/shared/cases/server/config.ts similarity index 100% rename from x-pack/plugins/cases/server/config.ts rename to x-pack/platform/plugins/shared/cases/server/config.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/README.md b/x-pack/platform/plugins/shared/cases/server/connectors/cases/README.md similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/README.md rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/README.md diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector_error.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_error.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector_error.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_error.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/constants.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/constants.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/constants.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/crypto_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/crypto_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/crypto_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/crypto_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/index.mock.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/index.mock.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/index.mock.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/index.mock.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/index.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/index.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/index.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/retry_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/retry_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/retry_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/retry_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/schema.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/schema.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/schema.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/schema.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/test_helpers.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/test_helpers.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/test_helpers.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/test_helpers.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/translations.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/translations.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/translations.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/types.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/utils.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/utils.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/format.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/index.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/types.ts diff --git a/x-pack/plugins/cases/server/connectors/factory.ts b/x-pack/platform/plugins/shared/cases/server/connectors/factory.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/factory.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/factory.ts diff --git a/x-pack/plugins/cases/server/connectors/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/index.ts similarity index 96% rename from x-pack/plugins/cases/server/connectors/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/index.ts index 56dcddfbee76a..ee19b73c910bd 100644 --- a/x-pack/plugins/cases/server/connectors/index.ts +++ b/x-pack/platform/plugins/shared/cases/server/connectors/index.ts @@ -41,7 +41,7 @@ export function registerConnectorTypes({ * The actions framework ensures that the user executing the case action * will have permissions to use cases for the corresponding owner and space. * The required Kibana privileges needed to execute the case action are defined - * in x-pack/plugins/cases/server/connectors/cases/index.ts. + * in x-pack/platform/plugins/shared/cases/server/connectors/cases/index.ts. * * We can safely disable security checks performed by the saved object client * as we implement our custom authorization. diff --git a/x-pack/plugins/cases/server/connectors/jira/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/format.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/index.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/types.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/index.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/types.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/index.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/itsm_format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/itsm_format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/itsm_format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/itsm_format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/itsm_mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/itsm_mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/sir_format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/sir_format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/sir_format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/sir_format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/sir_mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/sir_mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/types.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/index.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/types.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/index.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/types.ts diff --git a/x-pack/plugins/cases/server/connectors/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/types.ts diff --git a/x-pack/plugins/cases/server/custom_fields/factory.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/factory.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/factory.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/factory.ts diff --git a/x-pack/plugins/cases/server/custom_fields/index.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/index.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/index.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/index.ts diff --git a/x-pack/plugins/cases/server/custom_fields/number.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/number.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/number.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/number.ts diff --git a/x-pack/plugins/cases/server/custom_fields/text.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/text.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/text.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/text.ts diff --git a/x-pack/plugins/cases/server/custom_fields/toggle.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/toggle.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/toggle.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/toggle.ts diff --git a/x-pack/plugins/cases/server/custom_fields/types.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/types.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/types.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/types.ts diff --git a/x-pack/plugins/cases/server/features/constants.ts b/x-pack/platform/plugins/shared/cases/server/features/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/features/constants.ts rename to x-pack/platform/plugins/shared/cases/server/features/constants.ts diff --git a/x-pack/plugins/cases/server/features/index.ts b/x-pack/platform/plugins/shared/cases/server/features/index.ts similarity index 100% rename from x-pack/plugins/cases/server/features/index.ts rename to x-pack/platform/plugins/shared/cases/server/features/index.ts diff --git a/x-pack/plugins/cases/server/features/v1.ts b/x-pack/platform/plugins/shared/cases/server/features/v1.ts similarity index 100% rename from x-pack/plugins/cases/server/features/v1.ts rename to x-pack/platform/plugins/shared/cases/server/features/v1.ts diff --git a/x-pack/plugins/cases/server/features/v2.ts b/x-pack/platform/plugins/shared/cases/server/features/v2.ts similarity index 100% rename from x-pack/plugins/cases/server/features/v2.ts rename to x-pack/platform/plugins/shared/cases/server/features/v2.ts diff --git a/x-pack/plugins/cases/server/files/index.test.ts b/x-pack/platform/plugins/shared/cases/server/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/files/index.test.ts diff --git a/x-pack/plugins/cases/server/files/index.ts b/x-pack/platform/plugins/shared/cases/server/files/index.ts similarity index 100% rename from x-pack/plugins/cases/server/files/index.ts rename to x-pack/platform/plugins/shared/cases/server/files/index.ts diff --git a/x-pack/plugins/cases/server/files/types.ts b/x-pack/platform/plugins/shared/cases/server/files/types.ts similarity index 100% rename from x-pack/plugins/cases/server/files/types.ts rename to x-pack/platform/plugins/shared/cases/server/files/types.ts diff --git a/x-pack/plugins/cases/server/index.ts b/x-pack/platform/plugins/shared/cases/server/index.ts similarity index 100% rename from x-pack/plugins/cases/server/index.ts rename to x-pack/platform/plugins/shared/cases/server/index.ts diff --git a/x-pack/plugins/cases/server/internal_attachments/index.ts b/x-pack/platform/plugins/shared/cases/server/internal_attachments/index.ts similarity index 100% rename from x-pack/plugins/cases/server/internal_attachments/index.ts rename to x-pack/platform/plugins/shared/cases/server/internal_attachments/index.ts diff --git a/x-pack/plugins/cases/server/mocks.ts b/x-pack/platform/plugins/shared/cases/server/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/mocks.ts diff --git a/x-pack/plugins/cases/server/plugin.test.ts b/x-pack/platform/plugins/shared/cases/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cases/server/plugin.test.ts rename to x-pack/platform/plugins/shared/cases/server/plugin.test.ts diff --git a/x-pack/plugins/cases/server/plugin.ts b/x-pack/platform/plugins/shared/cases/server/plugin.ts similarity index 100% rename from x-pack/plugins/cases/server/plugin.ts rename to x-pack/platform/plugins/shared/cases/server/plugin.ts diff --git a/x-pack/plugins/cases/server/routes/api/__mocks__/request_responses.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/__mocks__/request_responses.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/__mocks__/request_responses.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/__mocks__/request_responses.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/alerts/get_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/alerts/get_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/alerts/get_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/alerts/get_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/categories/get_categories.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/categories/get_categories.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/categories/get_categories.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/categories/get_categories.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/delete_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/delete_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/delete_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/delete_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/find_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/find_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/find_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/find_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/get_case.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/get_case.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/get_case.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/get_case.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/patch_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/patch_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/patch_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/patch_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/post_case.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/post_case.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/post_case.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/post_case.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/push_case.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/push_case.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/push_case.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/push_case.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/reporters/get_reporters.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/reporters/get_reporters.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/reporters/get_reporters.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/reporters/get_reporters.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/similar.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/similar.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/similar.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/similar.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/tags/get_tags.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/tags/get_tags.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/tags/get_tags.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/tags/get_tags.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/delete_all_comments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_all_comments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/delete_all_comments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_all_comments.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/delete_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/delete_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/find_comments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/find_comments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/find_comments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/find_comments.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_alerts.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_alerts.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_alerts.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_all_comment.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_all_comment.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_all_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_all_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/patch_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/patch_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/patch_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/patch_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/post_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/post_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/post_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/post_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/get_configure.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_configure.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/get_configure.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_configure.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/get_connectors.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/get_connectors.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_connectors.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/patch_configure.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/patch_configure.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/patch_configure.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/patch_configure.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/post_configure.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/post_configure.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/post_configure.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/post_configure.ts diff --git a/x-pack/plugins/cases/server/routes/api/constants.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/constants.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/constants.ts diff --git a/x-pack/plugins/cases/server/routes/api/create_cases_route.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/create_cases_route.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/create_cases_route.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/create_cases_route.ts diff --git a/x-pack/plugins/cases/server/routes/api/files/post_file.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/files/post_file.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/files/post_file.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/files/post_file.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.ts diff --git a/x-pack/plugins/cases/server/routes/api/get_external_routes.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/get_external_routes.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/get_external_routes.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/get_external_routes.ts diff --git a/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/get_internal_routes.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/get_internal_routes.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/get_internal_routes.ts diff --git a/x-pack/plugins/cases/server/routes/api/index.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/index.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/index.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/index.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_create_attachments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_create_attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_create_attachments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_create_attachments.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_delete_file_attachments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_delete_file_attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_delete_file_attachments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_delete_file_attachments.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_get_attachments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_get_attachments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_attachments.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_get_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_get_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_case_metrics.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_case_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_metrics.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_case_user_actions_stats.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_user_actions_stats.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_case_user_actions_stats.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_user_actions_stats.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_case_users.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_users.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_case_users.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_users.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_cases_metrics.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_cases_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_cases_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_cases_metrics.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_connectors.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_connectors.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_connectors.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/replace_custom_field.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/replace_custom_field.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/replace_custom_field.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/replace_custom_field.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/search_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/search_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/search_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/search_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/suggest_user_profiles.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/suggest_user_profiles.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/suggest_user_profiles.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/suggest_user_profiles.ts diff --git a/x-pack/plugins/cases/server/routes/api/observables/delete_observable.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/delete_observable.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/observables/delete_observable.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/observables/delete_observable.ts diff --git a/x-pack/plugins/cases/server/routes/api/observables/patch_observable.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/patch_observable.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/observables/patch_observable.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/observables/patch_observable.ts diff --git a/x-pack/plugins/cases/server/routes/api/observables/post_observable.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/post_observable.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/observables/post_observable.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/observables/post_observable.ts diff --git a/x-pack/plugins/cases/server/routes/api/register_routes.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/register_routes.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/register_routes.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/register_routes.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.ts diff --git a/x-pack/plugins/cases/server/routes/api/stats/get_status.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/stats/get_status.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/stats/get_status.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/stats/get_status.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.ts diff --git a/x-pack/plugins/cases/server/routes/api/types.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/types.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/types.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/types.ts diff --git a/x-pack/plugins/cases/server/routes/api/user_actions/find_user_actions.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/find_user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/user_actions/find_user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/find_user_actions.ts diff --git a/x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.ts diff --git a/x-pack/plugins/cases/server/routes/api/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/utils.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/utils.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/utils.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/utils.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/cases.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/model_versions.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/model_versions.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/index.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/schemas/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/index.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/latest.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/latest.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/schemas/latest.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/latest.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/v1.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v1.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/schemas/v1.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v1.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/v2.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v2.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/schemas/v2.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v2.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases_rules.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases_rules.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases_rules.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases_rules.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/comments.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/comments.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/comments.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/comments.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/configure.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/configure.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/configure.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/configure.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/connector_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/connector_mappings.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/import_export/export.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/import_export/export.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/import_export/export.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/import_export/export.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/index.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/index.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/cases.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/cases.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/cases.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/cases.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/comments.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/comments.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/comments.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/comments.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/configuration.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/configuration.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/configuration.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/configuration.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/constants.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/constants.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/constants.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/index.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/index.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/constants.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/constants.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/constants.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/index.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/index.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/types.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/utils.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/utils.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/telemetry.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/telemetry.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/telemetry.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/telemetry.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/user_actions.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/user_actions.ts diff --git a/x-pack/plugins/cases/server/services/alerts/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/alerts/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/alerts/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/alerts/index.test.ts diff --git a/x-pack/plugins/cases/server/services/alerts/index.ts b/x-pack/platform/plugins/shared/cases/server/services/alerts/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/alerts/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/alerts/index.ts diff --git a/x-pack/plugins/cases/server/services/attachments/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/index.test.ts diff --git a/x-pack/plugins/cases/server/services/attachments/index.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/index.ts diff --git a/x-pack/plugins/cases/server/services/attachments/operations/get.test.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/operations/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.test.ts diff --git a/x-pack/plugins/cases/server/services/attachments/operations/get.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/operations/get.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.ts diff --git a/x-pack/plugins/cases/server/services/attachments/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/test_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/test_utils.ts diff --git a/x-pack/plugins/cases/server/services/attachments/types.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/types.ts diff --git a/x-pack/plugins/cases/server/services/cases/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/cases/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/index.test.ts diff --git a/x-pack/plugins/cases/server/services/cases/index.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/cases/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/index.ts diff --git a/x-pack/plugins/cases/server/services/cases/transform.test.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/transform.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/cases/transform.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/transform.test.ts diff --git a/x-pack/plugins/cases/server/services/cases/transform.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/transform.ts similarity index 98% rename from x-pack/plugins/cases/server/services/cases/transform.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/transform.ts index beba8be79902f..9c95c1cab9e6d 100644 --- a/x-pack/plugins/cases/server/services/cases/transform.ts +++ b/x-pack/platform/plugins/shared/cases/server/services/cases/transform.ts @@ -199,7 +199,7 @@ export function transformSavedObjectToExternalModel( } function transformESExternalService( - // this type needs to match that of CaseFullExternalService except that it does not include the connector_id, see: x-pack/plugins/cases/common/api/cases/case.ts + // this type needs to match that of CaseFullExternalService except that it does not include the connector_id, see: x-pack/platform/plugins/shared/cases/common/api/cases/case.ts // that's why it can be null here externalService: ExternalServicePersisted | null | undefined, references: SavedObjectReference[] | undefined diff --git a/x-pack/plugins/cases/server/services/cases/types.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/cases/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/types.ts diff --git a/x-pack/plugins/cases/server/services/configure/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/configure/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/configure/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/configure/index.test.ts diff --git a/x-pack/plugins/cases/server/services/configure/index.ts b/x-pack/platform/plugins/shared/cases/server/services/configure/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/configure/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/configure/index.ts diff --git a/x-pack/plugins/cases/server/services/configure/types.ts b/x-pack/platform/plugins/shared/cases/server/services/configure/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/configure/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/configure/types.ts diff --git a/x-pack/plugins/cases/server/services/connector_mappings/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_mappings/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.test.ts diff --git a/x-pack/plugins/cases/server/services/connector_mappings/index.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_mappings/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.ts diff --git a/x-pack/plugins/cases/server/services/connector_mappings/types.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_mappings/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_mappings/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_mappings/types.ts diff --git a/x-pack/plugins/cases/server/services/connector_reference_handler.test.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_reference_handler.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.test.ts diff --git a/x-pack/plugins/cases/server/services/connector_reference_handler.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_reference_handler.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.ts diff --git a/x-pack/plugins/cases/server/services/index.ts b/x-pack/platform/plugins/shared/cases/server/services/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/index.ts diff --git a/x-pack/plugins/cases/server/services/licensing.ts b/x-pack/platform/plugins/shared/cases/server/services/licensing.ts similarity index 100% rename from x-pack/plugins/cases/server/services/licensing.ts rename to x-pack/platform/plugins/shared/cases/server/services/licensing.ts diff --git a/x-pack/plugins/cases/server/services/mocks.ts b/x-pack/platform/plugins/shared/cases/server/services/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/services/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/services/mocks.ts diff --git a/x-pack/plugins/cases/server/services/notifications/email_notification_service.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/email_notification_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/email_notification_service.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/email_notification_service.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/template.html b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.html similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/template.html rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.html diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/template.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/template.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/utils.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.ts diff --git a/x-pack/plugins/cases/server/services/notifications/types.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/types.ts diff --git a/x-pack/plugins/cases/server/services/so_reference_extractor.test.ts b/x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_reference_extractor.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.test.ts diff --git a/x-pack/plugins/cases/server/services/so_reference_extractor.ts b/x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_reference_extractor.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.ts diff --git a/x-pack/plugins/cases/server/services/so_references.test.ts b/x-pack/platform/plugins/shared/cases/server/services/so_references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_references.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_references.test.ts diff --git a/x-pack/plugins/cases/server/services/so_references.ts b/x-pack/platform/plugins/shared/cases/server/services/so_references.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_references.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_references.ts diff --git a/x-pack/plugins/cases/server/services/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/test_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/test_utils.ts diff --git a/x-pack/plugins/cases/server/services/transform.test.ts b/x-pack/platform/plugins/shared/cases/server/services/transform.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/transform.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/transform.test.ts diff --git a/x-pack/plugins/cases/server/services/transform.ts b/x-pack/platform/plugins/shared/cases/server/services/transform.ts similarity index 100% rename from x-pack/plugins/cases/server/services/transform.ts rename to x-pack/platform/plugins/shared/cases/server/services/transform.ts diff --git a/x-pack/plugins/cases/server/services/type_guards.ts b/x-pack/platform/plugins/shared/cases/server/services/type_guards.ts similarity index 100% rename from x-pack/plugins/cases/server/services/type_guards.ts rename to x-pack/platform/plugins/shared/cases/server/services/type_guards.ts diff --git a/x-pack/plugins/cases/server/services/types.ts b/x-pack/platform/plugins/shared/cases/server/services/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/types.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/__snapshots__/index.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/__snapshots__/index.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/abstract_builder.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/abstract_builder.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/abstract_builder.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/abstract_builder.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/audit_logger.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/audit_logger.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/audit_logger.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/audit_logger.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builder_factory.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builder_factory.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builder_factory.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builder_factory.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/assignees.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/assignees.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/assignees.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/assignees.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/audit_logger_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/audit_logger_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/audit_logger_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/audit_logger_utils.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/category.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/category.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/category.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/category.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/comment.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/comment.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/comment.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/comment.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/connector.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/connector.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/connector.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/connector.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/create_case.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/create_case.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/create_case.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/create_case.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/description.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/description.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/description.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/description.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/noop.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/noop.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/noop.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/noop.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/pushed.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/pushed.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/pushed.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/pushed.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/settings.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/settings.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/settings.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/settings.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/severity.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/severity.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/severity.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/severity.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/status.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/status.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/status.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/status.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/tags.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/tags.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/tags.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/tags.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/title.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/title.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/title.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/title.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/index.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/index.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/index.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/mocks.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/mocks.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/create.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/create.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/create.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/create.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/find.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/find.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/find.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/find.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/test_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/test_utils.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/transform.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/transform.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/transform.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/transform.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/type_guards.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/type_guards.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/type_guards.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/type_guards.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/types.ts diff --git a/x-pack/plugins/cases/server/services/user_profiles/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_profiles/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.test.ts diff --git a/x-pack/plugins/cases/server/services/user_profiles/index.ts b/x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_profiles/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.ts diff --git a/x-pack/plugins/cases/server/services/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/services/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/utils.test.ts diff --git a/x-pack/plugins/cases/server/services/utils.ts b/x-pack/platform/plugins/shared/cases/server/services/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/utils.ts diff --git a/x-pack/plugins/cases/server/telemetry/collect_telemetry_data.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/collect_telemetry_data.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/collect_telemetry_data.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/collect_telemetry_data.ts diff --git a/x-pack/plugins/cases/server/telemetry/index.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/index.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/index.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/index.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/alerts.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/alerts.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/alerts.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/case_system_action.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/case_system_action.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/case_system_action.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/case_system_action.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/cases.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/cases.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/cases.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/cases.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/comments.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/comments.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/comments.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/comments.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/configuration.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/configuration.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/configuration.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/configuration.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/connectors.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/connectors.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/connectors.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/push.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/push.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/push.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/push.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/user_actions.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/user_actions.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/user_actions.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/utils.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/utils.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.ts diff --git a/x-pack/plugins/cases/server/telemetry/schedule_telemetry_task.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/schedule_telemetry_task.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/schedule_telemetry_task.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/schedule_telemetry_task.ts diff --git a/x-pack/plugins/cases/server/telemetry/schema.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/schema.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/schema.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/schema.ts diff --git a/x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.ts diff --git a/x-pack/plugins/cases/server/telemetry/types.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/types.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/types.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/types.ts diff --git a/x-pack/plugins/cases/server/types.ts b/x-pack/platform/plugins/shared/cases/server/types.ts similarity index 100% rename from x-pack/plugins/cases/server/types.ts rename to x-pack/platform/plugins/shared/cases/server/types.ts diff --git a/x-pack/plugins/cases/tsconfig.json b/x-pack/platform/plugins/shared/cases/tsconfig.json similarity index 96% rename from x-pack/plugins/cases/tsconfig.json rename to x-pack/platform/plugins/shared/cases/tsconfig.json index 2a77cb0e7b5a1..9a334a1df1828 100644 --- a/x-pack/plugins/cases/tsconfig.json +++ b/x-pack/platform/plugins/shared/cases/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -7,7 +7,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/event_log/README.md b/x-pack/platform/plugins/shared/event_log/README.md similarity index 98% rename from x-pack/plugins/event_log/README.md rename to x-pack/platform/plugins/shared/event_log/README.md index ae2117fcd8ad4..7d192517db65d 100644 --- a/x-pack/plugins/event_log/README.md +++ b/x-pack/platform/plugins/shared/event_log/README.md @@ -216,7 +216,7 @@ connector. ## Event Log index - associated resources The index template and ILM policy are defined in the file -[`x-pack/plugins/event_log/server/es/documents.ts`](server/es/documents.ts). +[`x-pack/platform/plugins/shared/event_log/server/es/documents.ts`](server/es/documents.ts). See [ILM rollover action docs][] for more information on the `is_write_index` and `index.lifecycle.*` properties. @@ -305,7 +305,7 @@ See `QueryEventsBySavedObjectResult` in the Plugin Client APIs below. ## Plugin Client APIs for querying All APIs available for querying the event log are described in -[`x-pack/plugins/event_log/server/types.ts`](server/types.ts), via the +[`x-pack/platform/plugins/shared/event_log/server/types.ts`](server/types.ts), via the `IEventLogClient` interface, which is obtained at plugin start. ## Generating Events @@ -327,7 +327,7 @@ service API provided in the `setup` stage: ```typescript ... -import { IEventLogger, IEventLogService } from '../../event_log/server'; +import { IEventLogger, IEventLogService } from '../../../../event_log/server'; interface PluginSetupDependencies { eventLog: IEventLogService; } @@ -436,7 +436,7 @@ These plugins must call `getClient(request)` to get the event log client. Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing ``` -yarn test:jest x-pack/plugins/event_log --watch +yarn test:jest x-pack/platform/plugins/shared/event_log --watch ``` ### API Integration tests diff --git a/x-pack/plugins/event_log/common/index.ts b/x-pack/platform/plugins/shared/event_log/common/index.ts similarity index 100% rename from x-pack/plugins/event_log/common/index.ts rename to x-pack/platform/plugins/shared/event_log/common/index.ts diff --git a/x-pack/plugins/event_log/common/lib/index.ts b/x-pack/platform/plugins/shared/event_log/common/lib/index.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/index.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/index.ts diff --git a/x-pack/plugins/event_log/common/lib/millis_to_nanos.test.ts b/x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.test.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/millis_to_nanos.test.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.test.ts diff --git a/x-pack/plugins/event_log/common/lib/millis_to_nanos.ts b/x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/millis_to_nanos.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.ts diff --git a/x-pack/plugins/event_log/common/lib/nanos_to_millis.test.ts b/x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.test.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/nanos_to_millis.test.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.test.ts diff --git a/x-pack/plugins/event_log/common/lib/nanos_to_millis.ts b/x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/nanos_to_millis.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.ts diff --git a/x-pack/plugins/event_log/generated/README.md b/x-pack/platform/plugins/shared/event_log/generated/README.md similarity index 83% rename from x-pack/plugins/event_log/generated/README.md rename to x-pack/platform/plugins/shared/event_log/generated/README.md index befec1e98d193..a836ac208ecc6 100644 --- a/x-pack/plugins/event_log/generated/README.md +++ b/x-pack/platform/plugins/shared/event_log/generated/README.md @@ -11,7 +11,7 @@ Please follow the following steps: resides along side your kibana repo, and checkout the ECS version you wish to support (for example, the `1.8` branch, for version 1.8). -2. In the `x-pack/plugins/event_log/scripts/mappings.js` file you'll want to +2. In the `x-pack/platform/plugins/shared/event_log/scripts/mappings.js` file you'll want to make the following changes: - Update `EcsCustomPropertyMappings` to include the mapping of the custom fields you wish to add. @@ -22,5 +22,5 @@ Please follow the following steps: 3. Cd to the `kibana` root folder and run: ```sh - node ./x-pack/plugins/event_log/scripts/create_schemas.js + node ./x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js ``` diff --git a/x-pack/plugins/event_log/generated/mappings.json b/x-pack/platform/plugins/shared/event_log/generated/mappings.json similarity index 100% rename from x-pack/plugins/event_log/generated/mappings.json rename to x-pack/platform/plugins/shared/event_log/generated/mappings.json diff --git a/x-pack/plugins/event_log/generated/schemas.ts b/x-pack/platform/plugins/shared/event_log/generated/schemas.ts similarity index 100% rename from x-pack/plugins/event_log/generated/schemas.ts rename to x-pack/platform/plugins/shared/event_log/generated/schemas.ts diff --git a/x-pack/plugins/triggers_actions_ui/jest.config.js b/x-pack/platform/plugins/shared/event_log/jest.config.js similarity index 56% rename from x-pack/plugins/triggers_actions_ui/jest.config.js rename to x-pack/platform/plugins/shared/event_log/jest.config.js index f6369b6b2b97e..adfe08749ce77 100644 --- a/x-pack/plugins/triggers_actions_ui/jest.config.js +++ b/x-pack/platform/plugins/shared/event_log/jest.config.js @@ -7,11 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/triggers_actions_ui'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/triggers_actions_ui', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/event_log'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/event_log', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/triggers_actions_ui/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/event_log/{common,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/task_manager/jest.integration.config.js b/x-pack/platform/plugins/shared/event_log/jest.integration.config.js similarity index 77% rename from x-pack/plugins/task_manager/jest.integration.config.js rename to x-pack/platform/plugins/shared/event_log/jest.integration.config.js index e46b3f1bdf136..57df89997d912 100644 --- a/x-pack/plugins/task_manager/jest.integration.config.js +++ b/x-pack/platform/plugins/shared/event_log/jest.integration.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/task_manager'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/event_log'], }; diff --git a/x-pack/plugins/event_log/kibana.jsonc b/x-pack/platform/plugins/shared/event_log/kibana.jsonc similarity index 100% rename from x-pack/plugins/event_log/kibana.jsonc rename to x-pack/platform/plugins/shared/event_log/kibana.jsonc diff --git a/x-pack/plugins/event_log/scripts/create_schemas.js b/x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js similarity index 99% rename from x-pack/plugins/event_log/scripts/create_schemas.js rename to x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js index 6ba8df5e0d46d..7e4dded27f1aa 100755 --- a/x-pack/plugins/event_log/scripts/create_schemas.js +++ b/x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js @@ -254,7 +254,7 @@ function getEcsVersion(ecsDir) { } function getEcsDir() { - const ecsDir = path.resolve(path.join(__dirname, '../../../../../ecs')); + const ecsDir = path.resolve(path.join(__dirname, '../../../../../../../ecs')); let stats; let error; diff --git a/x-pack/plugins/event_log/scripts/lib/line_writer.js b/x-pack/platform/plugins/shared/event_log/scripts/lib/line_writer.js similarity index 100% rename from x-pack/plugins/event_log/scripts/lib/line_writer.js rename to x-pack/platform/plugins/shared/event_log/scripts/lib/line_writer.js diff --git a/x-pack/plugins/event_log/scripts/mappings.js b/x-pack/platform/plugins/shared/event_log/scripts/mappings.js similarity index 100% rename from x-pack/plugins/event_log/scripts/mappings.js rename to x-pack/platform/plugins/shared/event_log/scripts/mappings.js diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.mock.ts diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.test.ts similarity index 99% rename from x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.test.ts index 4e8e43352f454..1d8105d2be49b 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.test.ts @@ -626,7 +626,7 @@ describe('createDataStream', () => { test(`shouldn't throw when an error of type resource_already_exists_exception is thrown`, async () => { // ElasticsearchError can be a bit random in shape, we need an any here - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const err = new Error('Already exists') as any; err.body = { error: { diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts similarity index 99% rename from x-pack/plugins/event_log/server/es/cluster_client_adapter.ts rename to x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts index 7076336c0c760..1eb0f482e1d0b 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts @@ -93,7 +93,6 @@ type GetQueryBodyWithAuthFilterOpts = }) | AggregateEventsWithAuthFilter; -// eslint-disable-next-line @typescript-eslint/no-explicit-any type AliasAny = any; const LEGACY_ID_CUTOFF_VERSION = '8.0.0'; diff --git a/x-pack/plugins/event_log/server/es/context.mock.ts b/x-pack/platform/plugins/shared/event_log/server/es/context.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/context.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/es/context.mock.ts diff --git a/x-pack/plugins/event_log/server/es/context.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/context.test.ts similarity index 98% rename from x-pack/plugins/event_log/server/es/context.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/context.test.ts index 19789e0e8dc3c..4523a992df5be 100644 --- a/x-pack/plugins/event_log/server/es/context.test.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/context.test.ts @@ -11,7 +11,7 @@ import { elasticsearchServiceMock, loggingSystemMock } from '@kbn/core/server/mo import { createReadySignal } from '../lib/ready_signal'; import { GetDataStreamsResponse } from './cluster_client_adapter.test'; -jest.mock('../../../../package.json', () => ({ version: '1.2.3' })); +jest.mock('../../../../../../package.json', () => ({ version: '1.2.3' })); jest.mock('./init'); jest.mock('../lib/ready_signal', () => { const createReadySignalActual = jest.requireActual('../lib/ready_signal'); diff --git a/x-pack/plugins/event_log/server/es/context.ts b/x-pack/platform/plugins/shared/event_log/server/es/context.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/context.ts rename to x-pack/platform/plugins/shared/event_log/server/es/context.ts diff --git a/x-pack/plugins/event_log/server/es/documents.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/documents.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/documents.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/documents.test.ts diff --git a/x-pack/plugins/event_log/server/es/documents.ts b/x-pack/platform/plugins/shared/event_log/server/es/documents.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/documents.ts rename to x-pack/platform/plugins/shared/event_log/server/es/documents.ts diff --git a/x-pack/plugins/event_log/server/es/index.ts b/x-pack/platform/plugins/shared/event_log/server/es/index.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/index.ts rename to x-pack/platform/plugins/shared/event_log/server/es/index.ts diff --git a/x-pack/plugins/event_log/server/es/init.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/init.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/init.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/init.test.ts diff --git a/x-pack/plugins/event_log/server/es/init.ts b/x-pack/platform/plugins/shared/event_log/server/es/init.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/init.ts rename to x-pack/platform/plugins/shared/event_log/server/es/init.ts diff --git a/x-pack/plugins/event_log/server/es/names.mock.ts b/x-pack/platform/plugins/shared/event_log/server/es/names.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/names.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/es/names.mock.ts diff --git a/x-pack/plugins/event_log/server/es/names.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/names.test.ts similarity index 92% rename from x-pack/plugins/event_log/server/es/names.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/names.test.ts index a01fa5961e5ce..5bd389469ed8d 100644 --- a/x-pack/plugins/event_log/server/es/names.test.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/names.test.ts @@ -7,7 +7,7 @@ import { getEsNames } from './names'; -jest.mock('../../../../package.json', () => ({ +jest.mock('../../../../../../package.json', () => ({ version: '1.2.3', })); diff --git a/x-pack/plugins/event_log/server/es/names.ts b/x-pack/platform/plugins/shared/event_log/server/es/names.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/names.ts rename to x-pack/platform/plugins/shared/event_log/server/es/names.ts diff --git a/x-pack/plugins/event_log/server/event_log_client.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_client.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_client.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_client.mock.ts diff --git a/x-pack/plugins/event_log/server/event_log_client.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_client.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_client.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_client.test.ts diff --git a/x-pack/plugins/event_log/server/event_log_client.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_client.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_client.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_client.ts diff --git a/x-pack/plugins/event_log/server/event_log_service.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_service.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_service.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_service.mock.ts diff --git a/x-pack/plugins/event_log/server/event_log_service.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_service.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_service.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_service.test.ts diff --git a/x-pack/plugins/event_log/server/event_log_service.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_service.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_service.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_service.ts diff --git a/x-pack/plugins/event_log/server/event_log_start_service.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_start_service.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_start_service.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_start_service.mock.ts diff --git a/x-pack/plugins/event_log/server/event_log_start_service.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_start_service.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_start_service.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_start_service.test.ts diff --git a/x-pack/plugins/event_log/server/event_log_start_service.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_start_service.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_start_service.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_start_service.ts diff --git a/x-pack/plugins/event_log/server/event_logger.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_logger.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_logger.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_logger.mock.ts diff --git a/x-pack/plugins/event_log/server/event_logger.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_logger.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_logger.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_logger.test.ts diff --git a/x-pack/plugins/event_log/server/event_logger.ts b/x-pack/platform/plugins/shared/event_log/server/event_logger.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_logger.ts rename to x-pack/platform/plugins/shared/event_log/server/event_logger.ts diff --git a/x-pack/plugins/event_log/server/index.ts b/x-pack/platform/plugins/shared/event_log/server/index.ts similarity index 100% rename from x-pack/plugins/event_log/server/index.ts rename to x-pack/platform/plugins/shared/event_log/server/index.ts diff --git a/x-pack/plugins/event_log/server/integration_tests/event_log_update_mappings.test.ts b/x-pack/platform/plugins/shared/event_log/server/integration_tests/event_log_update_mappings.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/integration_tests/event_log_update_mappings.test.ts rename to x-pack/platform/plugins/shared/event_log/server/integration_tests/event_log_update_mappings.test.ts diff --git a/x-pack/plugins/event_log/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/event_log/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/event_log/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/event_log/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/event_log/server/lib/delay.test.ts b/x-pack/platform/plugins/shared/event_log/server/lib/delay.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/delay.test.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/delay.test.ts diff --git a/x-pack/plugins/event_log/server/lib/delay.ts b/x-pack/platform/plugins/shared/event_log/server/lib/delay.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/delay.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/delay.ts diff --git a/x-pack/plugins/event_log/server/lib/ready_signal.test.ts b/x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/ready_signal.test.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.test.ts diff --git a/x-pack/plugins/event_log/server/lib/ready_signal.ts b/x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/ready_signal.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.ts diff --git a/x-pack/plugins/event_log/server/mocks.ts b/x-pack/platform/plugins/shared/event_log/server/mocks.ts similarity index 100% rename from x-pack/plugins/event_log/server/mocks.ts rename to x-pack/platform/plugins/shared/event_log/server/mocks.ts diff --git a/x-pack/plugins/event_log/server/plugin.test.ts b/x-pack/platform/plugins/shared/event_log/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/plugin.test.ts rename to x-pack/platform/plugins/shared/event_log/server/plugin.test.ts diff --git a/x-pack/plugins/event_log/server/plugin.ts b/x-pack/platform/plugins/shared/event_log/server/plugin.ts similarity index 100% rename from x-pack/plugins/event_log/server/plugin.ts rename to x-pack/platform/plugins/shared/event_log/server/plugin.ts diff --git a/x-pack/plugins/event_log/server/saved_object_provider_registry.mock.ts b/x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/saved_object_provider_registry.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.mock.ts diff --git a/x-pack/plugins/event_log/server/saved_object_provider_registry.test.ts b/x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/saved_object_provider_registry.test.ts rename to x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.test.ts diff --git a/x-pack/plugins/event_log/server/saved_object_provider_registry.ts b/x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.ts similarity index 100% rename from x-pack/plugins/event_log/server/saved_object_provider_registry.ts rename to x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.ts diff --git a/x-pack/plugins/event_log/server/types.ts b/x-pack/platform/plugins/shared/event_log/server/types.ts similarity index 100% rename from x-pack/plugins/event_log/server/types.ts rename to x-pack/platform/plugins/shared/event_log/server/types.ts diff --git a/x-pack/plugins/event_log/tsconfig.json b/x-pack/platform/plugins/shared/event_log/tsconfig.json similarity index 92% rename from x-pack/plugins/event_log/tsconfig.json rename to x-pack/platform/plugins/shared/event_log/tsconfig.json index 65ccb4cf3b11c..fdc743f8f5631 100644 --- a/x-pack/plugins/event_log/tsconfig.json +++ b/x-pack/platform/plugins/shared/event_log/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts index 7d00057d8b801..03eef4b9f2457 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts @@ -25,7 +25,7 @@ export type GenerateContentResponseChunk = GenerateContentResponse & { * We need to use the connector's format, not directly Gemini's... * In practice, 'parts' get mapped to 'content' * - * See x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.ts + * See x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.ts */ export interface GeminiMessage { role: 'assistant' | 'user'; diff --git a/x-pack/plugins/rule_registry/README.md b/x-pack/platform/plugins/shared/rule_registry/README.md similarity index 98% rename from x-pack/plugins/rule_registry/README.md rename to x-pack/platform/plugins/shared/rule_registry/README.md index e0d79482e29f7..ec6ff2055d851 100644 --- a/x-pack/plugins/rule_registry/README.md +++ b/x-pack/platform/plugins/shared/rule_registry/README.md @@ -147,7 +147,7 @@ The following fields are defined in the technical field component template and s # Alerts as data -Alerts as data can be interacted with using the AlertsClient api found in `x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts` +Alerts as data can be interacted with using the AlertsClient api found in `x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts` This api includes public methods such as diff --git a/x-pack/plugins/rule_registry/common/assets.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets.ts diff --git a/x-pack/plugins/rule_registry/common/assets/component_templates/ecs_component_template.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/component_templates/ecs_component_template.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets/component_templates/ecs_component_template.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/component_templates/ecs_component_template.ts diff --git a/x-pack/plugins/rule_registry/common/assets/component_templates/technical_component_template.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/component_templates/technical_component_template.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets/component_templates/technical_component_template.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/component_templates/technical_component_template.ts diff --git a/x-pack/plugins/rule_registry/common/assets/field_maps/ecs_field_map.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/ecs_field_map.ts similarity index 99% rename from x-pack/plugins/rule_registry/common/assets/field_maps/ecs_field_map.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/ecs_field_map.ts index eb4c977ab7f0d..f0a91c973c3a3 100644 --- a/x-pack/plugins/rule_registry/common/assets/field_maps/ecs_field_map.ts +++ b/x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/ecs_field_map.ts @@ -5,7 +5,7 @@ * 2.0. */ -/* This file is generated by x-pack/plugins/rule_registry/scripts/generate_ecs_fieldmap/index.js, +/* This file is generated by x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js, do not manually edit */ diff --git a/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.test.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/technical_rule_field_map.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.test.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/technical_rule_field_map.test.ts diff --git a/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/technical_rule_field_map.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/technical_rule_field_map.ts diff --git a/x-pack/plugins/rule_registry/common/assets/index_templates/base_index_template.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/index_templates/base_index_template.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets/index_templates/base_index_template.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/index_templates/base_index_template.ts diff --git a/x-pack/plugins/rule_registry/common/constants.ts b/x-pack/platform/plugins/shared/rule_registry/common/constants.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/constants.ts rename to x-pack/platform/plugins/shared/rule_registry/common/constants.ts diff --git a/x-pack/plugins/rule_registry/common/field_map/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/field_map/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/field_map/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/field_map/index.ts diff --git a/x-pack/plugins/rule_registry/common/field_map/merge_field_maps.ts b/x-pack/platform/plugins/shared/rule_registry/common/field_map/merge_field_maps.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/field_map/merge_field_maps.ts rename to x-pack/platform/plugins/shared/rule_registry/common/field_map/merge_field_maps.ts diff --git a/x-pack/plugins/rule_registry/common/field_map/runtime_type_from_fieldmap.test.ts b/x-pack/platform/plugins/shared/rule_registry/common/field_map/runtime_type_from_fieldmap.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/field_map/runtime_type_from_fieldmap.test.ts rename to x-pack/platform/plugins/shared/rule_registry/common/field_map/runtime_type_from_fieldmap.test.ts diff --git a/x-pack/plugins/rule_registry/common/field_map/runtime_type_from_fieldmap.ts b/x-pack/platform/plugins/shared/rule_registry/common/field_map/runtime_type_from_fieldmap.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/field_map/runtime_type_from_fieldmap.ts rename to x-pack/platform/plugins/shared/rule_registry/common/field_map/runtime_type_from_fieldmap.ts diff --git a/x-pack/plugins/rule_registry/common/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/index.ts diff --git a/x-pack/plugins/rule_registry/common/parse_experimental_fields.ts b/x-pack/platform/plugins/shared/rule_registry/common/parse_experimental_fields.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/parse_experimental_fields.ts rename to x-pack/platform/plugins/shared/rule_registry/common/parse_experimental_fields.ts diff --git a/x-pack/plugins/rule_registry/common/parse_technical_fields.test.ts b/x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/parse_technical_fields.test.ts rename to x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.test.ts diff --git a/x-pack/plugins/rule_registry/common/parse_technical_fields.ts b/x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/parse_technical_fields.ts rename to x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.ts diff --git a/x-pack/plugins/rule_registry/common/pick_with_patterns/index.test.ts b/x-pack/platform/plugins/shared/rule_registry/common/pick_with_patterns/index.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/pick_with_patterns/index.test.ts rename to x-pack/platform/plugins/shared/rule_registry/common/pick_with_patterns/index.test.ts diff --git a/x-pack/plugins/rule_registry/common/pick_with_patterns/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/pick_with_patterns/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/pick_with_patterns/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/pick_with_patterns/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.0.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.0.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.0.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.0.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.13.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.13.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.13.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.13.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.17.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.17.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.17.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.17.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.6.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.6.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.6.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.6.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.7.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.7.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.7.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.7.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.8.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.8.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.8.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.8.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/README.md b/x-pack/platform/plugins/shared/rule_registry/common/schemas/README.md similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/README.md rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/README.md diff --git a/x-pack/plugins/rule_registry/common/schemas/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/index.ts diff --git a/x-pack/plugins/rule_registry/common/technical_rule_data_field_names.ts b/x-pack/platform/plugins/shared/rule_registry/common/technical_rule_data_field_names.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/technical_rule_data_field_names.ts rename to x-pack/platform/plugins/shared/rule_registry/common/technical_rule_data_field_names.ts diff --git a/x-pack/plugins/rule_registry/common/types.ts b/x-pack/platform/plugins/shared/rule_registry/common/types.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/types.ts rename to x-pack/platform/plugins/shared/rule_registry/common/types.ts diff --git a/x-pack/plugins/rule_registry/docs/README.md b/x-pack/platform/plugins/shared/rule_registry/docs/README.md similarity index 96% rename from x-pack/plugins/rule_registry/docs/README.md rename to x-pack/platform/plugins/shared/rule_registry/docs/README.md index 74823de8a2b47..563a6caa2c8e4 100644 --- a/x-pack/plugins/rule_registry/docs/README.md +++ b/x-pack/platform/plugins/shared/rule_registry/docs/README.md @@ -18,7 +18,7 @@ yarn global add typedoc typedoc-plugin-markdown ## Generate the docs ```bash -cd x-pack/plugins/rule_registry/docs +cd x-pack/platform/plugins/shared/rule_registry/docs npx typedoc --gitRemote upstream --options alerts_client_typedoc.json ``` diff --git a/x-pack/plugins/rule_registry/docs/alerts_client/alerts_client_api.md b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/alerts_client_api.md similarity index 100% rename from x-pack/plugins/rule_registry/docs/alerts_client/alerts_client_api.md rename to x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/alerts_client_api.md diff --git a/x-pack/plugins/rule_registry/docs/alerts_client/classes/alertsclient.md b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/classes/alertsclient.md similarity index 83% rename from x-pack/plugins/rule_registry/docs/alerts_client/classes/alertsclient.md rename to x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/classes/alertsclient.md index ace131d5e4b6b..e8b17b8c85548 100644 --- a/x-pack/plugins/rule_registry/docs/alerts_client/classes/alertsclient.md +++ b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/classes/alertsclient.md @@ -49,7 +49,7 @@ on alerts as data. #### Defined in -[alerts_client.ts:117](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L117) +[alerts_client.ts:117](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L117) ## Properties @@ -59,7 +59,7 @@ on alerts as data. #### Defined in -[alerts_client.ts:114](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L114) +[alerts_client.ts:114](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L114) ___ @@ -69,7 +69,7 @@ ___ #### Defined in -[alerts_client.ts:115](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L115) +[alerts_client.ts:115](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L115) ___ @@ -79,7 +79,7 @@ ___ #### Defined in -[alerts_client.ts:116](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L116) +[alerts_client.ts:116](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L116) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[alerts_client.ts:113](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L113) +[alerts_client.ts:113](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L113) ___ @@ -99,7 +99,7 @@ ___ #### Defined in -[alerts_client.ts:117](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L117) +[alerts_client.ts:117](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L117) ## Methods @@ -123,7 +123,7 @@ ___ #### Defined in -[alerts_client.ts:367](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L367) +[alerts_client.ts:367](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L367) ___ @@ -149,7 +149,7 @@ ___ #### Defined in -[alerts_client.ts:570](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L570) +[alerts_client.ts:570](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L570) ___ @@ -172,7 +172,7 @@ Accepts an array of ES documents and executes ensureAuthorized for the given ope #### Defined in -[alerts_client.ts:152](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L152) +[alerts_client.ts:152](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L152) ___ @@ -204,7 +204,7 @@ ___ #### Defined in -[alerts_client.ts:628](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L628) +[alerts_client.ts:628](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L628) ___ @@ -224,7 +224,7 @@ ___ #### Defined in -[alerts_client.ts:491](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L491) +[alerts_client.ts:491](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L491) ___ @@ -245,7 +245,7 @@ ___ #### Defined in -[alerts_client.ts:137](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L137) +[alerts_client.ts:137](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L137) ___ @@ -265,7 +265,7 @@ ___ #### Defined in -[alerts_client.ts:674](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L674) +[alerts_client.ts:674](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L674) ___ @@ -289,7 +289,7 @@ ___ #### Defined in -[alerts_client.ts:129](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L129) +[alerts_client.ts:129](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L129) ___ @@ -315,7 +315,7 @@ When an update by ids is requested, do a multi-get, ensure authz and audit alert #### Defined in -[alerts_client.ts:308](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L308) +[alerts_client.ts:308](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L308) ___ @@ -340,7 +340,7 @@ executes a search after to find alerts with query (+ authz filter) #### Defined in -[alerts_client.ts:423](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L423) +[alerts_client.ts:423](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L423) ___ @@ -363,7 +363,7 @@ In the future we will add an "aggs" param #### Defined in -[alerts_client.ts:220](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L220) +[alerts_client.ts:220](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L220) ___ @@ -389,4 +389,4 @@ ___ #### Defined in -[alerts_client.ts:520](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L520) +[alerts_client.ts:520](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L520) diff --git a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md similarity index 71% rename from x-pack/plugins/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md rename to x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md index efe28580897d7..4bb9ffda28bfa 100644 --- a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md +++ b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md @@ -25,7 +25,7 @@ #### Defined in -[alerts_client.ts:84](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L84) +[alerts_client.ts:84](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L84) ___ @@ -35,7 +35,7 @@ ___ #### Defined in -[alerts_client.ts:86](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L86) +[alerts_client.ts:86](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L86) ___ @@ -45,7 +45,7 @@ ___ #### Defined in -[alerts_client.ts:87](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L87) +[alerts_client.ts:87](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L87) ___ @@ -55,4 +55,4 @@ ___ #### Defined in -[alerts_client.ts:85](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L85) +[alerts_client.ts:85](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L85) diff --git a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/constructoroptions.md b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/constructoroptions.md similarity index 70% rename from x-pack/plugins/rule_registry/docs/alerts_client/interfaces/constructoroptions.md rename to x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/constructoroptions.md index a2e24106aa002..d3019b047c38e 100644 --- a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/constructoroptions.md +++ b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/constructoroptions.md @@ -19,7 +19,7 @@ #### Defined in -[alerts_client.ts:72](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L72) +[alerts_client.ts:72](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L72) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[alerts_client.ts:71](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L71) +[alerts_client.ts:71](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L71) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[alerts_client.ts:73](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L73) +[alerts_client.ts:73](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L73) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[alerts_client.ts:70](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L70) +[alerts_client.ts:70](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L70) diff --git a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/updateoptions.md b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/updateoptions.md similarity index 69% rename from x-pack/plugins/rule_registry/docs/alerts_client/interfaces/updateoptions.md rename to x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/updateoptions.md index 650c6a3d3d113..f734d4da42318 100644 --- a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/updateoptions.md +++ b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/updateoptions.md @@ -25,7 +25,7 @@ #### Defined in -[alerts_client.ts:79](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L79) +[alerts_client.ts:79](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L79) ___ @@ -35,7 +35,7 @@ ___ #### Defined in -[alerts_client.ts:77](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L77) +[alerts_client.ts:77](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L77) ___ @@ -45,7 +45,7 @@ ___ #### Defined in -[alerts_client.ts:80](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L80) +[alerts_client.ts:80](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L80) ___ @@ -55,4 +55,4 @@ ___ #### Defined in -[alerts_client.ts:78](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L78) +[alerts_client.ts:78](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L78) diff --git a/x-pack/plugins/rule_registry/docs/alerts_client_typedoc.json b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client_typedoc.json similarity index 100% rename from x-pack/plugins/rule_registry/docs/alerts_client_typedoc.json rename to x-pack/platform/plugins/shared/rule_registry/docs/alerts_client_typedoc.json diff --git a/x-pack/platform/plugins/shared/rule_registry/jest.config.js b/x-pack/platform/plugins/shared/rule_registry/jest.config.js new file mode 100644 index 0000000000000..7990be4f030a8 --- /dev/null +++ b/x-pack/platform/plugins/shared/rule_registry/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/rule_registry'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/rule_registry', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/rule_registry/{common,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/rule_registry/kibana.jsonc b/x-pack/platform/plugins/shared/rule_registry/kibana.jsonc similarity index 100% rename from x-pack/plugins/rule_registry/kibana.jsonc rename to x-pack/platform/plugins/shared/rule_registry/kibana.jsonc diff --git a/x-pack/plugins/rule_registry/scripts/generate_ecs_fieldmap/index.js b/x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js similarity index 91% rename from x-pack/plugins/rule_registry/scripts/generate_ecs_fieldmap/index.js rename to x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js index 3b039bdeb99a9..5f39d2a885a9e 100644 --- a/x-pack/plugins/rule_registry/scripts/generate_ecs_fieldmap/index.js +++ b/x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js @@ -16,7 +16,7 @@ const readFile = util.promisify(fs.readFile); const writeFile = util.promisify(fs.writeFile); const exec = util.promisify(execCb); -const ecsDir = path.resolve(__dirname, '../../../../../../ecs'); +const ecsDir = path.resolve(__dirname, '../../../../../../../../ecs'); const ecsYamlFilename = path.join(ecsDir, 'generated/ecs/ecs_flat.yml'); const outputDir = path.join(__dirname, '../../common/assets/field_maps'); @@ -57,7 +57,7 @@ async function generate() { await writeFile( outputFieldMapFilename, ` -/* This file is generated by x-pack/plugins/rule_registry/scripts/generate_ecs_fieldmap/index.js, +/* This file is generated by x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js, do not manually edit */ diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.mock.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.mock.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.mock.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client_factory.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client_factory.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/alerts_client_factory.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client_factory.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client_factory.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client_factory.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/alerts_client_factory.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client_factory.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/audit_events.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/audit_events.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/browser_fields/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/browser_fields/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/browser_fields/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/browser_fields/index.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/constants.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/constants.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/constants.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/constants.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/bulk_update.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/bulk_update.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/bulk_update.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/bulk_update.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/bulk_update_cases.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/bulk_update_cases.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/bulk_update_cases.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/bulk_update_cases.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/find_alerts.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/find_alerts.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/find_alerts.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/find_alerts.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/get.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/get.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/get_aad_fields.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_aad_fields.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/get_aad_fields.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_aad_fields.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/get_alerts_group_aggregations.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_alerts_group_aggregations.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/get_alerts_group_aggregations.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_alerts_group_aggregations.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/get_alerts_summary.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_alerts_summary.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/get_alerts_summary.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_alerts_summary.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/remove_cases_from_alerts.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/remove_cases_from_alerts.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/remove_cases_from_alerts.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/remove_cases_from_alerts.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/update.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/update.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/update.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/update.test.ts diff --git a/x-pack/plugins/rule_registry/server/config.ts b/x-pack/platform/plugins/shared/rule_registry/server/config.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/config.ts rename to x-pack/platform/plugins/shared/rule_registry/server/config.ts diff --git a/x-pack/plugins/rule_registry/server/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/index.ts similarity index 96% rename from x-pack/plugins/rule_registry/server/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/index.ts index de0685b8c9617..46a7193284405 100644 --- a/x-pack/plugins/rule_registry/server/index.ts +++ b/x-pack/platform/plugins/shared/rule_registry/server/index.ts @@ -6,7 +6,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110907 -/* eslint-disable @kbn/eslint/no_export_all */ import { PluginInitializerContext } from '@kbn/core/server'; diff --git a/x-pack/plugins/rule_registry/server/lib/get_authz_filter.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_authz_filter.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_authz_filter.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_authz_filter.test.ts diff --git a/x-pack/plugins/rule_registry/server/lib/get_authz_filter.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_authz_filter.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_authz_filter.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_authz_filter.ts diff --git a/x-pack/plugins/rule_registry/server/lib/get_consumers_filter.test.tsx b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_consumers_filter.test.tsx similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_consumers_filter.test.tsx rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_consumers_filter.test.tsx diff --git a/x-pack/plugins/rule_registry/server/lib/get_consumers_filter.tsx b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_consumers_filter.tsx similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_consumers_filter.tsx rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_consumers_filter.tsx diff --git a/x-pack/plugins/rule_registry/server/lib/get_is_kibana_request.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_is_kibana_request.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.test.ts diff --git a/x-pack/plugins/rule_registry/server/lib/get_is_kibana_request.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_is_kibana_request.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.ts diff --git a/x-pack/plugins/rule_registry/server/lib/get_rule_type_ids_filter.test.tsx b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_rule_type_ids_filter.test.tsx similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_rule_type_ids_filter.test.tsx rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_rule_type_ids_filter.test.tsx diff --git a/x-pack/plugins/rule_registry/server/lib/get_rule_type_ids_filter.tsx b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_rule_type_ids_filter.tsx similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_rule_type_ids_filter.tsx rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_rule_type_ids_filter.tsx diff --git a/x-pack/plugins/rule_registry/server/lib/get_spaces_filter.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_spaces_filter.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_spaces_filter.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_spaces_filter.test.ts diff --git a/x-pack/plugins/rule_registry/server/lib/get_spaces_filter.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_spaces_filter.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_spaces_filter.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_spaces_filter.ts diff --git a/x-pack/plugins/rule_registry/server/lib/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/index.ts diff --git a/x-pack/plugins/rule_registry/server/mocks.ts b/x-pack/platform/plugins/shared/rule_registry/server/mocks.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/mocks.ts rename to x-pack/platform/plugins/shared/rule_registry/server/mocks.ts diff --git a/x-pack/plugins/rule_registry/server/plugin.ts b/x-pack/platform/plugins/shared/rule_registry/server/plugin.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/plugin.ts rename to x-pack/platform/plugins/shared/rule_registry/server/plugin.ts diff --git a/x-pack/plugins/rule_registry/server/routes/__mocks__/request_context.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/request_context.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/__mocks__/request_context.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/request_context.ts diff --git a/x-pack/plugins/rule_registry/server/routes/__mocks__/request_responses.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/request_responses.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/__mocks__/request_responses.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/request_responses.ts diff --git a/x-pack/plugins/rule_registry/server/routes/__mocks__/response_adapters.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/response_adapters.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/__mocks__/response_adapters.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/response_adapters.ts diff --git a/x-pack/plugins/rule_registry/server/routes/__mocks__/server.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/server.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/__mocks__/server.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/server.ts diff --git a/x-pack/plugins/rule_registry/server/routes/bulk_update_alerts.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/bulk_update_alerts.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/bulk_update_alerts.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/bulk_update_alerts.ts diff --git a/x-pack/plugins/rule_registry/server/routes/find.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/find.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/find.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/find.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/find.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/find.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/find.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/find.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_aad_fields_by_rule_type.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_aad_fields_by_rule_type.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_aad_fields_by_rule_type.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_aad_fields_by_rule_type.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_by_id.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_by_id.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_by_id.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_by_id.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_by_id.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_by_id.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_by_id.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_by_id.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_index.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_index.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_index.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_index.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_index.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_index.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_summary.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_summary.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_summary.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_summary.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_summary.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_summary.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_summary.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alerts_group_aggregations.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alerts_group_aggregations.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alerts_group_aggregations.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alerts_group_aggregations.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts diff --git a/x-pack/plugins/rule_registry/server/routes/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/index.ts diff --git a/x-pack/plugins/rule_registry/server/routes/update_alert_by_id.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/update_alert_by_id.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/update_alert_by_id.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/update_alert_by_id.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/update_alert_by_id.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/update_alert_by_id.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/update_alert_by_id.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/update_alert_by_id.ts diff --git a/x-pack/plugins/rule_registry/server/routes/utils/route_validation.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/utils/route_validation.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/utils/route_validation.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/utils/route_validation.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_client/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_client/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/index.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.mock.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.mock.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.mock.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.test.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_client/types.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_client/types.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_info.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_info.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_info.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_info.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.mock.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.mock.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.mock.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.test.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.mock.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.mock.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.mock.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.test.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/utils.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/utils.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/utils.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/utils.test.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/utils.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/utils.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/utils.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/utils.ts diff --git a/x-pack/plugins/rule_registry/server/scripts/README.md b/x-pack/platform/plugins/shared/rule_registry/server/scripts/README.md similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/README.md rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/README.md diff --git a/x-pack/plugins/rule_registry/server/scripts/bulk_update_observability_alert_by_ids.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_observability_alert_by_ids.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/bulk_update_observability_alert_by_ids.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_observability_alert_by_ids.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/bulk_update_observability_alert_by_query.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_observability_alert_by_query.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/bulk_update_observability_alert_by_query.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_observability_alert_by_query.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/bulk_update_old_security_solution_alert_by_query.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_old_security_solution_alert_by_query.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/bulk_update_old_security_solution_alert_by_query.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_old_security_solution_alert_by_query.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/find_observability_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/find_observability_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/find_observability_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/find_observability_alert.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/get_alerts_index.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/get_alerts_index.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/get_alerts_index.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/get_alerts_index.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/get_observability_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/get_observability_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/get_observability_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/get_observability_alert.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/get_security_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/get_security_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/get_security_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/get_security_alert.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/README.md b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/README.md similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/README.md rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/README.md diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/delete_detections_user.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/delete_detections_user.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/delete_detections_user.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/delete_detections_user.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/detections_role.json b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/detections_role.json similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/detections_role.json rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/detections_role.json diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/detections_user.json b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/detections_user.json similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/detections_user.json rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/detections_user.json diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/get_detections_role.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/get_detections_role.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/get_detections_role.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/get_detections_role.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/index.ts diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/post_detections_role.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/post_detections_role.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/post_detections_role.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/post_detections_role.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/post_detections_user.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/post_detections_user.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/post_detections_user.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/post_detections_user.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/README.md b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/README.md similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/README.md rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/README.md diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/delete_detections_user.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/delete_detections_user.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/delete_detections_user.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/delete_detections_user.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/detections_role.json b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/detections_role.json similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/detections_role.json rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/detections_role.json diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/detections_user.json b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/detections_user.json similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/detections_user.json rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/detections_user.json diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/get_detections_role.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_detections_role.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/get_detections_role.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_detections_role.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/get_observability_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_observability_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/get_observability_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_observability_alert.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/get_security_solution_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_security_solution_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/get_security_solution_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_security_solution_alert.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/index.ts diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/post_detections_role.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/post_detections_role.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/post_detections_role.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/post_detections_role.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/post_detections_user.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/post_detections_user.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/post_detections_user.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/post_detections_user.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/update_observability_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/update_observability_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/update_observability_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/update_observability_alert.sh diff --git a/x-pack/plugins/rule_registry/server/search_strategy/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/search_strategy/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/search_strategy/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/search_strategy/index.ts diff --git a/x-pack/plugins/rule_registry/server/search_strategy/search_strategy.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/search_strategy/search_strategy.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.test.ts diff --git a/x-pack/plugins/rule_registry/server/search_strategy/search_strategy.ts b/x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/search_strategy/search_strategy.ts rename to x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.ts diff --git a/x-pack/plugins/rule_registry/server/types.ts b/x-pack/platform/plugins/shared/rule_registry/server/types.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/types.ts rename to x-pack/platform/plugins/shared/rule_registry/server/types.ts diff --git a/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.mock.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.mock.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.mock.ts diff --git a/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.test.ts diff --git a/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts diff --git a/x-pack/plugins/rule_registry/server/utils/fetch_alert_by_uuid.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/fetch_alert_by_uuid.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/fetch_alert_by_uuid.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/fetch_alert_by_uuid.ts diff --git a/x-pack/plugins/rule_registry/server/utils/fetch_existing_alerts.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/fetch_existing_alerts.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/fetch_existing_alerts.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/fetch_existing_alerts.ts diff --git a/x-pack/plugins/rule_registry/server/utils/get_alerts_for_notification.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/get_alerts_for_notification.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/get_alerts_for_notification.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/get_alerts_for_notification.test.ts diff --git a/x-pack/plugins/rule_registry/server/utils/get_alerts_for_notification.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/get_alerts_for_notification.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/get_alerts_for_notification.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/get_alerts_for_notification.ts diff --git a/x-pack/plugins/rule_registry/server/utils/get_common_alert_fields.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/get_common_alert_fields.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/get_common_alert_fields.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/get_common_alert_fields.ts diff --git a/x-pack/plugins/rule_registry/server/utils/persistence_types.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/persistence_types.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts diff --git a/x-pack/plugins/rule_registry/server/utils/rule_executor.test_helpers.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/rule_executor.test_helpers.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/rule_executor.test_helpers.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/rule_executor.test_helpers.ts diff --git a/x-pack/plugins/rule_registry/server/utils/utils.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/utils.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/utils.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/utils.test.ts diff --git a/x-pack/plugins/rule_registry/server/utils/utils.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/utils.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/utils.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/utils.ts diff --git a/x-pack/plugins/rule_registry/server/utils/with_rule_data_client_factory.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/with_rule_data_client_factory.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/with_rule_data_client_factory.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/with_rule_data_client_factory.ts diff --git a/x-pack/plugins/rule_registry/tsconfig.json b/x-pack/platform/plugins/shared/rule_registry/tsconfig.json similarity index 92% rename from x-pack/plugins/rule_registry/tsconfig.json rename to x-pack/platform/plugins/shared/rule_registry/tsconfig.json index 794917b370125..ad6e1c78c78a3 100644 --- a/x-pack/plugins/rule_registry/tsconfig.json +++ b/x-pack/platform/plugins/shared/rule_registry/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -9,7 +9,7 @@ // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "server/**/*.json", "public/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/stack_alerts/README.md b/x-pack/platform/plugins/shared/stack_alerts/README.md similarity index 100% rename from x-pack/plugins/stack_alerts/README.md rename to x-pack/platform/plugins/shared/stack_alerts/README.md diff --git a/x-pack/plugins/stack_alerts/common/build_sorted_events_query.test.ts b/x-pack/platform/plugins/shared/stack_alerts/common/build_sorted_events_query.test.ts similarity index 99% rename from x-pack/plugins/stack_alerts/common/build_sorted_events_query.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/build_sorted_events_query.test.ts index 8e53736b23963..fa2a6ebf3c4ec 100644 --- a/x-pack/plugins/stack_alerts/common/build_sorted_events_query.test.ts +++ b/x-pack/platform/plugins/shared/stack_alerts/common/build_sorted_events_query.test.ts @@ -18,7 +18,6 @@ const DefaultQuery: Writable> = { }; describe('buildSortedEventsQuery', () => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any let query: any; beforeEach(() => { query = { ...DefaultQuery }; diff --git a/x-pack/plugins/stack_alerts/common/build_sorted_events_query.ts b/x-pack/platform/plugins/shared/stack_alerts/common/build_sorted_events_query.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/build_sorted_events_query.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/build_sorted_events_query.ts diff --git a/x-pack/plugins/stack_alerts/common/comparator.test.ts b/x-pack/platform/plugins/shared/stack_alerts/common/comparator.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/comparator.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/comparator.test.ts diff --git a/x-pack/plugins/stack_alerts/common/comparator.ts b/x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/comparator.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts diff --git a/x-pack/plugins/stack_alerts/common/comparator_types.ts b/x-pack/platform/plugins/shared/stack_alerts/common/comparator_types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/comparator_types.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/comparator_types.ts diff --git a/x-pack/plugins/stack_alerts/common/constants.ts b/x-pack/platform/plugins/shared/stack_alerts/common/constants.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/constants.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/constants.ts diff --git a/x-pack/plugins/stack_alerts/common/esql_query_utils.test.ts b/x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/esql_query_utils.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.test.ts diff --git a/x-pack/plugins/stack_alerts/common/esql_query_utils.ts b/x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/esql_query_utils.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts diff --git a/x-pack/plugins/stack_alerts/common/index.ts b/x-pack/platform/plugins/shared/stack_alerts/common/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/index.ts diff --git a/x-pack/platform/plugins/shared/stack_alerts/jest.config.js b/x-pack/platform/plugins/shared/stack_alerts/jest.config.js new file mode 100644 index 0000000000000..d2c0ce31b0a10 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_alerts/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/stack_alerts'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/stack_alerts', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/stack_alerts/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/stack_alerts/kibana.jsonc b/x-pack/platform/plugins/shared/stack_alerts/kibana.jsonc similarity index 100% rename from x-pack/plugins/stack_alerts/kibana.jsonc rename to x-pack/platform/plugins/shared/stack_alerts/kibana.jsonc diff --git a/x-pack/plugins/stack_alerts/public/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/index.ts diff --git a/x-pack/plugins/stack_alerts/public/plugin.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/plugin.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/plugin.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/plugin.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/index_select_popover.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/index_select_popover.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/index_select_popover.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/index_select_popover.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/index_select_popover.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/index_select_popover.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/index_select_popover.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/index_select_popover.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/source_fields_select.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/source_fields_select.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/source_fields_select.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/source_fields_select.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/source_fields_select.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/source_fields_select.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/source_fields_select.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/source_fields_select.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/constants.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/constants.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/constants.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/constants.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx similarity index 98% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx index e1d17b79e612d..30854c1e5a2d1 100644 --- a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx +++ b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx @@ -30,11 +30,10 @@ jest.mock('@kbn/kibana-react-plugin/public', () => { jest.mock('@kbn/code-editor', () => ({ // Mocking CodeEditor - // eslint-disable-next-line @typescript-eslint/no-explicit-any + CodeEditor: (props: any) => ( { props.onChange(syntheticEvent.jsonString); }} @@ -99,7 +98,6 @@ jest.mock('@kbn/triggers-actions-ui-plugin/public', () => { const createDataPluginMock = () => { const dataMock = dataPluginMock.createStartContract() as DataPublicPluginStart & { - // eslint-disable-next-line @typescript-eslint/no-explicit-any search: ISearchStart & { search: jest.MockedFunction }; }; return dataMock; diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/es_query_expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/es_query_expression.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/es_query_expression.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/es_query_expression.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx similarity index 98% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx index 568a8cf226ae2..61be0eb0d6a32 100644 --- a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx +++ b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx @@ -33,11 +33,10 @@ jest.mock('@kbn/code-editor', () => { return { ...original, // Mocking CodeEditor - // eslint-disable-next-line @typescript-eslint/no-explicit-any + CodeEditor: (props: any) => ( { props.onChange(syntheticEvent.jsonString); }} diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/expression.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/expression.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/expression.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/query_form_type_chooser.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/query_form_type_chooser.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/query_form_type_chooser.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/query_form_type_chooser.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.scss b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.scss similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.scss rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.scss diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression_form.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression_form.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression_form.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression_form.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/threshold_help_popover.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/threshold_help_popover.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/threshold_help_popover.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/threshold_help_popover.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.test.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.test.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/types.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/types.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/util.test.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/util.test.ts similarity index 97% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/util.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/util.test.ts index f2d6e6abe250f..af39efd4b799c 100644 --- a/x-pack/plugins/stack_alerts/public/rule_types/es_query/util.test.ts +++ b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/util.test.ts @@ -185,13 +185,11 @@ describe('Es Query utils', () => { }); test('should return an empty array if raw runtime fields are malformed JSON', () => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any const rawFields: any = null; expect(convertRawRuntimeFieldtoFieldOption(rawFields)).toEqual([]); }); test('should not return FieldOption if raw runtime fields do not include the type', () => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any const rawFields: any = { day_of_week: { test: 'keyword', diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/util.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/util.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/util.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/util.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/validation.test.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/validation.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/validation.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/validation.test.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/validation.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/validation.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/validation.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/validation.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/query_input.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/query_input.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/query_input.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/query_input.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/rule_form.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/rule_form.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/rule_form.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/rule_form.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/single_field_select.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/single_field_select.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/single_field_select.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/single_field_select.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/types.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/types.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/validation.test.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/validation.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/validation.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/validation.test.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/validation.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/validation.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/validation.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/validation.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.scss b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.scss similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.scss rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.scss diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/index_threshold_api.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/index_threshold_api.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/index_threshold_api.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/index_threshold_api.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/types.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/types.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/validation.test.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/validation.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/validation.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/validation.test.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/validation.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/validation.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/validation.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/validation.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/visualization.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/visualization.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/visualization.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/visualization.tsx diff --git a/x-pack/plugins/stack_alerts/server/feature.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/feature.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/feature.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/feature.test.ts diff --git a/x-pack/plugins/stack_alerts/server/feature.ts b/x-pack/platform/plugins/shared/stack_alerts/server/feature.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/feature.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/feature.ts diff --git a/x-pack/plugins/stack_alerts/server/index.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/index.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/index.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/index.test.ts diff --git a/x-pack/plugins/stack_alerts/server/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/index.ts diff --git a/x-pack/plugins/stack_alerts/server/plugin.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/plugin.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/plugin.test.ts diff --git a/x-pack/plugins/stack_alerts/server/plugin.ts b/x-pack/platform/plugins/shared/stack_alerts/server/plugin.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/plugin.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/plugin.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/constants.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/constants.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/constants.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/constants.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/action_context.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/action_context.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/action_context.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/action_context.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/action_context.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/action_context.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/action_context.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/action_context.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/constants.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/constants.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/constants.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/constants.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/executor.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/executor.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/executor.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/executor.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/index.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts similarity index 99% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts index 1d7583f0e5ef7..08ebf72059044 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts +++ b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts @@ -28,7 +28,6 @@ const DefaultParams: Writable> = { }; describe('ruleType Params validate()', () => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any let params: any; beforeEach(() => { params = { ...DefaultParams }; diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type_params.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type_params.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/types.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/types.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/util.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/util.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/util.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/util.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/util.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/util.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/util.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/util.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/__snapshots__/rule_type.test.ts.snap b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/__snapshots__/rule_type.test.ts.snap similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/__snapshots__/rule_type.test.ts.snap rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/__snapshots__/rule_type.test.ts.snap diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/constants.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/constants.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/constants.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/constants.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/executor.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/executor.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/executor.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/executor.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/executor.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/executor.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/executor.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/executor.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/index.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/alert_context.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/alert_context.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/alert_context.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/alert_context.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/alert_context.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/alert_context.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/alert_context.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/alert_context.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts similarity index 99% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts index c8e8dd8faa4d5..c6be3503d93f0 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts +++ b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts @@ -23,7 +23,7 @@ describe('getEntitiesAndGenerateAlerts', () => { instanceId: id, }); }, - } as any; // eslint-disable-line @typescript-eslint/no-explicit-any + } as any; beforeEach(() => { alerts.length = 0; diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/index.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/transform_results.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/transform_results.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/transform_results.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/transform_results.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts similarity index 97% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts index 47292ab82e195..4a40e20ed4774 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts +++ b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts @@ -10,7 +10,7 @@ import type { GeoContainmentAlertInstanceState } from '../types'; // Flatten agg results and get latest locations for each entity export function transformResults( - results: any, // eslint-disable-line @typescript-eslint/no-explicit-any + results: any, dateField: string, geoField: string ): Map { diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/rule_type.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/rule_type.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/rule_type.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/rule_type.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/rule_type.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/rule_type.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/rule_type.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/rule_type.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response.json b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response.json similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response.json rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response.json diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_shapes.json b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_shapes.json similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_shapes.json rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_shapes.json diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_with_nesting.json b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_with_nesting.json similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_with_nesting.json rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_with_nesting.json diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/types.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/types.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/README.md b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/README.md similarity index 98% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/README.md rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/README.md index 4aebb51a85a89..7fb6560bad767 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/README.md +++ b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/README.md @@ -122,4 +122,4 @@ server log [17:32:10.060] [warning][actions][actions][plugins] \ ## Data Apis via the TriggersActionsUi plugin and its http endpoints -The Index Threshold Alert Type is backed by Apis exposed by the [TriggersActionsUi plugin](../../../../triggers_actions_ui/README.md). +The Index Threshold Alert Type is backed by Apis exposed by the [TriggersActionsUi plugin](../../../../../../triggers_actions_ui/README.md). diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/action_context.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/action_context.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/action_context.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/action_context.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/action_context.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/action_context.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/action_context.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/action_context.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/index.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts similarity index 98% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts index c4dd8f2149255..b0047064f8f82 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts +++ b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts @@ -25,7 +25,6 @@ const DefaultParams: Writable> = { describe('ruleType Params validate()', () => { runTests(ParamsSchema, DefaultParams); - // eslint-disable-next-line @typescript-eslint/no-explicit-any let params: any; beforeEach(() => { params = { ...DefaultParams }; @@ -81,7 +80,6 @@ describe('ruleType Params validate()', () => { }); export function runTests(schema: ObjectType, defaultTypeParams: Record): void { - // eslint-disable-next-line @typescript-eslint/no-explicit-any let params: any; const CoreDefaultParams: Writable> = { diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type_params.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type_params.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type_params.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type_params.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/lib/comparator.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/lib/comparator.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/lib/comparator.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/lib/comparator.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/types.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/types.ts diff --git a/x-pack/plugins/stack_alerts/server/types.ts b/x-pack/platform/plugins/shared/stack_alerts/server/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/types.ts diff --git a/x-pack/plugins/stack_alerts/tsconfig.json b/x-pack/platform/plugins/shared/stack_alerts/tsconfig.json similarity index 96% rename from x-pack/plugins/stack_alerts/tsconfig.json rename to x-pack/platform/plugins/shared/stack_alerts/tsconfig.json index c539176666b8f..878c342a5127b 100644 --- a/x-pack/plugins/stack_alerts/tsconfig.json +++ b/x-pack/platform/plugins/shared/stack_alerts/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/stack_connectors/README.md b/x-pack/platform/plugins/shared/stack_connectors/README.md similarity index 97% rename from x-pack/plugins/stack_connectors/README.md rename to x-pack/platform/plugins/shared/stack_connectors/README.md index 3543ee5f775a3..9c6d383a84c05 100644 --- a/x-pack/plugins/stack_connectors/README.md +++ b/x-pack/platform/plugins/shared/stack_connectors/README.md @@ -408,13 +408,13 @@ Connectors that take URLs or hostnames should check that those values are allowe ## Documentation -You should create asciidoc for the new connector type. Add an entry to the connector type index - [`docs/user/alerting/action-types.asciidoc`](../../../docs/user/alerting/action-types.asciidoc), which points to a new document for the connector type that should be in the directory [`docs/user/alerting/action-types`](../../../docs/user/alerting/action-types). +You should create asciidoc for the new connector type. Add an entry to the connector type index - [`docs/user/alerting/action-types.asciidoc`](../../../../../docs/user/alerting/action-types.asciidoc), which points to a new document for the connector type that should be in the directory [`docs/user/alerting/action-types`](../../../docs/user/alerting/action-types). We suggest following the template provided in `docs/action-type-template.asciidoc`. The [Email action type](https://www.elastic.co/guide/en/kibana/master/email-action-type.html) is an example of documentation created following the template. ## Tests -The connector type should have both unit tests and functional tests. For functional tests, if your connector interacts with a 3rd party service via HTTP, you may be able to create a simulator for your service to test with. See the existing functional test servers in the directory [`x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server`](../../test/alerting_api_integration/common/plugins/actions_simulators/server) +The connector type should have both unit tests and functional tests. For functional tests, if your connector interacts with a 3rd party service via HTTP, you may be able to create a simulator for your service to test with. See the existing functional test servers in the directory [`x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server`](../../../../test/alerting_api_integration/common/plugins/actions_simulators/server) ## Connector type config and secrets @@ -426,4 +426,4 @@ Instead of `schema.maybe()`, use `schema.nullable()`, which is the same as `sche ## User interface -To make this connector usable in the Kibana UI, you will need to provide all the UI editing aspects of the connector. The existing connector type user interfaces are defined in [`x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types`](../triggers_actions_ui/public/application/components/builtin_action_types). For more information, see the [UI documentation](../triggers_actions_ui/README.md#create-and-register-new-action-type-ui). +To make this connector usable in the Kibana UI, you will need to provide all the UI editing aspects of the connector. The existing connector type user interfaces are defined in [`x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types`](../triggers_actions_ui/public/application/components/builtin_action_types). For more information, see the [UI documentation](../triggers_actions_ui/README.md#create-and-register-new-action-type-ui). diff --git a/x-pack/plugins/stack_connectors/__mocks__/@kbn/code-editor/index.tsx b/x-pack/platform/plugins/shared/stack_connectors/__mocks__/@kbn/code-editor/index.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/__mocks__/@kbn/code-editor/index.tsx rename to x-pack/platform/plugins/shared/stack_connectors/__mocks__/@kbn/code-editor/index.tsx diff --git a/x-pack/plugins/stack_connectors/common/auth/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/auth/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/mocks.ts diff --git a/x-pack/plugins/stack_connectors/common/auth/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/auth/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/types.ts diff --git a/x-pack/plugins/stack_connectors/common/auth/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/common/auth/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/utils.ts diff --git a/x-pack/plugins/stack_connectors/common/bedrock/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/bedrock/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/bedrock/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/bedrock/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/bedrock/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/bedrock/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/bedrock/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/bedrock/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/bedrock/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/bedrock/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/bedrock/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/bedrock/types.ts diff --git a/x-pack/plugins/stack_connectors/common/crowdstrike/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/crowdstrike/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/crowdstrike/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/crowdstrike/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/crowdstrike/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/crowdstrike/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/types.ts diff --git a/x-pack/plugins/stack_connectors/common/d3security/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/d3security/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/d3security/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/d3security/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/d3security/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/d3security/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/d3security/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/d3security/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/d3security/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/d3security/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/d3security/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/d3security/types.ts diff --git a/x-pack/plugins/stack_connectors/common/dynamic_config/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/dynamic_config/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/dynamic_config/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/dynamic_config/types.ts diff --git a/x-pack/plugins/stack_connectors/common/experimental_features.ts b/x-pack/platform/plugins/shared/stack_connectors/common/experimental_features.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/experimental_features.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/experimental_features.ts diff --git a/x-pack/plugins/stack_connectors/common/gemini/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/gemini/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/gemini/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/gemini/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/gemini/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/gemini/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/gemini/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/gemini/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/gemini/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/gemini/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/gemini/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/gemini/types.ts diff --git a/x-pack/plugins/stack_connectors/common/index.ts b/x-pack/platform/plugins/shared/stack_connectors/common/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/index.ts diff --git a/x-pack/plugins/stack_connectors/common/inference/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/inference/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/inference/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/inference/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/inference/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/inference/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/inference/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/inference/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/inference/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/inference/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/inference/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/inference/types.ts diff --git a/x-pack/plugins/stack_connectors/common/jira/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/jira/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/jira/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/jira/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/openai/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/openai/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/openai/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/openai/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/openai/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/openai/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/openai/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/openai/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/openai/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/openai/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/openai/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/openai/types.ts diff --git a/x-pack/plugins/stack_connectors/common/opsgenie/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/common/opsgenie/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/opsgenie/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/opsgenie/index.test.ts diff --git a/x-pack/plugins/stack_connectors/common/opsgenie/index.ts b/x-pack/platform/plugins/shared/stack_connectors/common/opsgenie/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/opsgenie/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/opsgenie/index.ts diff --git a/x-pack/plugins/stack_connectors/common/sentinelone/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/sentinelone/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/sentinelone/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/sentinelone/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/sentinelone/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/sentinelone/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/types.ts diff --git a/x-pack/plugins/stack_connectors/common/servicenow/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/servicenow/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/servicenow/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/servicenow/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/servicenow_config.ts b/x-pack/platform/plugins/shared/stack_connectors/common/servicenow_config.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/servicenow_config.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/servicenow_config.ts diff --git a/x-pack/plugins/stack_connectors/common/slack_api/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/slack_api/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/slack_api/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/slack_api/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/slack_api/lib.ts b/x-pack/platform/plugins/shared/stack_connectors/common/slack_api/lib.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/slack_api/lib.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/slack_api/lib.ts diff --git a/x-pack/plugins/stack_connectors/common/slack_api/schema.test.ts b/x-pack/platform/plugins/shared/stack_connectors/common/slack_api/schema.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/slack_api/schema.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/slack_api/schema.test.ts diff --git a/x-pack/plugins/stack_connectors/common/slack_api/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/slack_api/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/slack_api/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/slack_api/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/slack_api/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/slack_api/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/slack_api/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/slack_api/types.ts diff --git a/x-pack/plugins/stack_connectors/common/thehive/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/thehive/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/thehive/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/thehive/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/thehive/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/thehive/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/thehive/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/thehive/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/thehive/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/thehive/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/thehive/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/thehive/types.ts diff --git a/x-pack/plugins/stack_connectors/common/tines/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/tines/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/tines/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/tines/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/tines/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/tines/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/tines/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/tines/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/tines/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/tines/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/tines/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/tines/types.ts diff --git a/x-pack/plugins/stack_connectors/common/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/types.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/jest.config.js b/x-pack/platform/plugins/shared/stack_connectors/jest.config.js new file mode 100644 index 0000000000000..bcca799471aa7 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/stack_connectors'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/stack_connectors', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/stack_connectors/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/stack_connectors/kibana.jsonc b/x-pack/platform/plugins/shared/stack_connectors/kibana.jsonc similarity index 100% rename from x-pack/plugins/stack_connectors/kibana.jsonc rename to x-pack/platform/plugins/shared/stack_connectors/kibana.jsonc diff --git a/x-pack/plugins/stack_connectors/public/common/auth/auth_config.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/auth_config.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/auth_config.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/auth_config.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/auth_config.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/auth_config.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/auth_config.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/auth_config.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/basic_auth_fields.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/basic_auth_fields.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/basic_auth_fields.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/basic_auth_fields.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/basic_auth_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/basic_auth_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/basic_auth_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/basic_auth_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/ssl_cert_fields.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/ssl_cert_fields.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/ssl_cert_fields.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/ssl_cert_fields.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/ssl_cert_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/ssl_cert_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/ssl_cert_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/ssl_cert_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/common/experimental_features_service.ts b/x-pack/platform/plugins/shared/stack_connectors/public/common/experimental_features_service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/experimental_features_service.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/common/experimental_features_service.ts diff --git a/x-pack/plugins/stack_connectors/public/common/get_experimental_features.ts b/x-pack/platform/plugins/shared/stack_connectors/public/common/get_experimental_features.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/get_experimental_features.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/common/get_experimental_features.ts diff --git a/x-pack/plugins/stack_connectors/public/common/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/common/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/common/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/bedrock.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/bedrock.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/bedrock.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/bedrock.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/bedrock.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/bedrock.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/bedrock.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/bedrock.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/constants.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/constants.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/constants.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/constants.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/dashboard_link.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/dashboard_link.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/dashboard_link.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/dashboard_link.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/action_variables.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/action_variables.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/action_variables.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/action_variables.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/severity_filter.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/severity_filter.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/severity_filter.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/severity_filter.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/severity_filter.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/severity_filter.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/severity_filter.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/severity_filter.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/status_filter.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/status_filter.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/status_filter.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/status_filter.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/status_filter.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/status_filter.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/status_filter.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/status_filter.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/auth.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/auth.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/auth.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/auth.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/create.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/create.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/create.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/create.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/get.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/get.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/get.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/get.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/update.styles.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/update.styles.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/update.styles.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/update.styles.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/update.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/update.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/update.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/update.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/validator.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/validator.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/validator.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/validator.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike_params_empty.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike_params_empty.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike_params_empty.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike_params_empty.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/logo.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/logo.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/logo.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/logo.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/d3security.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/d3security.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/d3security.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/d3security.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/d3security.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/d3security.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/d3security.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/d3security.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/api.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email_connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email_connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/exchange_form.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/exchange_form.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/exchange_form.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/exchange_form.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/exchange_form.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/exchange_form.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/exchange_form.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/exchange_form.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/use_email_config.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/use_email_config.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/use_email_config.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/use_email_config.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/use_email_config.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/use_email_config.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/use_email_config.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/use_email_config.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/constants.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/constants.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/constants.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/constants.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/dashboard_link.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/dashboard_link.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/dashboard_link.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/dashboard_link.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/gemini.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/gemini.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/gemini.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/gemini.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/gemini.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/gemini.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/gemini.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/gemini.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/additional_options_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/additional_options_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/additional_options_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/additional_options_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/constants.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/constants.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/constants.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/constants.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/helpers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/helpers.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/hidden_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/hidden_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/hidden_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/hidden_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/inference.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/inference.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/inference.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/inference.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/get_providers.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/get_providers.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/get_providers.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/get_providers.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/get_providers.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/get_providers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/get_providers.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/get_providers.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/selectable/index.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/selectable/index.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/selectable/index.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/selectable/index.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/selectable/index.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/selectable/index.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/selectable/index.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/selectable/index.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/api.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/api.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/search_issues.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/search_issues.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/search_issues.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/search_issues.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_fields_by_issue_type.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_fields_by_issue_type.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_fields_by_issue_type.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_fields_by_issue_type.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_issue_types.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_issue_types.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_issue_types.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_issue_types.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_issues.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_issues.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_issues.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_issues.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_single_issue.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_single_issue.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_single_issue.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_single_issue.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_field.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_field.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_field.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_field.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_utils.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/extract_action_variable.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/extract_action_variable.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/extract_action_variable.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/extract_action_variable.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/api.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/api.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/rewrite_response_body.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/rewrite_response_body.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/rewrite_response_body.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/rewrite_response_body.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/additional_fields.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/additional_fields.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/additional_fields.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/additional_fields.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/additional_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/additional_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/additional_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/additional_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/api.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/api.ts similarity index 96% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/api.ts index 38ae8727f635d..7af8b69a0d33e 100644 --- a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/api.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/api.ts @@ -43,7 +43,7 @@ export async function getChoices({ /** * The app info url should be the same as at: - * x-pack/plugins/stack_connectors/server/connector_types/cases/servicenow/service.ts + * x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases/servicenow/service.ts */ const getAppInfoUrl = (url: string, scope: string) => `${url}/api/${scope}/elastic_api/health`; diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/credentials_auth.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/credentials_auth.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/credentials_auth.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/credentials_auth.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/oauth.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/oauth.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/oauth.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/oauth.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials_api_url.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials_api_url.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials_api_url.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials_api_url.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/helpers.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/helpers.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/helpers.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/helpers.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/helpers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/helpers.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/installation_callout.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/installation_callout.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/installation_callout.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/installation_callout.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/installation_callout.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/installation_callout.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/installation_callout.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/installation_callout.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/selection_row.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/selection_row.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/selection_row.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/selection_row.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/update_connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/update_connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/update_connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/update_connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/update_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/update_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/update_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/update_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_choices.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_choices.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_choices.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_choices.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_choices.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_choices.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_choices.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_choices.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/test_utils.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/test_utils.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/test_utils.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/test_utils.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/validate_json.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/validate_json.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/validate_json.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/validate_json.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/validate_json.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/validate_json.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/validate_json.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/validate_json.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/constants.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/constants.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/constants.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/constants.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/dashboard_link.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/dashboard_link.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/dashboard_link.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/dashboard_link.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/openai.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/openai.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/openai.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/openai.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/openai.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/openai.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/openai.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/openai.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert_schema.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert_schema.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert_schema.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert_schema.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts similarity index 90% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts index 8c8a78ca0d920..5904c1b394e3c 100644 --- a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts @@ -9,7 +9,7 @@ import * as rt from 'io-ts'; import { decodeSchema } from './schema_utils'; /** - * This schema must match the CloseAlertParamsSchema in x-pack/plugins/stack_connectors/server/connector_types/stack/opsgenie/schema.ts + * This schema must match the CloseAlertParamsSchema in x-pack/platform/plugins/shared/stack_connectors/server/connector_types/stack/opsgenie/schema.ts * except that it makes all fields partial. */ const CloseAlertSchema = rt.exact( diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/constants.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/index.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/index.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/index.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/index.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/index.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/index.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/index.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/index.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/priority.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/priority.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/priority.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/priority.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/priority.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/priority.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/priority.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/priority.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/schema.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/schema.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/schema.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/schema.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts similarity index 98% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts index 6f13886a32a62..5ab68c920d55d 100644 --- a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts @@ -73,7 +73,7 @@ const CreateAlertSchemaOptionalProps = rt.partial( /** * This schema is duplicated from the server. The only difference is that it is using io-ts vs kbn-schema. - * NOTE: This schema must be the same as defined here: x-pack/plugins/stack_connectors/server/connector_types/stack/opsgenie/schema.ts + * NOTE: This schema must be the same as defined here: x-pack/platform/plugins/shared/stack_connectors/server/connector_types/stack/opsgenie/schema.ts * * The reason it is duplicated here is because the server uses kbn-schema which uses Joi under the hood. If we import * Joi on the frontend it will cause ~500KB of data to be loaded on page loads. To avoid this we'll use io-ts in the frontend. diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/tags.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/tags.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/tags.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/tags.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/tags.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/tags.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/tags.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/tags.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/display_more_options.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/display_more_options.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/display_more_options.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/display_more_options.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/display_more_options.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/display_more_options.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/display_more_options.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/display_more_options.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/model.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/model.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/model.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/model.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/model.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/model.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/model.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/model.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/schema_utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/schema_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/schema_utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/schema_utils.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/schema_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/schema_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/schema_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/schema_utils.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/links_list.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/links_list.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/links_list.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/links_list.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/links_list.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/links_list.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/links_list.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/links_list.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/api.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/api.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/use_get_incident_types.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/use_get_incident_types.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/use_get_incident_types.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/use_get_incident_types.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/use_get_severity.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/use_get_severity.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/use_get_severity.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/use_get_severity.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone_params_empty.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone_params_empty.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone_params_empty.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone_params_empty.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/server_log/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/server_log/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/action_form.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/action_form.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/action_form.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/action_form.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/index.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/index.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/index.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/index.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_api.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_api.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_api.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_api.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_api.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_api.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_api.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_api.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/use_valid_channels.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/use_valid_channels.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/use_valid_channels.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/use_valid_channels.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/api.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/api.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/helpers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/helpers.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/mocks.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/swimlane_connection.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/swimlane_connection.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/swimlane_connection.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/swimlane_connection.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/swimlane_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/swimlane_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/swimlane_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/swimlane_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/use_get_application.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/use_get_application.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/use_get_application.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/use_get_application.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/use_get_application.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/use_get_application.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/use_get_application.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/use_get_application.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/constants.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params_alert.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_alert.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params_alert.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_alert.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params_alert.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_alert.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params_alert.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_alert.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params_case.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_case.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params_case.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_case.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params_case.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_case.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params_case.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_case.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/thehive.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/thehive.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/thehive.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/thehive.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/thehive.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/thehive.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/thehive.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/thehive.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines_connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines_connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/index.ts diff --git a/x-pack/plugins/stack_connectors/public/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/public/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/mocks.ts diff --git a/x-pack/plugins/stack_connectors/public/plugin.ts b/x-pack/platform/plugins/shared/stack_connectors/public/plugin.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/plugin.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/plugin.ts diff --git a/x-pack/plugins/stack_connectors/server/config.ts b/x-pack/platform/plugins/shared/stack_connectors/server/config.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/config.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/config.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/bedrock.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/bedrock.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/bedrock.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/bedrock.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/bedrock.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/bedrock.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/bedrock.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/bedrock.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/render.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/render.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/render.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/render.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/mock.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/mock.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/mock.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/mock.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/translations.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/types.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/validators.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/validators.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/validators.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/validators.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/crowdstrike.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/crowdstrike.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/crowdstrike.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/crowdstrike.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/crowdstrike.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/crowdstrike.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/crowdstrike.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/crowdstrike.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/error.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/error.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/error.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/error.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/types.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/d3security.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/d3security.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/d3security.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/d3security.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/d3security.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/d3security.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/d3security.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/d3security.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/helpers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/helpers.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/render.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/render.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/render.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/render.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/email/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/email/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/send_email.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/email/send_email.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/send_email.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email.ts similarity index 99% rename from x-pack/plugins/stack_connectors/server/connector_types/email/send_email.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email.ts index 06ae036f40b2c..3c9b2c8ceea68 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/email/send_email.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email.ts @@ -236,7 +236,7 @@ function getTransportConfig( hasAuth: boolean ) { const { service, host, port, secure, user, password } = transport; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const transportConfig: Record = {}; const proxySettings = configurationUtilities.getProxySettings(); const generalSSLSettings = configurationUtilities.getSSLSettings(); diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/send_email_graph_api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email_graph_api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/email/send_email_graph_api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email_graph_api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/send_email_graph_api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email_graph_api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/email/send_email_graph_api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email_graph_api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/es_index/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/es_index/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/es_index/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/es_index/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/es_index/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/es_index/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/es_index/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/es_index/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/render.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/render.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/render.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/render.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/helpers.ts similarity index 98% rename from x-pack/plugins/stack_connectors/server/connector_types/inference/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/helpers.ts index 7c6bfab9c6396..a4dd9d5727633 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/inference/helpers.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/helpers.ts @@ -94,7 +94,6 @@ export function chunksIntoMessage(obs$: Observable) }, ], object: 'chat.completion', - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any ), last(), diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/inference/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/inference/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/inference.test.ts similarity index 99% rename from x-pack/plugins/stack_connectors/server/connector_types/inference/inference.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/inference.test.ts index febec4d27ff5e..e8ebf3a5cfaa3 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.test.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/inference.test.ts @@ -236,7 +236,7 @@ describe('InferenceConnector', () => { streamMock.write(chunk); }); streamMock.complete(); - // eslint-disable-next-line @typescript-eslint/no-explicit-any + mockEsClient.inference.inference.mockResolvedValue(streamMock.transform as any); }; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/inference.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/inference/inference.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/inference.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/mocks.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/schema.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/schema.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/schema.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/schema.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/translations.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/types.ts similarity index 99% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/types.ts index 755726137e412..3c043cfdce0fe 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/jira/types.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/types.ts @@ -5,8 +5,6 @@ * 2.0. */ -/* eslint-disable @typescript-eslint/no-explicit-any */ - import { TypeOf } from '@kbn/config-schema'; import { Logger } from '@kbn/core/server'; import { ValidatorServices } from '@kbn/actions-plugin/server/types'; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/validators.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/validators.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/validators.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/validators.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/convert_timestamp.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/convert_timestamp.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/convert_timestamp.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/convert_timestamp.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/convert_timestamp.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/convert_timestamp.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/convert_timestamp.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/convert_timestamp.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/gen_ai_dashboard.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/gen_ai_dashboard.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/gen_ai_dashboard.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/gen_ai_dashboard.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/http_response_retry_header.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/http_response_retry_header.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/http_response_retry_header.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/http_response_retry_header.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/result_type.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/result_type.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/result_type.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/result_type.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/schemas.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/schemas.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/schemas.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/schemas.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/config.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/config.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/config.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/config.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/config.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/config.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/config.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/config.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/mocks.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.ts similarity index 99% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.ts index 4cfe1ad56cfa7..d4e3ab5eb8bc0 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/service.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.ts @@ -68,7 +68,7 @@ export const createExternalService: ServiceFactory = ({ const choicesUrl = `${urlWithoutTrailingSlash}/api/now/table/sys_choice`; /** * Need to be set the same at: - * x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/api.ts + * x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/api.ts */ const getVersionUrl = () => `${urlWithoutTrailingSlash}/api/${appScope}/elastic_api/health`; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/translations.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/types.ts similarity index 99% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/types.ts index 7cecf0bcddb46..3d52a888edb92 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/types.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/types.ts @@ -5,8 +5,6 @@ * 2.0. */ -/* eslint-disable @typescript-eslint/no-explicit-any */ - import { AxiosError, AxiosInstance, AxiosResponse } from 'axios'; import { TypeOf } from '@kbn/config-schema'; import { Logger } from '@kbn/core/server'; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/validators.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/validators.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/validators.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/validators.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/validators.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/validators.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/validators.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/validators.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/string_utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/string_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/string_utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/string_utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/string_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/string_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/string_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/string_utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/unflatten_object.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/unflatten_object.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/unflatten_object.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/unflatten_object.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/unflatten_object.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/unflatten_object.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/unflatten_object.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/unflatten_object.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/validators.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/validators.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/validators.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/validators.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/validators.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/validators.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/validators.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/validators.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/openai_utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/openai_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/openai_utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/openai_utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/openai_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/openai_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/openai_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/openai_utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/openai.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/openai.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/openai.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/openai.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/openai.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/openai.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/openai.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/openai.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/render.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/render.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/render.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/render.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/connector.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/connector.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/connector.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/connector.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/connector.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/connector.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/connector.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/connector.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/render_template_variables.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/render_template_variables.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/render_template_variables.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/render_template_variables.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/render_template_variables.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/render_template_variables.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/render_template_variables.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/render_template_variables.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/schema.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/schema.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/schema.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/schema.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/test_schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/test_schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/test_schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/test_schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/translations.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/types.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/pagerduty/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/pagerduty/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/pagerduty/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/pagerduty/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/pagerduty/post_pagerduty.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/post_pagerduty.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/pagerduty/post_pagerduty.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/post_pagerduty.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/constants.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/mocks.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/resilient.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/resilient.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/resilient.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/resilient.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/resilient.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/resilient.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/resilient.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/resilient.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/translations.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/types.ts similarity index 97% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/types.ts index e9770db7a9834..a48d6668aa2c5 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/resilient/types.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/types.ts @@ -5,8 +5,6 @@ * 2.0. */ -/* eslint-disable @typescript-eslint/no-explicit-any */ - import { TypeOf } from '@kbn/config-schema'; import { ValidatorServices } from '@kbn/actions-plugin/server/types'; import { diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/sentinelone/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/mocks.ts similarity index 99% rename from x-pack/plugins/stack_connectors/server/connector_types/sentinelone/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/mocks.ts index b53ba30673198..1177cb06b56ed 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/mocks.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/mocks.ts @@ -5,8 +5,6 @@ * 2.0. */ -/* eslint-disable @typescript-eslint/no-explicit-any */ - import { DeepPartial } from '@kbn/utility-types'; import { merge } from 'lodash'; import { AxiosResponse } from 'axios/index'; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/sentinelone/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/sentinelone.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/sentinelone.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/sentinelone/sentinelone.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/sentinelone.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/sentinelone.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/sentinelone.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/sentinelone/sentinelone.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/sentinelone.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/server_log/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/server_log/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/server_log/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/server_log/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/server_log/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/server_log/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/server_log/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/server_log/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/translations.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/helpers.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/helpers.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/helpers.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/helpers.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/helpers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/helpers.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/mocks.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/translations.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/types.ts similarity index 98% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/types.ts index dc36aa13f6541..b2af67e332b7b 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/types.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/types.ts @@ -5,7 +5,6 @@ * 2.0. */ -/* eslint-disable @typescript-eslint/no-explicit-any */ import { TypeOf } from '@kbn/config-schema'; import { Logger } from '@kbn/logging'; import { ValidatorServices } from '@kbn/actions-plugin/server/types'; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/validators.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/validators.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/validators.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/validators.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/teams/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/teams/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/teams/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/teams/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/teams/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/teams/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/teams/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/teams/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/thehive/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/thehive/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/thehive/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/thehive/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/thehive/thehive.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/thehive.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/thehive/thehive.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/thehive.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/thehive/thehive.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/thehive.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/thehive/thehive.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/thehive.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/api_schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/api_schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/api_schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/api_schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/render.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/render.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/render.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/render.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/tines.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/tines.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/tines.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/tines.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/tines.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/tines.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/tines.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/tines.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/torq/__snapshots__/index.test.ts.snap b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/torq/__snapshots__/index.test.ts.snap rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/stack_connectors/server/connector_types/torq/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/torq/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/torq/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/torq/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/webhook/__snapshots__/index.test.ts.snap b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/webhook/__snapshots__/index.test.ts.snap rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/stack_connectors/server/connector_types/webhook/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/index.test.ts similarity index 98% rename from x-pack/plugins/stack_connectors/server/connector_types/webhook/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/index.test.ts index 724daa852019f..2a8940afd95ff 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/webhook/index.test.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/index.test.ts @@ -221,7 +221,7 @@ describe('config validation', () => { test('config validation passes when valid headers are provided', () => { // any for testing - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const config: Record = { url: 'http://mylisteningserver:9200/endpoint', headers: { @@ -252,7 +252,7 @@ describe('config validation', () => { test('config validation passes when kibana config url does not present in allowedHosts', () => { // any for testing - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const config: Record = { url: 'http://mylisteningserver.com:9200/endpoint', headers: { @@ -277,7 +277,7 @@ describe('config validation', () => { }; // any for testing - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const config: Record = { url: 'http://mylisteningserver.com:9200/endpoint', headers: { @@ -724,7 +724,6 @@ describe('execute()', () => { variables ); - // eslint-disable-next-line @typescript-eslint/no-explicit-any let paramsObject: any; try { paramsObject = JSON.parse(`${params.body}`); diff --git a/x-pack/plugins/stack_connectors/server/connector_types/webhook/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/webhook/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/webhook/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/webhook/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/webhook/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/webhook/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/types.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/xmatters/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/xmatters/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/xmatters/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/xmatters/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/xmatters/post_xmatters.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/post_xmatters.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/xmatters/post_xmatters.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/post_xmatters.ts diff --git a/x-pack/plugins/stack_connectors/server/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/index.ts diff --git a/x-pack/plugins/stack_connectors/server/plugin.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/plugin.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/plugin.test.ts diff --git a/x-pack/plugins/stack_connectors/server/plugin.ts b/x-pack/platform/plugins/shared/stack_connectors/server/plugin.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/plugin.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/plugin.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/get_inference_services.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/get_inference_services.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/get_inference_services.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/get_inference_services.test.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/get_inference_services.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/get_inference_services.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/get_inference_services.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/get_inference_services.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/index.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/valid_slack_api_channels.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/valid_slack_api_channels.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/valid_slack_api_channels.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/valid_slack_api_channels.ts diff --git a/x-pack/plugins/stack_connectors/server/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/types.ts diff --git a/x-pack/plugins/stack_connectors/tsconfig.json b/x-pack/platform/plugins/shared/stack_connectors/tsconfig.json similarity index 96% rename from x-pack/plugins/stack_connectors/tsconfig.json rename to x-pack/platform/plugins/shared/stack_connectors/tsconfig.json index fa7e2dd9be6f8..222fca24ad5fa 100644 --- a/x-pack/plugins/stack_connectors/tsconfig.json +++ b/x-pack/platform/plugins/shared/stack_connectors/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/task_manager/README.md b/x-pack/platform/plugins/shared/task_manager/README.md similarity index 99% rename from x-pack/plugins/task_manager/README.md rename to x-pack/platform/plugins/shared/task_manager/README.md index c7ca9e5eeea08..29fed72f33472 100644 --- a/x-pack/plugins/task_manager/README.md +++ b/x-pack/platform/plugins/shared/task_manager/README.md @@ -61,7 +61,7 @@ The task_manager can be configured via `taskManager` config options (e.g. `taskM Plugins define tasks by calling the `registerTaskDefinitions` method on the `server.plugins.task_manager` object. -A sample task can be found in the [x-pack/test/plugin_api_integration/plugins/task_manager](../../test/plugin_api_integration/plugins/task_manager/index.js) folder. +A sample task can be found in the [x-pack/test/plugin_api_integration/platform/plugins/shared/task_manager](../../../../test/plugin_api_integration/platform/plugins/shared/task_manager/index.js) folder. ```js export class Plugin { @@ -618,7 +618,7 @@ The task manager's public API is create / delete / list. Updates aren't directly Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing ``` - yarn test:jest x-pack/plugins/task_manager --watch + yarn test:jest x-pack/platform/plugins/shared/task_manager --watch ``` - Integration tests: ``` diff --git a/x-pack/plugins/task_manager/common/constants.ts b/x-pack/platform/plugins/shared/task_manager/common/constants.ts similarity index 100% rename from x-pack/plugins/task_manager/common/constants.ts rename to x-pack/platform/plugins/shared/task_manager/common/constants.ts diff --git a/x-pack/plugins/task_manager/common/index.ts b/x-pack/platform/plugins/shared/task_manager/common/index.ts similarity index 100% rename from x-pack/plugins/task_manager/common/index.ts rename to x-pack/platform/plugins/shared/task_manager/common/index.ts diff --git a/x-pack/plugins/actions/jest.config.js b/x-pack/platform/plugins/shared/task_manager/jest.config.js similarity index 51% rename from x-pack/plugins/actions/jest.config.js rename to x-pack/platform/plugins/shared/task_manager/jest.config.js index 2d3372a91890a..9d619b8f5b1c6 100644 --- a/x-pack/plugins/actions/jest.config.js +++ b/x-pack/platform/plugins/shared/task_manager/jest.config.js @@ -7,9 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/actions'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/actions', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/task_manager'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/task_manager', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/actions/{common,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/task_manager/server/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/actions/jest.integration.config.js b/x-pack/platform/plugins/shared/task_manager/jest.integration.config.js similarity index 76% rename from x-pack/plugins/actions/jest.integration.config.js rename to x-pack/platform/plugins/shared/task_manager/jest.integration.config.js index daea840925756..6482c2ea05cfc 100644 --- a/x-pack/plugins/actions/jest.integration.config.js +++ b/x-pack/platform/plugins/shared/task_manager/jest.integration.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/actions'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/task_manager'], }; diff --git a/x-pack/plugins/task_manager/kibana.jsonc b/x-pack/platform/plugins/shared/task_manager/kibana.jsonc similarity index 100% rename from x-pack/plugins/task_manager/kibana.jsonc rename to x-pack/platform/plugins/shared/task_manager/kibana.jsonc diff --git a/x-pack/plugins/task_manager/server/MONITORING.md b/x-pack/platform/plugins/shared/task_manager/server/MONITORING.md similarity index 100% rename from x-pack/plugins/task_manager/server/MONITORING.md rename to x-pack/platform/plugins/shared/task_manager/server/MONITORING.md diff --git a/x-pack/plugins/task_manager/server/buffered_task_store.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/buffered_task_store.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.mock.ts diff --git a/x-pack/plugins/task_manager/server/buffered_task_store.test.ts b/x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/buffered_task_store.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.test.ts diff --git a/x-pack/plugins/task_manager/server/buffered_task_store.ts b/x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.ts similarity index 100% rename from x-pack/plugins/task_manager/server/buffered_task_store.ts rename to x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.ts diff --git a/x-pack/plugins/task_manager/server/config.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/config.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/config.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/config.mock.ts diff --git a/x-pack/plugins/task_manager/server/config.test.ts b/x-pack/platform/plugins/shared/task_manager/server/config.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/config.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/config.test.ts diff --git a/x-pack/plugins/task_manager/server/config.ts b/x-pack/platform/plugins/shared/task_manager/server/config.ts similarity index 100% rename from x-pack/plugins/task_manager/server/config.ts rename to x-pack/platform/plugins/shared/task_manager/server/config.ts diff --git a/x-pack/plugins/task_manager/server/constants.ts b/x-pack/platform/plugins/shared/task_manager/server/constants.ts similarity index 100% rename from x-pack/plugins/task_manager/server/constants.ts rename to x-pack/platform/plugins/shared/task_manager/server/constants.ts diff --git a/x-pack/plugins/task_manager/server/index.test.ts b/x-pack/platform/plugins/shared/task_manager/server/index.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/index.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/index.test.ts diff --git a/x-pack/plugins/task_manager/server/index.ts b/x-pack/platform/plugins/shared/task_manager/server/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/index.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/__snapshots__/task_cost_check.test.ts.snap b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/__snapshots__/task_cost_check.test.ts.snap similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/__snapshots__/task_cost_check.test.ts.snap rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/__snapshots__/task_cost_check.test.ts.snap diff --git a/x-pack/plugins/task_manager/server/integration_tests/__snapshots__/task_priority_check.test.ts.snap b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/__snapshots__/task_priority_check.test.ts.snap similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/__snapshots__/task_priority_check.test.ts.snap rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/__snapshots__/task_priority_check.test.ts.snap diff --git a/x-pack/plugins/task_manager/server/integration_tests/lib/index.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/lib/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/index.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/lib/inject_task.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/inject_task.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/lib/inject_task.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/inject_task.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/lib/retry.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/retry.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/lib/retry.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/retry.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/managed_configuration.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/managed_configuration.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/removed_types.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/removed_types.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/removed_types.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/removed_types.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/task_cost_check.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_cost_check.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/task_cost_check.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_cost_check.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/task_manager_capacity_based_claiming.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_manager_capacity_based_claiming.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/task_manager_capacity_based_claiming.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_manager_capacity_based_claiming.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/task_manager_switch_task_claimers.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_manager_switch_task_claimers.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/task_manager_switch_task_claimers.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_manager_switch_task_claimers.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/task_priority_check.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_priority_check.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/task_priority_check.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_priority_check.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/task_state_validation.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_state_validation.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/task_state_validation.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_state_validation.test.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.test.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.test.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/index.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/index.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/mock_kibana_discovery_service.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/mock_kibana_discovery_service.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/mock_kibana_discovery_service.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/mock_kibana_discovery_service.ts diff --git a/x-pack/plugins/task_manager/server/lib/adhoc_task_counter.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/adhoc_task_counter.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/adhoc_task_counter.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/adhoc_task_counter.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/adhoc_task_counter.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/adhoc_task_counter.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/adhoc_task_counter.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/adhoc_task_counter.ts diff --git a/x-pack/plugins/task_manager/server/lib/assign_pod_partitions.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/assign_pod_partitions.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/assign_pod_partitions.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/assign_pod_partitions.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/assign_pod_partitions.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/assign_pod_partitions.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/assign_pod_partitions.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/assign_pod_partitions.ts diff --git a/x-pack/plugins/task_manager/server/lib/bulk_operation_buffer.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/bulk_operation_buffer.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/bulk_operation_buffer.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/bulk_operation_buffer.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/bulk_operation_buffer.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/bulk_operation_buffer.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/bulk_operation_buffer.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/bulk_operation_buffer.ts diff --git a/x-pack/plugins/task_manager/server/lib/bulk_update_error.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/bulk_update_error.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/bulk_update_error.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/bulk_update_error.ts diff --git a/x-pack/plugins/task_manager/server/lib/calculate_health_status.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/calculate_health_status.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/calculate_health_status.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/calculate_health_status.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/calculate_health_status.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/calculate_health_status.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/calculate_health_status.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/calculate_health_status.ts diff --git a/x-pack/plugins/task_manager/server/lib/correct_deprecated_fields.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/correct_deprecated_fields.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/correct_deprecated_fields.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/correct_deprecated_fields.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/correct_deprecated_fields.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/correct_deprecated_fields.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/correct_deprecated_fields.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/correct_deprecated_fields.ts diff --git a/x-pack/plugins/task_manager/server/lib/create_managed_configuration.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/create_managed_configuration.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/create_managed_configuration.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/create_managed_configuration.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/create_managed_configuration.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/create_managed_configuration.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/create_managed_configuration.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/create_managed_configuration.ts diff --git a/x-pack/plugins/task_manager/server/lib/fill_pool.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/fill_pool.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/fill_pool.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/fill_pool.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/fill_pool.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/fill_pool.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/fill_pool.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/fill_pool.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_default_capacity.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_default_capacity.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_default_capacity.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_default_capacity.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_default_capacity.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_default_capacity.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_default_capacity.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_default_capacity.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_next_run_at.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_next_run_at.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_next_run_at.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_next_run_at.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_next_run_at.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_next_run_at.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_next_run_at.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_next_run_at.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_retry_at.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_retry_at.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_retry_at.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_retry_at.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_retry_at.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_retry_at.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_retry_at.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_retry_at.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_template_version.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_template_version.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_template_version.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_template_version.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_template_version.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_template_version.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_template_version.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_template_version.ts diff --git a/x-pack/plugins/task_manager/server/lib/identify_es_error.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/identify_es_error.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/identify_es_error.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/identify_es_error.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/identify_es_error.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/identify_es_error.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/identify_es_error.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/identify_es_error.ts diff --git a/x-pack/plugins/task_manager/server/lib/intervals.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/intervals.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/intervals.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/intervals.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/intervals.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/intervals.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/intervals.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/intervals.ts diff --git a/x-pack/plugins/task_manager/server/lib/is_task_not_found_error.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/is_task_not_found_error.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/is_task_not_found_error.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/is_task_not_found_error.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/is_task_not_found_error.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/is_task_not_found_error.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/is_task_not_found_error.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/is_task_not_found_error.ts diff --git a/x-pack/plugins/task_manager/server/lib/log_health_metrics.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/log_health_metrics.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.mock.ts diff --git a/x-pack/plugins/task_manager/server/lib/log_health_metrics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/log_health_metrics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/log_health_metrics.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/log_health_metrics.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.ts diff --git a/x-pack/plugins/task_manager/server/lib/middleware.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/middleware.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/middleware.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/middleware.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/middleware.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/middleware.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/middleware.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/middleware.ts diff --git a/x-pack/plugins/task_manager/server/lib/msearch_error.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/msearch_error.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/msearch_error.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/msearch_error.ts diff --git a/x-pack/plugins/task_manager/server/lib/remove_if_exists.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/remove_if_exists.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/remove_if_exists.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/remove_if_exists.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/remove_if_exists.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/remove_if_exists.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/remove_if_exists.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/remove_if_exists.ts diff --git a/x-pack/plugins/task_manager/server/lib/result_type.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/result_type.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/result_type.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/result_type.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/result_type.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/result_type.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/result_type.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/result_type.ts diff --git a/x-pack/plugins/task_manager/server/lib/retryable_bulk_update.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/retryable_bulk_update.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/retryable_bulk_update.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/retryable_bulk_update.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/retryable_bulk_update.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/retryable_bulk_update.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/retryable_bulk_update.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/retryable_bulk_update.ts diff --git a/x-pack/plugins/task_manager/server/lib/runtime_statistics_aggregator.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/runtime_statistics_aggregator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/runtime_statistics_aggregator.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/runtime_statistics_aggregator.ts diff --git a/x-pack/plugins/task_manager/server/lib/task_partitioner.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/task_partitioner.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/task_partitioner.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/task_partitioner.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/task_partitioner.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/task_partitioner.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/task_partitioner.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/task_partitioner.ts diff --git a/x-pack/plugins/task_manager/server/lib/wrapped_logger.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/wrapped_logger.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/wrapped_logger.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/wrapped_logger.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/wrapped_logger.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/wrapped_logger.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/wrapped_logger.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/wrapped_logger.ts diff --git a/x-pack/plugins/task_manager/server/manual_tests/get_rule_run_event_logs.js b/x-pack/platform/plugins/shared/task_manager/server/manual_tests/get_rule_run_event_logs.js similarity index 100% rename from x-pack/plugins/task_manager/server/manual_tests/get_rule_run_event_logs.js rename to x-pack/platform/plugins/shared/task_manager/server/manual_tests/get_rule_run_event_logs.js diff --git a/x-pack/plugins/task_manager/server/metrics/create_aggregator.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/create_aggregator.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/create_aggregator.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/create_aggregator.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/create_aggregator.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/create_aggregator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/create_aggregator.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/create_aggregator.ts diff --git a/x-pack/plugins/task_manager/server/metrics/index.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/index.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/counter.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/counter.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/counter.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/counter.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/counter.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/counter.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/counter.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/counter.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/get_task_type_group.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/get_task_type_group.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/get_task_type_group.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/get_task_type_group.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/get_task_type_group.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/get_task_type_group.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/get_task_type_group.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/get_task_type_group.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/index.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/index.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/metric_counter_service.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/metric_counter_service.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/metric_counter_service.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/metric_counter_service.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/metric_counter_service.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/metric_counter_service.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/metric_counter_service.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/metric_counter_service.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/simple_histogram.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/simple_histogram.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/simple_histogram.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/simple_histogram.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/simple_histogram.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/simple_histogram.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/simple_histogram.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/simple_histogram.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/unflatten_object.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/unflatten_object.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/unflatten_object.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/unflatten_object.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/unflatten_object.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/unflatten_object.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/unflatten_object.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/unflatten_object.ts diff --git a/x-pack/plugins/task_manager/server/metrics/metrics_aggregator.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_aggregator.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/metrics_aggregator.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_aggregator.mock.ts diff --git a/x-pack/plugins/task_manager/server/metrics/metrics_stream.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_stream.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/metrics_stream.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_stream.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/metrics_stream.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_stream.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/metrics_stream.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_stream.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_claim_metrics_aggregator.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_claim_metrics_aggregator.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_claim_metrics_aggregator.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_claim_metrics_aggregator.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_claim_metrics_aggregator.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_claim_metrics_aggregator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_claim_metrics_aggregator.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_claim_metrics_aggregator.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_metrics_collector.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_metrics_collector.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_metrics_collector.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_metrics_collector.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_metrics_collector.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_metrics_collector.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_metrics_collector.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_metrics_collector.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_overdue_metrics_aggregator.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_overdue_metrics_aggregator.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_overdue_metrics_aggregator.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_overdue_metrics_aggregator.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_overdue_metrics_aggregator.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_overdue_metrics_aggregator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_overdue_metrics_aggregator.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_overdue_metrics_aggregator.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_run_metrics_aggregator.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_run_metrics_aggregator.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_run_metrics_aggregator.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_run_metrics_aggregator.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_run_metrics_aggregator.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_run_metrics_aggregator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_run_metrics_aggregator.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_run_metrics_aggregator.ts diff --git a/x-pack/plugins/task_manager/server/metrics/types.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/types.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/types.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/types.ts diff --git a/x-pack/plugins/task_manager/server/mocks.ts b/x-pack/platform/plugins/shared/task_manager/server/mocks.ts similarity index 100% rename from x-pack/plugins/task_manager/server/mocks.ts rename to x-pack/platform/plugins/shared/task_manager/server/mocks.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/background_task_utilization_statistics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/background_task_utilization_statistics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/background_task_utilization_statistics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/background_task_utilization_statistics.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/background_task_utilization_statistics.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/background_task_utilization_statistics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/background_task_utilization_statistics.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/background_task_utilization_statistics.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/capacity_estimation.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/capacity_estimation.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/capacity_estimation.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/capacity_estimation.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/capacity_estimation.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/capacity_estimation.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/capacity_estimation.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/capacity_estimation.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/configuration_statistics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/configuration_statistics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/configuration_statistics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/configuration_statistics.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/configuration_statistics.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/configuration_statistics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/configuration_statistics.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/configuration_statistics.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/index.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/index.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/monitoring_stats_stream.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/monitoring_stats_stream.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/monitoring_stats_stream.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/monitoring_stats_stream.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/task_run_calculators.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_calculators.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/task_run_calculators.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_calculators.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/task_run_calculators.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_calculators.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/task_run_calculators.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_calculators.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/task_run_statistics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_statistics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/task_run_statistics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_statistics.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/task_run_statistics.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_statistics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/task_run_statistics.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_statistics.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/workload_statistics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/workload_statistics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/workload_statistics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/workload_statistics.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/workload_statistics.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/workload_statistics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/workload_statistics.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/workload_statistics.ts diff --git a/x-pack/plugins/task_manager/server/plugin.test.ts b/x-pack/platform/plugins/shared/task_manager/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/plugin.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/plugin.test.ts diff --git a/x-pack/plugins/task_manager/server/plugin.ts b/x-pack/platform/plugins/shared/task_manager/server/plugin.ts similarity index 100% rename from x-pack/plugins/task_manager/server/plugin.ts rename to x-pack/platform/plugins/shared/task_manager/server/plugin.ts diff --git a/x-pack/plugins/task_manager/server/polling/delay_on_claim_conflicts.test.ts b/x-pack/platform/plugins/shared/task_manager/server/polling/delay_on_claim_conflicts.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling/delay_on_claim_conflicts.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling/delay_on_claim_conflicts.test.ts diff --git a/x-pack/plugins/task_manager/server/polling/delay_on_claim_conflicts.ts b/x-pack/platform/plugins/shared/task_manager/server/polling/delay_on_claim_conflicts.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling/delay_on_claim_conflicts.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling/delay_on_claim_conflicts.ts diff --git a/x-pack/plugins/task_manager/server/polling/index.ts b/x-pack/platform/plugins/shared/task_manager/server/polling/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling/index.ts diff --git a/x-pack/plugins/task_manager/server/polling/task_poller.test.ts b/x-pack/platform/plugins/shared/task_manager/server/polling/task_poller.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling/task_poller.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling/task_poller.test.ts diff --git a/x-pack/plugins/task_manager/server/polling/task_poller.ts b/x-pack/platform/plugins/shared/task_manager/server/polling/task_poller.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling/task_poller.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling/task_poller.ts diff --git a/x-pack/plugins/task_manager/server/polling_lifecycle.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling_lifecycle.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.mock.ts diff --git a/x-pack/plugins/task_manager/server/polling_lifecycle.test.ts b/x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling_lifecycle.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.test.ts diff --git a/x-pack/plugins/task_manager/server/polling_lifecycle.ts b/x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling_lifecycle.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.ts diff --git a/x-pack/plugins/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.test.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.test.ts diff --git a/x-pack/plugins/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts diff --git a/x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.test.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.test.ts diff --git a/x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts diff --git a/x-pack/plugins/task_manager/server/queries/oldest_idle_action_task.test.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/oldest_idle_action_task.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/oldest_idle_action_task.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/oldest_idle_action_task.test.ts diff --git a/x-pack/plugins/task_manager/server/queries/oldest_idle_action_task.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/oldest_idle_action_task.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/oldest_idle_action_task.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/oldest_idle_action_task.ts diff --git a/x-pack/plugins/task_manager/server/queries/query_clauses.test.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/query_clauses.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/query_clauses.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/query_clauses.test.ts diff --git a/x-pack/plugins/task_manager/server/queries/query_clauses.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/query_clauses.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/query_clauses.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/query_clauses.ts diff --git a/x-pack/plugins/task_manager/server/queries/task_claiming.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/task_claiming.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.mock.ts diff --git a/x-pack/plugins/task_manager/server/queries/task_claiming.test.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.test.ts similarity index 96% rename from x-pack/plugins/task_manager/server/queries/task_claiming.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.test.ts index 629e3464399c7..5a20a709b3c5b 100644 --- a/x-pack/plugins/task_manager/server/queries/task_claiming.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.test.ts @@ -36,7 +36,7 @@ const taskPartitioner = new TaskPartitioner({ beforeEach(() => jest.clearAllMocks()); const mockedDate = new Date('2019-02-12T21:01:22.479Z'); -// eslint-disable-next-line @typescript-eslint/no-explicit-any + (global as any).Date = class Date { constructor() { return mockedDate; @@ -71,7 +71,7 @@ describe('TaskClaiming', () => { jest.clearAllMocks(); jest .spyOn(apm, 'startTransaction') - // eslint-disable-next-line @typescript-eslint/no-explicit-any + .mockImplementation(() => mockApmTrans as any); }); diff --git a/x-pack/plugins/task_manager/server/queries/task_claiming.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/task_claiming.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.ts diff --git a/x-pack/plugins/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.test.ts b/x-pack/platform/plugins/shared/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.test.ts diff --git a/x-pack/plugins/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.ts b/x-pack/platform/plugins/shared/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.ts similarity index 100% rename from x-pack/plugins/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.ts rename to x-pack/platform/plugins/shared/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.ts diff --git a/x-pack/plugins/task_manager/server/routes/_mock_handler_arguments.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/_mock_handler_arguments.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/_mock_handler_arguments.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/_mock_handler_arguments.ts diff --git a/x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts diff --git a/x-pack/plugins/task_manager/server/routes/background_task_utilization.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/background_task_utilization.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.ts diff --git a/x-pack/plugins/task_manager/server/routes/health.test.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts similarity index 99% rename from x-pack/plugins/task_manager/server/routes/health.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts index f8b716ba0d158..ebae45d2fa21a 100644 --- a/x-pack/plugins/task_manager/server/routes/health.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts @@ -36,10 +36,9 @@ const { summarizeMonitoringStats } = jest.requireMock('../monitoring'); const mockUsageCountersSetup = usageCountersServiceMock.createSetupContract(); const mockUsageCounter = mockUsageCountersSetup.createUsageCounter('test'); -// eslint-disable-next-line @typescript-eslint/no-explicit-any const createMockClusterClient = (response: any) => { const mockScopedClusterClient = elasticsearchServiceMock.createScopedClusterClient(); - // eslint-disable-next-line @typescript-eslint/no-explicit-any + mockScopedClusterClient.asCurrentUser.security.hasPrivileges.mockResponse(response as any); const mockClusterClient = elasticsearchServiceMock.createClusterClient(); diff --git a/x-pack/plugins/task_manager/server/routes/health.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/health.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/health.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/health.ts diff --git a/x-pack/plugins/task_manager/server/routes/index.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/index.ts diff --git a/x-pack/plugins/task_manager/server/routes/metrics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/metrics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/metrics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/metrics.test.ts diff --git a/x-pack/plugins/task_manager/server/routes/metrics.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/metrics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/metrics.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/metrics.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/index.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/mappings.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/mappings.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/mappings.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/mappings.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/migrations.test.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/migrations.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations.test.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/migrations.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations.ts similarity index 98% rename from x-pack/plugins/task_manager/server/saved_objects/migrations.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations.ts index 83bd683fdba0f..d4043da90d5f1 100644 --- a/x-pack/plugins/task_manager/server/saved_objects/migrations.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations.ts @@ -98,7 +98,6 @@ function alertingTaskLegacyIdToSavedObjectIds( params: JSON.stringify({ ...params, alertId: newId, - // eslint-disable-next-line @typescript-eslint/no-explicit-any }) as any, }, }; @@ -128,7 +127,6 @@ function actionsTasksLegacyIdToSavedObjectIds( params: JSON.stringify({ ...params, actionTaskParamsId: newId, - // eslint-disable-next-line @typescript-eslint/no-explicit-any }) as any, }, }; diff --git a/x-pack/plugins/task_manager/server/saved_objects/migrations_880.test.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations_880.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/migrations_880.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations_880.test.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/migrations_helpers/get_rule_task_state.js b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations_helpers/get_rule_task_state.js similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/migrations_helpers/get_rule_task_state.js rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations_helpers/get_rule_task_state.js diff --git a/x-pack/plugins/task_manager/server/saved_objects/model_versions/background_task_node_model_versions.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/background_task_node_model_versions.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/model_versions/background_task_node_model_versions.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/background_task_node_model_versions.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/model_versions/index.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/model_versions/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/index.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/model_versions/task_model_versions.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/task_model_versions.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/model_versions/task_model_versions.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/task_model_versions.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/schemas/background_task_node.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/background_task_node.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/schemas/background_task_node.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/background_task_node.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/schemas/task.test.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/task.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/schemas/task.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/task.test.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/schemas/task.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/task.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/schemas/task.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/task.ts diff --git a/x-pack/plugins/task_manager/server/task.ts b/x-pack/platform/plugins/shared/task_manager/server/task.ts similarity index 98% rename from x-pack/plugins/task_manager/server/task.ts rename to x-pack/platform/plugins/shared/task_manager/server/task.ts index a6f5ae05e7819..c52e9dfc52221 100644 --- a/x-pack/plugins/task_manager/server/task.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/task.ts @@ -302,7 +302,7 @@ export interface TaskInstance { */ // we allow any here as unknown will break current use in other plugins // this can be fixed by supporting generics in the future - // eslint-disable-next-line @typescript-eslint/no-explicit-any + params: Record; /** @@ -312,7 +312,7 @@ export interface TaskInstance { */ // we allow any here as unknown will break current use in other plugins // this can be fixed by supporting generics in the future - // eslint-disable-next-line @typescript-eslint/no-explicit-any + state: Record; stateVersion?: number; @@ -442,7 +442,7 @@ export interface ConcreteTaskInstance extends TaskInstance { */ // we allow any here as unknown will break current use in other plugins // this can be fixed by supporting generics in the future - // eslint-disable-next-line @typescript-eslint/no-explicit-any + state: Record; /** diff --git a/x-pack/plugins/task_manager/server/task_claimers/README.md b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/README.md similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/README.md rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/README.md diff --git a/x-pack/plugins/task_manager/server/task_claimers/index.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/index.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/index.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/index.test.ts diff --git a/x-pack/plugins/task_manager/server/task_claimers/index.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/index.ts diff --git a/x-pack/plugins/task_manager/server/task_claimers/lib/task_selector_by_capacity.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/lib/task_selector_by_capacity.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/lib/task_selector_by_capacity.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/lib/task_selector_by_capacity.ts diff --git a/x-pack/plugins/task_manager/server/task_claimers/strategy_mget.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.test.ts similarity index 99% rename from x-pack/plugins/task_manager/server/task_claimers/strategy_mget.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.test.ts index 07dae3c48a392..3eee0219e45c3 100644 --- a/x-pack/plugins/task_manager/server/task_claimers/strategy_mget.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.test.ts @@ -62,7 +62,7 @@ const taskManagerLogger = mockLogger(); beforeEach(() => jest.clearAllMocks()); const mockedDate = new Date('2019-02-12T21:01:22.479Z'); -// eslint-disable-next-line @typescript-eslint/no-explicit-any + (global as any).Date = class Date { constructor() { return mockedDate; @@ -122,7 +122,7 @@ describe('TaskClaiming', () => { jest.clearAllMocks(); jest .spyOn(apm, 'startTransaction') - // eslint-disable-next-line @typescript-eslint/no-explicit-any + .mockImplementation(() => mockApmTrans as any); jest.spyOn(taskPartitioner, 'getPartitions').mockResolvedValue([1, 3]); }); diff --git a/x-pack/plugins/task_manager/server/task_claimers/strategy_mget.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/strategy_mget.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.ts diff --git a/x-pack/plugins/task_manager/server/task_claimers/strategy_update_by_query.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_update_by_query.test.ts similarity index 99% rename from x-pack/plugins/task_manager/server/task_claimers/strategy_update_by_query.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_update_by_query.test.ts index 623693e71c54d..2731dfed240a4 100644 --- a/x-pack/plugins/task_manager/server/task_claimers/strategy_update_by_query.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_update_by_query.test.ts @@ -53,7 +53,7 @@ const taskPartitioner = new TaskPartitioner({ beforeEach(() => jest.clearAllMocks()); const mockedDate = new Date('2019-02-12T21:01:22.479Z'); -// eslint-disable-next-line @typescript-eslint/no-explicit-any + (global as any).Date = class Date { constructor() { return mockedDate; @@ -88,7 +88,7 @@ describe('TaskClaiming', () => { jest.clearAllMocks(); jest .spyOn(apm, 'startTransaction') - // eslint-disable-next-line @typescript-eslint/no-explicit-any + .mockImplementation(() => mockApmTrans as any); }); diff --git a/x-pack/plugins/task_manager/server/task_claimers/strategy_update_by_query.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_update_by_query.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/strategy_update_by_query.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_update_by_query.ts diff --git a/x-pack/plugins/task_manager/server/task_events.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_events.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_events.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_events.test.ts diff --git a/x-pack/plugins/task_manager/server/task_events.ts b/x-pack/platform/plugins/shared/task_manager/server/task_events.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_events.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_events.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/capacity.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/capacity.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/capacity.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/capacity.mock.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/cost_capacity.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/cost_capacity.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/cost_capacity.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/cost_capacity.test.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/cost_capacity.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/cost_capacity.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/cost_capacity.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/cost_capacity.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/index.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/index.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/task_pool.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/task_pool.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.mock.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/task_pool.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/task_pool.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.test.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/task_pool.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/task_pool.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/test_utils.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/test_utils.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/test_utils.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/test_utils.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/types.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/types.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/types.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/types.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/utils.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/utils.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/utils.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/utils.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/worker_capacity.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/worker_capacity.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/worker_capacity.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/worker_capacity.test.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/worker_capacity.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/worker_capacity.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/worker_capacity.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/worker_capacity.ts diff --git a/x-pack/plugins/task_manager/server/task_running/errors.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_running/errors.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_running/errors.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_running/errors.test.ts diff --git a/x-pack/plugins/task_manager/server/task_running/errors.ts b/x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_running/errors.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts diff --git a/x-pack/plugins/task_manager/server/task_running/index.ts b/x-pack/platform/plugins/shared/task_manager/server/task_running/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_running/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_running/index.ts diff --git a/x-pack/plugins/task_manager/server/task_running/task_runner.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_running/task_runner.test.ts similarity index 99% rename from x-pack/plugins/task_manager/server/task_running/task_runner.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_running/task_runner.test.ts index bcff0417cdf9a..04e8b2a775759 100644 --- a/x-pack/plugins/task_manager/server/task_running/task_runner.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/task_running/task_runner.test.ts @@ -88,7 +88,7 @@ describe('TaskManagerRunner', () => { jest.clearAllMocks(); jest .spyOn(apm, 'startTransaction') - // eslint-disable-next-line @typescript-eslint/no-explicit-any + .mockImplementation(() => mockApmTrans as any); }); test('makes calls to APM as expected when task markedAsRunning is success', async () => { diff --git a/x-pack/plugins/task_manager/server/task_running/task_runner.ts b/x-pack/platform/plugins/shared/task_manager/server/task_running/task_runner.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_running/task_runner.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_running/task_runner.ts diff --git a/x-pack/plugins/task_manager/server/task_scheduling.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/task_scheduling.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_scheduling.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_scheduling.mock.ts diff --git a/x-pack/plugins/task_manager/server/task_scheduling.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_scheduling.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_scheduling.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_scheduling.test.ts diff --git a/x-pack/plugins/task_manager/server/task_scheduling.ts b/x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_scheduling.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts diff --git a/x-pack/plugins/task_manager/server/task_store.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/task_store.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_store.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_store.mock.ts diff --git a/x-pack/plugins/task_manager/server/task_store.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts similarity index 99% rename from x-pack/plugins/task_manager/server/task_store.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts index 029aa2b1760ce..a195baeb893ac 100644 --- a/x-pack/plugins/task_manager/server/task_store.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts @@ -64,7 +64,7 @@ beforeEach(() => { }); const mockedDate = new Date('2019-02-12T21:01:22.479Z'); -// eslint-disable-next-line @typescript-eslint/no-explicit-any + (global as any).Date = class Date { constructor() { return mockedDate; diff --git a/x-pack/plugins/task_manager/server/task_store.ts b/x-pack/platform/plugins/shared/task_manager/server/task_store.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_store.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_store.ts diff --git a/x-pack/plugins/task_manager/server/task_type_dictionary.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_type_dictionary.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.test.ts diff --git a/x-pack/plugins/task_manager/server/task_type_dictionary.ts b/x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_type_dictionary.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts diff --git a/x-pack/plugins/task_manager/server/task_validator.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_validator.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_validator.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_validator.test.ts diff --git a/x-pack/plugins/task_manager/server/task_validator.ts b/x-pack/platform/plugins/shared/task_manager/server/task_validator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_validator.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_validator.ts diff --git a/x-pack/plugins/task_manager/server/test_utils/index.ts b/x-pack/platform/plugins/shared/task_manager/server/test_utils/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/test_utils/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/test_utils/index.ts diff --git a/x-pack/plugins/task_manager/server/usage/index.ts b/x-pack/platform/plugins/shared/task_manager/server/usage/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/usage/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/usage/index.ts diff --git a/x-pack/plugins/task_manager/server/usage/task_manager_usage_collector.test.ts b/x-pack/platform/plugins/shared/task_manager/server/usage/task_manager_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/usage/task_manager_usage_collector.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/usage/task_manager_usage_collector.test.ts diff --git a/x-pack/plugins/task_manager/server/usage/task_manager_usage_collector.ts b/x-pack/platform/plugins/shared/task_manager/server/usage/task_manager_usage_collector.ts similarity index 100% rename from x-pack/plugins/task_manager/server/usage/task_manager_usage_collector.ts rename to x-pack/platform/plugins/shared/task_manager/server/usage/task_manager_usage_collector.ts diff --git a/x-pack/plugins/task_manager/server/usage/types.ts b/x-pack/platform/plugins/shared/task_manager/server/usage/types.ts similarity index 100% rename from x-pack/plugins/task_manager/server/usage/types.ts rename to x-pack/platform/plugins/shared/task_manager/server/usage/types.ts diff --git a/x-pack/plugins/task_manager/tsconfig.json b/x-pack/platform/plugins/shared/task_manager/tsconfig.json similarity index 94% rename from x-pack/plugins/task_manager/tsconfig.json rename to x-pack/platform/plugins/shared/task_manager/tsconfig.json index b11eaaf44a905..498c53d0284db 100644 --- a/x-pack/plugins/task_manager/tsconfig.json +++ b/x-pack/platform/plugins/shared/task_manager/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/action_type_registry.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/action_type_registry.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/action_type_registry.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/action_type_registry.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/application.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/application.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/application.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/application.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/capabilities.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/capabilities.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/capabilities.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/capabilities.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/http.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/http.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/http.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/http.ts diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/rule_type_registry.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/rule_type_registry.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/rule_type_registry.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/rule_type_registry.ts diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/decorator.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/decorator.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/main.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/main.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/main.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/main.ts diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/manager.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/manager.ts similarity index 82% rename from x-pack/plugins/triggers_actions_ui/.storybook/manager.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/manager.ts index 17fb8fc042000..e9fcac3d5a790 100644 --- a/x-pack/plugins/triggers_actions_ui/.storybook/manager.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/manager.ts @@ -13,7 +13,8 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Triggers Actions UI Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui', + brandUrl: + 'https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui', }), showPanel: true, selectedPanel: PANEL_ID, diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/preview.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/preview.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/preview.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/preview.tsx diff --git a/x-pack/plugins/triggers_actions_ui/README.md b/x-pack/platform/plugins/shared/triggers_actions_ui/README.md similarity index 95% rename from x-pack/plugins/triggers_actions_ui/README.md rename to x-pack/platform/plugins/shared/triggers_actions_ui/README.md index 0ff120ca3c53d..cffd2bc9c3931 100644 --- a/x-pack/plugins/triggers_actions_ui/README.md +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/README.md @@ -52,8 +52,8 @@ Kibana ships with several built-in alert types: Every alert type must be registered server side, and can optionally be registered client side. Only alert types registered on both client and server will be displayed in the Create Alert flyout, as a part of the UI. -Built-in alert types UI are located under the folder `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types` -and this is a file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` for client side registration. +Built-in alert types UI are located under the folder `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types` +and this is a file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` for client side registration. ### Index Threshold Alert @@ -125,7 +125,7 @@ const setRuleProperty = (key: string, value: any) => { ``` -'x-pack/plugins/triggers_actions_ui/public/application/sections/alert_add/alert_reducer.ts' define the methods for changing different type of alert properties: +'x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_add/alert_reducer.ts' define the methods for changing different type of alert properties: ``` export const alertReducer = (state: any, action: AlertReducerAction) => { @@ -259,7 +259,7 @@ Each alert type should be defined as `RuleTypeModel` object with the these prope | requiresAppContext | Define if alert type is enabled for create and edit in the alerting management UI. | IMPORTANT: The current UI supports a single action group only. -Action groups are mapped from the server API result for [GET /api/alerts/list_alert_types: List alert types](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting#get-apialerttypes-list-alert-types). +Action groups are mapped from the server API result for [GET /api/alerts/list_alert_types: List alert types](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting#get-apialerttypes-list-alert-types). Server side alert type model: ``` @@ -283,7 +283,7 @@ Design of user interface and server API for multiple action groups is under disc There are two ways of registering a new alert type: 1. Directly in the `triggers_actions_ui` plugin. In this case, the alert type will be available in the Create Alert flyout of the Alerts and Actions management section. - Registration code for a new alert type model should be added to the file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` + Registration code for a new alert type model should be added to the file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` Only registered alert types are available in UI. 2. Register the alert type in another plugin. In this case, the alert type will be available only in the current plugin UI. @@ -299,17 +299,17 @@ triggersActionsUi.ruleTypeRegistry.register(getSomeNewAlertType()); ## Create and register new alert type UI example -Before registering a UI for a new Alert Type, you should first register the type on the server-side by following the Alerting guide: https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting#example +Before registering a UI for a new Alert Type, you should first register the type on the server-side by following the Alerting guide: https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting#example Alert type UI is expected to be defined as `RuleTypeModel` object. Below is a list of steps that should be done to build and register a new alert type with the name `Example Alert Type`: -1. At any suitable place in Kibana, create a file, which will expose an object implementing interface [RuleTypeModel](https://github.com/elastic/kibana/blob/55b7905fb5265b73806006e7265739545d7521d0/x-pack/legacy/plugins/triggers_actions_ui/np_ready/public/types.ts#L83). Example: +1. At any suitable place in Kibana, create a file, which will expose an object implementing interface [RuleTypeModel](https://github.com/elastic/kibana/blob/55b7905fb5265b73806006e7265739545d7521d0/x-pack/legacy/platform/plugins/shared/triggers_actions_ui/np_ready/public/types.ts#L83). Example: ``` import { lazy } from 'react'; -import { RuleTypeModel } from '../../../../types'; +import { RuleTypeModel } from '../../../../../../types'; import { validateExampleAlertType } from './validation'; export function getAlertType(): RuleTypeModel { @@ -332,8 +332,8 @@ Fields of this object `RuleTypeModel` will be mapped properly in the UI below. ``` import React, { useState } from 'react'; import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; -import { WhenExpression, OfExpression } from '../../../../common/expression_items'; -import { builtInAggregationTypes } from '../../../../common/constants'; +import { WhenExpression, OfExpression } from '../../../../../../common/expression_items'; +import { builtInAggregationTypes } from '../../../../../../common/constants'; interface ExampleProps { testAggType?: string; @@ -390,7 +390,7 @@ Expression components, which can be embedded to different alert types, are descr ``` import { i18n } from '@kbn/i18n'; -import { ValidationResult } from '../../../../types'; +import { ValidationResult } from '../../../../../../types'; export function validateExampleAlertType({ testAggField, @@ -413,7 +413,7 @@ export function validateExampleAlertType({ } ``` -4. Extend registration code with the new alert type register in the file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` +4. Extend registration code with the new alert type register in the file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` ``` import { getAlertType as getExampledAlertType } from './example'; @@ -459,7 +459,7 @@ interface WhenExpressionProps { | Property | Description | | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | aggType | Selected aggregation type that will be set as the alert type property. | -| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | +| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | | onChangeSelectedAggType | event handler that will be executed when selected aggregation type is changed. | | popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | @@ -505,7 +505,7 @@ interface OfExpressionProps { | errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `aggField`. | | onChangeSelectedAggField | Event handler that will be excuted if selected aggregation field is changed. | | fields | Fields list that will be available in the OF `Select a field` dropdown. | -| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | +| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | | popupPosition | (Optional) expression popup position. Default is `downRight`. Recommend changing it for a small parent window space. | ### GROUPED BY expression component @@ -559,7 +559,7 @@ interface GroupByExpressionProps { | onChangeSelectedTermField | Event handler that will be executed if selected term field is changed. | | onChangeSelectedGroupBy | Event handler that will be executed if selected group by is changed. | | fields | Fields list with options for the `termField` dropdown. | -| customGroupByTypes | (Optional) List of group by types that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts`. | +| customGroupByTypes | (Optional) List of group by types that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts`. | | popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | ### FOR THE LAST expression component @@ -645,7 +645,7 @@ interface ThresholdExpressionProps { | errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `threshold0` and `threshold1`. | | onChangeSelectedThresholdComparator | Event handler that will be excuted if selected threshold comparator is changed. | | onChangeSelectedThreshold | Event handler that will be excuted if selected threshold is changed. | -| customComparators | (Optional) List of comparators that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/comparators.ts`. | +| customComparators | (Optional) List of comparators that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/comparators.ts`. | | popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | ## Alert Conditions Components @@ -886,8 +886,8 @@ Kibana ships with a set of built-in action types UI: Every action type should be registered server side, and can be optionally registered client side. Only action types registered on both client and server will be displayed in the Alerts and Actions UI. -Built-in action types UI is located under the folder `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types` -and this is a file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` for client side registration. +Built-in action types UI is located under the folder `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types` +and this is a file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` for client side registration. ### Server log @@ -1192,7 +1192,7 @@ Each action type should be defined as an `ActionTypeModel` object with the follo There are two ways to register a new action type UI: 1. Directly in `triggers_actions_ui` plugin. In this case, the action type will be available in the Alerts and Actions management section. - Registration code for a new action type model should be added to the file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` + Registration code for a new action type model should be added to the file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` Only registered action types are available in UI. 2. Register action type in another plugin. In this case, the action type will be available only in the current plugin UI. @@ -1208,7 +1208,7 @@ triggersActionsUi.actionTypeRegistry.register(getSomeNewActionType()); ## Create and register new action type UI -Before starting the UI implementation, the [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions#action-types) should be done first. +Before starting the UI implementation, the [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions#action-types) should be done first. Action type UI is expected to be defined as `ActionTypeModel` object. @@ -1226,7 +1226,7 @@ import { ValidationResult, ActionConnectorFieldsProps, ActionParamsProps, -} from '../../../types'; +} from '../../../../../types'; interface ExampleActionParams { message: string; @@ -1280,7 +1280,7 @@ import { i18n } from '@kbn/i18n'; import { FieldConfig, UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; import { TextField } from '@kbn/es-ui-shared-plugin/static/forms/components'; -import { ActionConnectorFieldsProps } from '../../../types'; +import { ActionConnectorFieldsProps } from '../../../../../types'; const { emptyField } = fieldValidators; @@ -1329,7 +1329,7 @@ import { ValidationResult, ActionConnectorFieldsProps, ActionParamsProps, -} from '../../../types'; +} from '../../../../../types'; interface ExampleActionParams { message: string; @@ -1366,7 +1366,7 @@ const ExampleParamsFields: React.FunctionComponent { const { http, triggersActionsUi, notifications } = useKibana().services; @@ -1504,7 +1504,7 @@ interface ActionAccordionFormProps { | actionTypeRegistry | Registry for action types. | | toastNotifications | Toast messages Plugin Setup Contract. | | docLinks | Documentation links Plugin Start Contract. | -| featureId | Property that filters which action types are loaded when the flyout is opened. Each action type configures the feature ids it is available in during [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions#action-types). | +| featureId | Property that filters which action types are loaded when the flyout is opened. Each action type configures the feature ids it is available in during [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions#action-types). | | messageVariables | Optional property, which allows to define a list of variables for action 'message' property. Set `useWithTripleBracesInTemplates` to true if you don't want the variable escaped when rendering. | | defaultActionMessage | Optional property, which allows to define a message value for action with 'message' property. | | capabilities | Kibana core's Capabilities ApplicationStart['capabilities']. | @@ -1531,7 +1531,7 @@ Follow the instructions bellow to embed the Create Connector flyout within any K import { TriggersAndActionsUIPublicPluginSetup, TriggersAndActionsUIPublicPluginStart, - } from '../../../../../x-pack/plugins/triggers_actions_ui/public'; + } from '../../../../../../../x-pack/platform/plugins/shared/triggers_actions_ui/public'; triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; ... @@ -1545,7 +1545,7 @@ Then this dependency will be used to embed Create Connector flyout or register n ``` // import section -import { ActionsConnectorsContextProvider, CreateConnectorFlyout } from '../../../../../../../triggers_actions_ui/public'; +import { ActionsConnectorsContextProvider, CreateConnectorFlyout } from '../../../../../../../../../triggers_actions_ui/public'; // in the component state definition section const [addFlyoutVisible, setAddFlyoutVisibility] = useState(false); @@ -1601,7 +1601,7 @@ export interface ConnectorAddFlyoutProps { | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | actionTypeRegistry | The action type registry. | | onClose | Called when closing the flyout | -| featureId | Optional property that filters which action types are loaded when the flyout is opened. Each action type configures the feature ids it is available in during [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions#action-types). | +| featureId | Optional property that filters which action types are loaded when the flyout is opened. Each action type configures the feature ids it is available in during [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions#action-types). | | onConnectorCreated | Optional property. Function to be called after the creation of the connector. | | onTestConnector | Optional property. Function to be called when the user press the Save & Test button. | @@ -1615,7 +1615,7 @@ Follow the instructions bellow to embed the Edit Connector flyout within any Kib import { TriggersAndActionsUIPublicPluginSetup, TriggersAndActionsUIPublicPluginStart, - } from '../../../../../x-pack/plugins/triggers_actions_ui/public'; + } from '../../../../../../../x-pack/platform/plugins/shared/triggers_actions_ui/public'; triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; ... @@ -1629,7 +1629,7 @@ Then this dependency will be used to embed Edit Connector flyout. ``` // import section -import { ActionsConnectorsContextProvider, EditConnectorFlyout } from '../../../../../../../triggers_actions_ui/public'; +import { ActionsConnectorsContextProvider, EditConnectorFlyout } from '../../../../../../../../../triggers_actions_ui/public'; // in the component state definition section const [editFlyoutVisible, setEditFlyoutVisibility] = useState(false); diff --git a/x-pack/plugins/triggers_actions_ui/common/data/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/experimental_features.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/experimental_features.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/index.ts similarity index 91% rename from x-pack/plugins/triggers_actions_ui/common/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/index.ts index 142f6e8ac9c81..ca09e13b2a61e 100644 --- a/x-pack/plugins/triggers_actions_ui/common/index.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/common/index.ts @@ -6,7 +6,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110895 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './data'; export const BASE_TRIGGERS_ACTIONS_UI_API_PATH = '/internal/triggers_actions_ui'; diff --git a/x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/parse_interval.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/parse_interval.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/parse_interval.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/parse_interval.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/utils.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/utils.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/utils.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/utils.ts diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js b/x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js new file mode 100644 index 0000000000000..3ecb6968e5fa7 --- /dev/null +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/triggers_actions_ui'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/triggers_actions_ui', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/triggers_actions_ui/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/triggers_actions_ui/kibana.jsonc b/x-pack/platform/plugins/shared/triggers_actions_ui/kibana.jsonc similarity index 100% rename from x-pack/plugins/triggers_actions_ui/kibana.jsonc rename to x-pack/platform/plugins/shared/triggers_actions_ui/kibana.jsonc diff --git a/x-pack/plugins/triggers_actions_ui/public/application/action_type_registry.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/action_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/action_type_registry.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/action_type_registry.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/alerts_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alerts_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/alerts_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alerts_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/center_justified_spinner.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/center_justified_spinner.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/center_justified_spinner.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/center_justified_spinner.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/health_check.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/health_check.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/health_check.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/health_check.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/section_loading.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/section_loading.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/section_loading.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/section_loading.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/test_utils.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/test_utils.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/test_utils.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/test_utils.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/connectors_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/connectors_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/connectors_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/connectors_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/plugin.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/plugin.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/constants/plugin.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/plugin.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/time_units.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/time_units.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/constants/time_units.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/time_units.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/context/connector_context.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/connector_context.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/context/connector_context.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/connector_context.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/context/health_context.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/health_context.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/context/health_context.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/health_context.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/context/use_connector_context.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/use_connector_context.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/context/use_connector_context.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/use_connector_context.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/home.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/home.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/home.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/home.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_config_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_config_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_config_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_config_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/capabilities.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/capabilities.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/capabilities.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/capabilities.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_unit_label.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_unit_label.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_unit_label.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_unit_label.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/search_filters.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/search_filters.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/search_filters.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/search_filters.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/mock/rule_types_index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/rule_types_index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/mock/rule_types_index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/rule_types_index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/query_client.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/query_client.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/query_client.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/query_client.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/rule_type_registry.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rule_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/rule_type_registry.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rule_type_registry.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/connectors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/connectors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/connectors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/connectors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/test_utils.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/test_utils.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/test_utils.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/test_utils.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/type_registry.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/type_registry.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/type_registry.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/type_registry.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/connectors_selection.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/connectors_selection.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/connectors_selection.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/connectors_selection.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/action_frequency_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/action_frequency_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/action_frequency_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/action_frequency_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/experimental_features_service.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/experimental_features_service.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/experimental_features_service.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/experimental_features_service.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_action_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_action_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_action_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_action_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_add_connector_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_connector_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_add_connector_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_connector_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_add_rule_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_rule_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_add_rule_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_rule_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_state.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_state.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_state.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_state.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_field_browser.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_field_browser.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_field_browser.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_field_browser.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_definition.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_definition.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_definition.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_definition.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_panel.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_panel.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_panel.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_panel.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rules_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rules_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rules_settings_link.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_settings_link.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rules_settings_link.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_settings_link.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_unit_label.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_unit_label.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_unit_label.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_unit_label.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/truncated_text.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/truncated_text.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/truncated_text.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/truncated_text.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/mocks.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/mocks.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/mocks.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/mocks.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/plugin.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/plugin.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/config.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/config.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/config.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/config.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/README.md b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/README.md similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/README.md rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/README.md diff --git a/x-pack/plugins/triggers_actions_ui/server/data/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.test.ts similarity index 99% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.test.ts index 0289223f525c8..a44fea1922d53 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.test.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.test.ts @@ -23,7 +23,6 @@ const DefaultParams: Writable> = { }; export function runTests(schema: ObjectType, defaultTypeParams: Record): void { - // eslint-disable-next-line @typescript-eslint/no-explicit-any let params: any; describe('coreQueryTypes', () => { diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.ts similarity index 98% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.ts index c08720991238a..a07c15f11ad0a 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.ts @@ -63,7 +63,7 @@ export async function timeSeriesQuery( // core query // Constructing a typesafe ES query in JS is problematic, use any escapehatch for now - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const esQuery: any = { index, body: { diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.test.ts similarity index 98% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.test.ts index d44d824011357..c41ddfd97eccb 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.test.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.test.ts @@ -22,7 +22,6 @@ const DefaultParams: Writable> = { describe('TimeSeriesParams validate()', () => { runTests(TimeSeriesQuerySchema, DefaultParams); - // eslint-disable-next-line @typescript-eslint/no-explicit-any let params: any; beforeEach(() => { params = { ...DefaultParams }; diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/fields.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/fields.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/indices.ts similarity index 98% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/indices.ts index 2e42016659d88..8dbe0d8626a5c 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/indices.ts @@ -120,7 +120,7 @@ async function getIndicesFromPattern( }; const response = await esClient.search(params); // TODO: Investigate when the status field might appear here, type suggests it shouldn't ever happen - // eslint-disable-next-line @typescript-eslint/no-explicit-any + if ((response as any).status === 404 || !response.aggregations) { return []; } diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/time_series_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/time_series_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/plugin.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/plugin.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/plugin.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/plugin.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/config.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/config.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/config.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/config.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/health.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/health.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/health.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/health.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/tsconfig.json b/x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json similarity index 96% rename from x-pack/plugins/triggers_actions_ui/tsconfig.json rename to x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json index 2fd21149f4e8f..66fe1224520f3 100644 --- a/x-pack/plugins/triggers_actions_ui/tsconfig.json +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -9,7 +9,7 @@ "public/**/*", "common/**/*", "config.ts", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/alerting/jest.config.js b/x-pack/plugins/alerting/jest.config.js deleted file mode 100644 index 05db974299b40..0000000000000 --- a/x-pack/plugins/alerting/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/alerting'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/alerting', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/alerting/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/cases/jest.config.js b/x-pack/plugins/cases/jest.config.js deleted file mode 100644 index 3b1b0b1223191..0000000000000 --- a/x-pack/plugins/cases/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/cases'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/cases', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/cases/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_http_agent.ts b/x-pack/plugins/enterprise_search/server/lib/enterprise_search_http_agent.ts index 68c605e24c3a6..d97daefe881a7 100644 --- a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_http_agent.ts +++ b/x-pack/plugins/enterprise_search/server/lib/enterprise_search_http_agent.ts @@ -59,7 +59,7 @@ class EnterpriseSearchHttpAgent { /* * Convert verificationMode to rejectUnauthorized for more consistent config settings * with the rest of Kibana - * @see https://github.com/elastic/kibana/blob/main/x-pack/plugins/actions/server/builtin_action_types/lib/get_node_tls_options.ts + * @see https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/actions/server/builtin_action_types/lib/get_node_tls_options.ts */ getAgentOptions(verificationMode: 'full' | 'certificate' | 'none') { const agentOptions: AgentOptions = {}; diff --git a/x-pack/plugins/event_log/jest.config.js b/x-pack/plugins/event_log/jest.config.js deleted file mode 100644 index c8bf86db09e0f..0000000000000 --- a/x-pack/plugins/event_log/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/event_log'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/event_log', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/event_log/{common,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/rule_registry/jest.config.js b/x-pack/plugins/rule_registry/jest.config.js deleted file mode 100644 index 463204b32e29f..0000000000000 --- a/x-pack/plugins/rule_registry/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/rule_registry'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/rule_registry', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/rule_registry/{common,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/task_manager/jest.config.js b/x-pack/plugins/task_manager/jest.config.js deleted file mode 100644 index 416709552bd37..0000000000000 --- a/x-pack/plugins/task_manager/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/task_manager'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/task_manager', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/task_manager/server/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json index e4a2847f98477..6c7c5aac0444a 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json @@ -1,212 +1,3752 @@ { "properties": { - "canvas": { + "actions": { "properties": { - "workpads": { + "has_errors": { + "type": "boolean" + }, + "error_messages": { + "type": "array", + "items": { + "type": "text" + } + }, + "alert_history_connector_enabled": { + "type": "boolean", + "_meta": { + "description": "Indicates if preconfigured alert history connector is enabled." + } + }, + "count_total": { + "type": "long" + }, + "count_by_type": { "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of Canvas Workpads in the cluster" - } + "DYNAMIC_KEY": { + "type": "long" + }, + "__email": { + "type": "long" + }, + "__index": { + "type": "long" + }, + "[__gen-ai]": { + "type": "long" + }, + "__pagerduty": { + "type": "long" + }, + "__swimlane": { + "type": "long" + }, + "__server-log": { + "type": "long" + }, + "__slack": { + "type": "long" + }, + "__webhook": { + "type": "long" + }, + "__servicenow": { + "type": "long" + }, + "__jira": { + "type": "long" + }, + "__resilient": { + "type": "long" + }, + "__teams": { + "type": "long" } } }, - "pages": { + "count_gen_ai_provider_types": { "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of pages across all Canvas Workpads" - } + "DYNAMIC_KEY": { + "type": "long" }, - "per_workpad": { + "[Azure OpenAI]": { + "type": "long" + }, + "[OpenAI]": { + "type": "long" + }, + "[Other]": { + "type": "long" + } + } + }, + "count_active_total": { + "type": "long" + }, + "count_active_alert_history_connectors": { + "type": "long", + "_meta": { + "description": "The total number of preconfigured alert history connectors used by rules." + } + }, + "count_active_by_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__email": { + "type": "long" + }, + "__index": { + "type": "long" + }, + "[__gen-ai]": { + "type": "long" + }, + "__pagerduty": { + "type": "long" + }, + "__swimlane": { + "type": "long" + }, + "__server-log": { + "type": "long" + }, + "__slack": { + "type": "long" + }, + "__webhook": { + "type": "long" + }, + "__servicenow": { + "type": "long" + }, + "__jira": { + "type": "long" + }, + "__resilient": { + "type": "long" + }, + "__teams": { + "type": "long" + } + } + }, + "count_actions_executions_per_day": { + "type": "long" + }, + "count_actions_executions_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__email": { + "type": "long" + }, + "__index": { + "type": "long" + }, + "[__gen-ai]": { + "type": "long" + }, + "__pagerduty": { + "type": "long" + }, + "__swimlane": { + "type": "long" + }, + "__server-log": { + "type": "long" + }, + "__slack": { + "type": "long" + }, + "__webhook": { + "type": "long" + }, + "__servicenow": { + "type": "long" + }, + "__jira": { + "type": "long" + }, + "__resilient": { + "type": "long" + }, + "__teams": { + "type": "long" + } + } + }, + "count_active_email_connectors_by_service_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "exchange_server": { + "type": "long" + }, + "gmail": { + "type": "long" + }, + "outlook365": { + "type": "long" + }, + "elastic_cloud": { + "type": "long" + }, + "other": { + "type": "long" + }, + "ses": { + "type": "long" + } + } + }, + "count_actions_namespaces": { + "type": "long" + }, + "count_actions_executions_failed_per_day": { + "type": "long" + }, + "count_actions_executions_failed_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__email": { + "type": "long" + }, + "__index": { + "type": "long" + }, + "[__gen-ai]": { + "type": "long" + }, + "__pagerduty": { + "type": "long" + }, + "__swimlane": { + "type": "long" + }, + "__server-log": { + "type": "long" + }, + "__slack": { + "type": "long" + }, + "__webhook": { + "type": "long" + }, + "__servicenow": { + "type": "long" + }, + "__jira": { + "type": "long" + }, + "__resilient": { + "type": "long" + }, + "__teams": { + "type": "long" + } + } + }, + "avg_execution_time_per_day": { + "type": "long" + }, + "avg_execution_time_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__email": { + "type": "long" + }, + "__index": { + "type": "long" + }, + "[__gen-ai]": { + "type": "long" + }, + "__pagerduty": { + "type": "long" + }, + "__swimlane": { + "type": "long" + }, + "__server-log": { + "type": "long" + }, + "__slack": { + "type": "long" + }, + "__webhook": { + "type": "long" + }, + "__servicenow": { + "type": "long" + }, + "__jira": { + "type": "long" + }, + "__resilient": { + "type": "long" + }, + "__teams": { + "type": "long" + } + } + }, + "count_connector_types_by_action_run_outcome_per_day": { + "properties": { + "DYNAMIC_KEY": { "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of pages across all Canvas Workpads" - } + "success": { + "type": "long" }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of pages found in a Canvas Workpad" - } + "failure": { + "type": "long" }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of pages found in a Canvas Workpad" - } + "unknown": { + "type": "long" + } + } + } + } + } + } + }, + "alerts": { + "properties": { + "has_errors": { + "type": "boolean" + }, + "error_messages": { + "type": "array", + "items": { + "type": "text" + } + }, + "count_total": { + "type": "long" + }, + "count_active_total": { + "type": "long" + }, + "count_disabled_total": { + "type": "long" + }, + "throttle_time": { + "properties": { + "min": { + "type": "keyword" + }, + "avg": { + "type": "keyword" + }, + "max": { + "type": "keyword" + } + } + }, + "schedule_time": { + "properties": { + "min": { + "type": "keyword" + }, + "avg": { + "type": "keyword" + }, + "max": { + "type": "keyword" + } + } + }, + "throttle_time_number_s": { + "properties": { + "min": { + "type": "long" + }, + "avg": { + "type": "float" + }, + "max": { + "type": "long" + } + } + }, + "schedule_time_number_s": { + "properties": { + "min": { + "type": "long" + }, + "avg": { + "type": "float" + }, + "max": { + "type": "long" + } + } + }, + "connectors_per_alert": { + "properties": { + "min": { + "type": "long" + }, + "avg": { + "type": "float" + }, + "max": { + "type": "long" + } + } + }, + "count_active_by_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "count_by_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "count_rules_namespaces": { + "type": "long" + }, + "count_rules_executions_per_day": { + "type": "long" + }, + "count_rules_executions_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "count_rules_executions_failured_per_day": { + "type": "long" + }, + "count_rules_executions_failured_by_reason_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "read": { + "type": "long" + }, + "decrypt": { + "type": "long" + }, + "license": { + "type": "long" + }, + "unknown": { + "type": "long" + } + } + }, + "count_rules_executions_failured_by_reason_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "read": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "decrypt": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "license": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "unknown": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + } + } + }, + "count_rules_executions_timeouts_per_day": { + "type": "long" + }, + "count_rules_executions_timeouts_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "count_failed_and_unrecognized_rule_tasks_per_day": { + "type": "long" + }, + "count_failed_and_unrecognized_rule_tasks_by_status_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "failed": { + "type": "long" + }, + "unrecognized": { + "type": "long" + } + } + }, + "count_failed_and_unrecognized_rule_tasks_by_status_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "failed": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "unrecognized": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + } + } + }, + "count_rules_by_execution_status": { + "properties": { + "success": { + "type": "long" + }, + "error": { + "type": "long" + }, + "warning": { + "type": "long" + } + } + }, + "count_rules_with_tags": { + "type": "long" + }, + "count_rules_by_notify_when": { + "properties": { + "on_action_group_change": { + "type": "long" + }, + "on_active_alert": { + "type": "long" + }, + "on_throttle_interval": { + "type": "long" + } + } + }, + "count_rules_snoozed": { + "type": "long" + }, + "count_rules_muted": { + "type": "long" + }, + "count_mw_total": { + "type": "long" + }, + "count_mw_with_repeat_toggle_on": { + "type": "long" + }, + "count_mw_with_filter_alert_toggle_on": { + "type": "long" + }, + "count_rules_with_muted_alerts": { + "type": "long" + }, + "count_connector_types_by_consumers": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + } + } + }, + "count_rules_by_execution_status_per_day": { + "properties": { + "success": { + "type": "long" + }, + "failure": { + "type": "long" + }, + "unknown": { + "type": "long" + } + } + }, + "avg_execution_time_per_day": { + "type": "long" + }, + "avg_execution_time_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "avg_es_search_duration_per_day": { + "type": "long" + }, + "avg_es_search_duration_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "avg_total_search_duration_per_day": { + "type": "long" + }, + "avg_total_search_duration_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "percentile_num_generated_actions_per_day": { + "properties": { + "p50": { + "type": "long" + }, + "p90": { + "type": "long" + }, + "p99": { + "type": "long" + } + } + }, + "percentile_num_generated_actions_by_type_per_day": { + "properties": { + "p50": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "p90": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "p99": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + } + } + }, + "percentile_num_alerts_per_day": { + "properties": { + "p50": { + "type": "long" + }, + "p90": { + "type": "long" + }, + "p99": { + "type": "long" + } + } + }, + "percentile_num_alerts_by_type_per_day": { + "properties": { + "p50": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "p90": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "p99": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + } + } + }, + "count_alerts_total": { + "type": "long" + }, + "count_alerts_by_rule_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + } + } + }, + "canvas": { + "properties": { + "workpads": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of Canvas Workpads in the cluster" + } + } + } + }, + "pages": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of pages across all Canvas Workpads" + } + }, + "per_workpad": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of pages across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of pages found in a Canvas Workpad" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of pages found in a Canvas Workpad" + } + } + } + } + } + }, + "elements": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of elements across all Canvas Workpads" + } + }, + "per_page": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of elements per page across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of elements on a page across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of elements on a page across all Canvas Workpads" + } + } + } + } + } + }, + "functions": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of functions in use across all Canvas Workpads" + } + }, + "in_use": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in any Canvas Workpad" + } + } + }, + "in_use_30d": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in a Canvas Workpad that has been modified in the last 30 days" + } + } + }, + "in_use_90d": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in a Canvas Workpad that has been modified in the last 90 days" + } + } + }, + "per_element": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "Average number of functions used per element across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of functions used in an element across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of functions used in an element across all Canvas Workpads" + } + } + } + } + } + }, + "variables": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of variables defined across all Canvas Workpads" + } + }, + "per_workpad": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of variables set per Canvas Workpad" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number variables set across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of variables set across all Canvas Workpads" + } + } + } + } + } + }, + "custom_elements": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "The total number of custom Canvas elements" + } + }, + "elements": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of elements used across all Canvas Custom Elements" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of elements used across all Canvas Custom Elements" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "The average number of elements used in Canvas Custom Element" + } + } + } + }, + "functions_in_use": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The functions in use by Canvas Custom Elements" + } + } + } + } + } + } + }, + "cases": { + "properties": { + "cases": { + "properties": { + "all": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "attachmentFramework": { + "properties": { + "persistableAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "externalAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "files": { + "properties": { + "average": { + "type": "long" + }, + "averageSize": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "topMimeTypes": { + "type": "array", + "items": { + "properties": { + "count": { + "type": "long" + }, + "name": { + "type": "keyword" + } + } + } + } + } + } + } + }, + "assignees": { + "properties": { + "total": { + "type": "long" + }, + "totalWithZero": { + "type": "long" + }, + "totalWithAtLeastOne": { + "type": "long" + } + } + }, + "status": { + "properties": { + "open": { + "type": "long" + }, + "inProgress": { + "type": "long" + }, + "closed": { + "type": "long" + } + } + }, + "syncAlertsOn": { + "type": "long" + }, + "syncAlertsOff": { + "type": "long" + }, + "totalUsers": { + "type": "long" + }, + "totalParticipants": { + "type": "long" + }, + "totalTags": { + "type": "long" + }, + "totalWithAlerts": { + "type": "long" + }, + "totalWithConnectors": { + "type": "long" + }, + "latestDates": { + "properties": { + "createdAt": { + "type": "keyword" + }, + "updatedAt": { + "type": "keyword" + }, + "closedAt": { + "type": "keyword" + } + } + } + } + }, + "sec": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "assignees": { + "properties": { + "total": { + "type": "long" + }, + "totalWithZero": { + "type": "long" + }, + "totalWithAtLeastOne": { + "type": "long" + } + } + }, + "attachmentFramework": { + "properties": { + "persistableAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "externalAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "files": { + "properties": { + "average": { + "type": "long" + }, + "averageSize": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "topMimeTypes": { + "type": "array", + "items": { + "properties": { + "count": { + "type": "long" + }, + "name": { + "type": "keyword" + } + } + } + } + } + } + } + } + } + }, + "obs": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "assignees": { + "properties": { + "total": { + "type": "long" + }, + "totalWithZero": { + "type": "long" + }, + "totalWithAtLeastOne": { + "type": "long" + } + } + }, + "attachmentFramework": { + "properties": { + "persistableAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "externalAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "files": { + "properties": { + "average": { + "type": "long" + }, + "averageSize": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "topMimeTypes": { + "type": "array", + "items": { + "properties": { + "count": { + "type": "long" + }, + "name": { + "type": "keyword" + } + } + } + } + } + } + } + } + } + }, + "main": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "assignees": { + "properties": { + "total": { + "type": "long" + }, + "totalWithZero": { + "type": "long" + }, + "totalWithAtLeastOne": { + "type": "long" + } + } + }, + "attachmentFramework": { + "properties": { + "persistableAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "externalAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "files": { + "properties": { + "average": { + "type": "long" + }, + "averageSize": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "topMimeTypes": { + "type": "array", + "items": { + "properties": { + "count": { + "type": "long" + }, + "name": { + "type": "keyword" + } + } + } + } + } + } + } + } + } + } + } + }, + "userActions": { + "properties": { + "all": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "maxOnACase": { + "type": "long" } } } } }, - "elements": { + "comments": { "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of elements across all Canvas Workpads" - } - }, - "per_page": { + "all": { "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of elements per page across all Canvas Workpads" - } + "total": { + "type": "long" }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of elements on a page across all Canvas Workpads" - } + "monthly": { + "type": "long" }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of elements on a page across all Canvas Workpads" - } + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "maxOnACase": { + "type": "long" } } } } }, - "functions": { + "alerts": { "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of functions in use across all Canvas Workpads" - } - }, - "in_use": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in any Canvas Workpad" - } - } - }, - "in_use_30d": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in a Canvas Workpad that has been modified in the last 30 days" - } - } - }, - "in_use_90d": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in a Canvas Workpad that has been modified in the last 90 days" - } - } - }, - "per_element": { + "all": { "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "Average number of functions used per element across all Canvas Workpads" - } + "total": { + "type": "long" }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of functions used in an element across all Canvas Workpads" - } + "monthly": { + "type": "long" }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of functions used in an element across all Canvas Workpads" - } + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "maxOnACase": { + "type": "long" } } } } }, - "variables": { + "connectors": { "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of variables defined across all Canvas Workpads" - } - }, - "per_workpad": { + "all": { "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of variables set per Canvas Workpad" + "all": { + "properties": { + "totalAttached": { + "type": "long" + } } }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number variables set across all Canvas Workpads" + "itsm": { + "properties": { + "totalAttached": { + "type": "long" + } } }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of variables set across all Canvas Workpads" + "sir": { + "properties": { + "totalAttached": { + "type": "long" + } + } + }, + "jira": { + "properties": { + "totalAttached": { + "type": "long" + } } + }, + "resilient": { + "properties": { + "totalAttached": { + "type": "long" + } + } + }, + "swimlane": { + "properties": { + "totalAttached": { + "type": "long" + } + } + }, + "maxAttachedToACase": { + "type": "long" } } } } }, - "custom_elements": { + "pushes": { "properties": { - "count": { - "type": "long", - "_meta": { - "description": "The total number of custom Canvas elements" + "all": { + "properties": { + "total": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + } } - }, - "elements": { + } + } + }, + "configuration": { + "properties": { + "all": { "properties": { - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of elements used across all Canvas Custom Elements" + "closure": { + "properties": { + "manually": { + "type": "long" + }, + "automatic": { + "type": "long" + } } }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of elements used across all Canvas Custom Elements" + "customFields": { + "properties": { + "totalsByType": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "totals": { + "type": "long" + }, + "required": { + "type": "long" + } } - }, - "avg": { - "type": "float", - "_meta": { - "description": "The average number of elements used in Canvas Custom Element" + } + } + }, + "sec": { + "properties": { + "customFields": { + "properties": { + "totalsByType": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "totals": { + "type": "long" + }, + "required": { + "type": "long" + } } } } }, - "functions_in_use": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The functions in use by Canvas Custom Elements" + "obs": { + "properties": { + "customFields": { + "properties": { + "totalsByType": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "totals": { + "type": "long" + }, + "required": { + "type": "long" + } + } + } + } + }, + "main": { + "properties": { + "customFields": { + "properties": { + "totalsByType": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "totals": { + "type": "long" + }, + "required": { + "type": "long" + } + } } } } } + }, + "casesSystemAction": { + "properties": { + "totalCasesCreated": { + "type": "long" + }, + "totalRules": { + "type": "long" + } + } } } }, @@ -1913,6 +5453,42 @@ } } }, + "task_manager": { + "properties": { + "task_type_exclusion": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "failed_tasks": { + "type": "long" + }, + "recurring_tasks": { + "properties": { + "actual_service_time": { + "type": "long" + }, + "adjusted_service_time": { + "type": "long" + } + } + }, + "adhoc_tasks": { + "properties": { + "actual_service_time": { + "type": "long" + }, + "adjusted_service_time": { + "type": "long" + } + } + }, + "capacity": { + "type": "long" + } + } + }, "transform": { "properties": { "alertRules": { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index babb90efbc4dd..b7d87d7973702 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -1,4940 +1,377 @@ { "properties": { - "actions": { + "apm": { "properties": { - "has_errors": { - "type": "boolean" - }, - "error_messages": { - "type": "array", - "items": { - "type": "text" - } - }, - "alert_history_connector_enabled": { - "type": "boolean", - "_meta": { - "description": "Indicates if preconfigured alert history connector is enabled." - } - }, - "count_total": { - "type": "long" - }, - "count_by_type": { + "services_per_agent": { "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__email": { - "type": "long" + "android/java": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the android/java agent within the last day" + } }, - "__index": { - "type": "long" + "dotnet": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the dotnet (.Net) agent within the last day" + } }, - "[__gen-ai]": { - "type": "long" + "iOS/swift": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the iOS/swift agent within the last day" + } }, - "__pagerduty": { - "type": "long" + "go": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the go agent within the last day" + } }, - "__swimlane": { - "type": "long" + "java": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the Java agent within the last day" + } }, - "__server-log": { - "type": "long" + "js-base": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the js-base agent within the last day" + } }, - "__slack": { - "type": "long" + "nodejs": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the nodeJS agent within the last day" + } }, - "__webhook": { - "type": "long" + "php": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the PHH agent within the last day" + } }, - "__servicenow": { - "type": "long" + "python": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the Python agent within the last day" + } }, - "__jira": { - "type": "long" + "ruby": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the Ruby agent within the last day" + } }, - "__resilient": { - "type": "long" + "rum-js": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the rum-js agent within the last day" + } }, - "__teams": { - "type": "long" - } - } - }, - "count_gen_ai_provider_types": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" + "otlp": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp agent within the last day" + } }, - "[Azure OpenAI]": { - "type": "long" + "otlp/cpp": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/cpp agent within the last day" + } }, - "[OpenAI]": { - "type": "long" + "otlp/dotnet": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/dotnet agent within the last day" + } }, - "[Other]": { - "type": "long" - } - } - }, - "count_active_total": { - "type": "long" - }, - "count_active_alert_history_connectors": { - "type": "long", - "_meta": { - "description": "The total number of preconfigured alert history connectors used by rules." - } - }, - "count_active_by_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" + "otlp/erlang": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/erlang agent within the last day" + } }, - "__email": { - "type": "long" + "otlp/go": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/go agent within the last day" + } }, - "__index": { - "type": "long" + "otlp/java": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/java agent within the last day" + } }, - "[__gen-ai]": { - "type": "long" + "otlp/nodejs": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/nodejs agent within the last day" + } }, - "__pagerduty": { - "type": "long" + "otlp/php": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/php agent within the last day" + } }, - "__swimlane": { - "type": "long" + "otlp/python": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/python agent within the last day" + } }, - "__server-log": { - "type": "long" + "otlp/ruby": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/ruby agent within the last day" + } }, - "__slack": { - "type": "long" + "otlp/rust": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/rust agent within the last day" + } }, - "__webhook": { - "type": "long" + "otlp/swift": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/swift agent within the last day" + } }, - "__servicenow": { - "type": "long" + "otlp/android": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/android agent within the last day" + } }, - "__jira": { - "type": "long" + "otlp/webjs": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/webjs agent within the last day" + } }, - "__resilient": { - "type": "long" + "opentelemetry": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry agent within the last day" + } }, - "__teams": { - "type": "long" - } - } - }, - "count_actions_executions_per_day": { - "type": "long" - }, - "count_actions_executions_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" + "opentelemetry/cpp": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/cpp agent within the last day" + } }, - "__email": { - "type": "long" + "opentelemetry/dotnet": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/dotnet agent within the last day" + } }, - "__index": { - "type": "long" + "opentelemetry/erlang": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/erlang agent within the last day" + } }, - "[__gen-ai]": { - "type": "long" + "opentelemetry/go": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/go agent within the last day" + } }, - "__pagerduty": { - "type": "long" + "opentelemetry/java": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/java agent within the last day" + } }, - "__swimlane": { - "type": "long" + "opentelemetry/nodejs": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/nodejs agent within the last day" + } }, - "__server-log": { - "type": "long" + "opentelemetry/php": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/php agent within the last day" + } }, - "__slack": { - "type": "long" + "opentelemetry/python": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/python agent within the last day" + } }, - "__webhook": { - "type": "long" + "opentelemetry/ruby": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/ruby agent within the last day" + } }, - "__servicenow": { - "type": "long" + "opentelemetry/rust": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/rust agent within the last day" + } }, - "__jira": { - "type": "long" - }, - "__resilient": { - "type": "long" - }, - "__teams": { - "type": "long" - } - } - }, - "count_active_email_connectors_by_service_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "exchange_server": { - "type": "long" - }, - "gmail": { - "type": "long" - }, - "outlook365": { - "type": "long" - }, - "elastic_cloud": { - "type": "long" - }, - "other": { - "type": "long" - }, - "ses": { - "type": "long" - } - } - }, - "count_actions_namespaces": { - "type": "long" - }, - "count_actions_executions_failed_per_day": { - "type": "long" - }, - "count_actions_executions_failed_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__email": { - "type": "long" - }, - "__index": { - "type": "long" - }, - "[__gen-ai]": { - "type": "long" - }, - "__pagerduty": { - "type": "long" - }, - "__swimlane": { - "type": "long" - }, - "__server-log": { - "type": "long" - }, - "__slack": { - "type": "long" - }, - "__webhook": { - "type": "long" - }, - "__servicenow": { - "type": "long" - }, - "__jira": { - "type": "long" - }, - "__resilient": { - "type": "long" - }, - "__teams": { - "type": "long" - } - } - }, - "avg_execution_time_per_day": { - "type": "long" - }, - "avg_execution_time_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__email": { - "type": "long" - }, - "__index": { - "type": "long" - }, - "[__gen-ai]": { - "type": "long" - }, - "__pagerduty": { - "type": "long" - }, - "__swimlane": { - "type": "long" - }, - "__server-log": { - "type": "long" - }, - "__slack": { - "type": "long" - }, - "__webhook": { - "type": "long" - }, - "__servicenow": { - "type": "long" + "opentelemetry/swift": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/swift agent within the last day" + } }, - "__jira": { - "type": "long" + "opentelemetry/android": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/android agent within the last day" + } }, - "__resilient": { - "type": "long" + "opentelemetry/webjs": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/webjs agent within the last day" + } }, - "__teams": { - "type": "long" + "ios/swift": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the ios/swift agent within the last day" + } } } }, - "count_connector_types_by_action_run_outcome_per_day": { + "agents": { "properties": { - "DYNAMIC_KEY": { + "android/java": { "properties": { - "success": { - "type": "long" - }, - "failure": { - "type": "long" + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } }, - "unknown": { - "type": "long" + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } } } - } - } - } - } - }, - "alerts": { - "properties": { - "has_errors": { - "type": "boolean" - }, - "error_messages": { - "type": "array", - "items": { - "type": "text" - } - }, - "count_total": { - "type": "long" - }, - "count_active_total": { - "type": "long" - }, - "count_disabled_total": { - "type": "long" - }, - "throttle_time": { - "properties": { - "min": { - "type": "keyword" - }, - "avg": { - "type": "keyword" - }, - "max": { - "type": "keyword" - } - } - }, - "schedule_time": { - "properties": { - "min": { - "type": "keyword" - }, - "avg": { - "type": "keyword" - }, - "max": { - "type": "keyword" - } - } - }, - "throttle_time_number_s": { - "properties": { - "min": { - "type": "long" - }, - "avg": { - "type": "float" }, - "max": { - "type": "long" - } - } - }, - "schedule_time_number_s": { - "properties": { - "min": { - "type": "long" - }, - "avg": { - "type": "float" - }, - "max": { - "type": "long" - } - } - }, - "connectors_per_alert": { - "properties": { - "min": { - "type": "long" - }, - "avg": { - "type": "float" - }, - "max": { - "type": "long" - } - } - }, - "count_active_by_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "count_by_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "count_rules_namespaces": { - "type": "long" - }, - "count_rules_executions_per_day": { - "type": "long" - }, - "count_rules_executions_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "count_rules_executions_failured_per_day": { - "type": "long" - }, - "count_rules_executions_failured_by_reason_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "read": { - "type": "long" - }, - "decrypt": { - "type": "long" - }, - "license": { - "type": "long" - }, - "unknown": { - "type": "long" - } - } - }, - "count_rules_executions_failured_by_reason_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "read": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "decrypt": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "license": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "unknown": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - } - } - }, - "count_rules_executions_timeouts_per_day": { - "type": "long" - }, - "count_rules_executions_timeouts_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "count_failed_and_unrecognized_rule_tasks_per_day": { - "type": "long" - }, - "count_failed_and_unrecognized_rule_tasks_by_status_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "failed": { - "type": "long" - }, - "unrecognized": { - "type": "long" - } - } - }, - "count_failed_and_unrecognized_rule_tasks_by_status_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "failed": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "unrecognized": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - } - } - }, - "count_rules_by_execution_status": { - "properties": { - "success": { - "type": "long" - }, - "error": { - "type": "long" - }, - "warning": { - "type": "long" - } - } - }, - "count_rules_with_tags": { - "type": "long" - }, - "count_rules_by_notify_when": { - "properties": { - "on_action_group_change": { - "type": "long" - }, - "on_active_alert": { - "type": "long" - }, - "on_throttle_interval": { - "type": "long" - } - } - }, - "count_rules_snoozed": { - "type": "long" - }, - "count_rules_muted": { - "type": "long" - }, - "count_mw_total": { - "type": "long" - }, - "count_mw_with_repeat_toggle_on": { - "type": "long" - }, - "count_mw_with_filter_alert_toggle_on": { - "type": "long" - }, - "count_rules_with_muted_alerts": { - "type": "long" - }, - "count_connector_types_by_consumers": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - } - } - } - } - }, - "count_rules_by_execution_status_per_day": { - "properties": { - "success": { - "type": "long" - }, - "failure": { - "type": "long" - }, - "unknown": { - "type": "long" - } - } - }, - "avg_execution_time_per_day": { - "type": "long" - }, - "avg_execution_time_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "avg_es_search_duration_per_day": { - "type": "long" - }, - "avg_es_search_duration_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "avg_total_search_duration_per_day": { - "type": "long" - }, - "avg_total_search_duration_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "percentile_num_generated_actions_per_day": { - "properties": { - "p50": { - "type": "long" - }, - "p90": { - "type": "long" - }, - "p99": { - "type": "long" - } - } - }, - "percentile_num_generated_actions_by_type_per_day": { - "properties": { - "p50": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "p90": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "p99": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - } - } - }, - "percentile_num_alerts_per_day": { - "properties": { - "p50": { - "type": "long" - }, - "p90": { - "type": "long" - }, - "p99": { - "type": "long" - } - } - }, - "percentile_num_alerts_by_type_per_day": { - "properties": { - "p50": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "p90": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "p99": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - } - } - }, - "count_alerts_total": { - "type": "long" - }, - "count_alerts_by_rule_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - } - } - }, - "apm": { - "properties": { - "services_per_agent": { - "properties": { - "android/java": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the android/java agent within the last day" - } - }, - "dotnet": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the dotnet (.Net) agent within the last day" - } - }, - "iOS/swift": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the iOS/swift agent within the last day" - } - }, - "go": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the go agent within the last day" - } - }, - "java": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the Java agent within the last day" - } - }, - "js-base": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the js-base agent within the last day" - } - }, - "nodejs": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the nodeJS agent within the last day" - } - }, - "php": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the PHH agent within the last day" - } - }, - "python": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the Python agent within the last day" - } - }, - "ruby": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the Ruby agent within the last day" - } - }, - "rum-js": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the rum-js agent within the last day" - } - }, - "otlp": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp agent within the last day" - } - }, - "otlp/cpp": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/cpp agent within the last day" - } - }, - "otlp/dotnet": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/dotnet agent within the last day" - } - }, - "otlp/erlang": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/erlang agent within the last day" - } - }, - "otlp/go": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/go agent within the last day" - } - }, - "otlp/java": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/java agent within the last day" - } - }, - "otlp/nodejs": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/nodejs agent within the last day" - } - }, - "otlp/php": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/php agent within the last day" - } - }, - "otlp/python": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/python agent within the last day" - } - }, - "otlp/ruby": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/ruby agent within the last day" - } - }, - "otlp/rust": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/rust agent within the last day" - } - }, - "otlp/swift": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/swift agent within the last day" - } - }, - "otlp/android": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/android agent within the last day" - } - }, - "otlp/webjs": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/webjs agent within the last day" - } - }, - "opentelemetry": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry agent within the last day" - } - }, - "opentelemetry/cpp": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/cpp agent within the last day" - } - }, - "opentelemetry/dotnet": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/dotnet agent within the last day" - } - }, - "opentelemetry/erlang": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/erlang agent within the last day" - } - }, - "opentelemetry/go": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/go agent within the last day" - } - }, - "opentelemetry/java": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/java agent within the last day" - } - }, - "opentelemetry/nodejs": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/nodejs agent within the last day" - } - }, - "opentelemetry/php": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/php agent within the last day" - } - }, - "opentelemetry/python": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/python agent within the last day" - } - }, - "opentelemetry/ruby": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/ruby agent within the last day" - } - }, - "opentelemetry/rust": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/rust agent within the last day" - } - }, - "opentelemetry/swift": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/swift agent within the last day" - } - }, - "opentelemetry/android": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/android agent within the last day" - } - }, - "opentelemetry/webjs": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/webjs agent within the last day" - } - }, - "ios/swift": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the ios/swift agent within the last day" - } - } - } - }, - "agents": { - "properties": { - "android/java": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "dotnet": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "iOS/swift": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "go": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "java": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "js-base": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "nodejs": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "php": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "python": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "ruby": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "rum-js": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/cpp": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/dotnet": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/erlang": { + "dotnet": { "properties": { "agent": { "properties": { @@ -5057,7 +494,7 @@ } } }, - "opentelemetry/go": { + "iOS/swift": { "properties": { "agent": { "properties": { @@ -5180,7 +617,7 @@ } } }, - "opentelemetry/java": { + "go": { "properties": { "agent": { "properties": { @@ -5303,7 +740,7 @@ } } }, - "opentelemetry/nodejs": { + "java": { "properties": { "agent": { "properties": { @@ -5426,7 +863,7 @@ } } }, - "opentelemetry/php": { + "js-base": { "properties": { "agent": { "properties": { @@ -5549,7 +986,7 @@ } } }, - "opentelemetry/python": { + "nodejs": { "properties": { "agent": { "properties": { @@ -5672,7 +1109,7 @@ } } }, - "opentelemetry/ruby": { + "php": { "properties": { "agent": { "properties": { @@ -5795,7 +1232,7 @@ } } }, - "opentelemetry/rust": { + "python": { "properties": { "agent": { "properties": { @@ -5918,7 +1355,7 @@ } } }, - "opentelemetry/swift": { + "ruby": { "properties": { "agent": { "properties": { @@ -6041,7 +1478,7 @@ } } }, - "opentelemetry/android": { + "rum-js": { "properties": { "agent": { "properties": { @@ -6164,7 +1601,7 @@ } } }, - "opentelemetry/webjs": { + "otlp": { "properties": { "agent": { "properties": { @@ -6287,7 +1724,7 @@ } } }, - "otlp/cpp": { + "opentelemetry": { "properties": { "agent": { "properties": { @@ -6410,7 +1847,7 @@ } } }, - "otlp/dotnet": { + "opentelemetry/cpp": { "properties": { "agent": { "properties": { @@ -6533,7 +1970,7 @@ } } }, - "otlp/erlang": { + "opentelemetry/dotnet": { "properties": { "agent": { "properties": { @@ -6656,7 +2093,7 @@ } } }, - "otlp/go": { + "opentelemetry/erlang": { "properties": { "agent": { "properties": { @@ -6779,7 +2216,7 @@ } } }, - "otlp/java": { + "opentelemetry/go": { "properties": { "agent": { "properties": { @@ -6902,7 +2339,7 @@ } } }, - "otlp/nodejs": { + "opentelemetry/java": { "properties": { "agent": { "properties": { @@ -7025,7 +2462,7 @@ } } }, - "otlp/php": { + "opentelemetry/nodejs": { "properties": { "agent": { "properties": { @@ -7148,7 +2585,7 @@ } } }, - "otlp/python": { + "opentelemetry/php": { "properties": { "agent": { "properties": { @@ -7271,7 +2708,7 @@ } } }, - "otlp/ruby": { + "opentelemetry/python": { "properties": { "agent": { "properties": { @@ -7394,7 +2831,7 @@ } } }, - "otlp/rust": { + "opentelemetry/ruby": { "properties": { "agent": { "properties": { @@ -7517,7 +2954,7 @@ } } }, - "otlp/swift": { + "opentelemetry/rust": { "properties": { "agent": { "properties": { @@ -7640,7 +3077,7 @@ } } }, - "otlp/android": { + "opentelemetry/swift": { "properties": { "agent": { "properties": { @@ -7763,7 +3200,7 @@ } } }, - "otlp/webjs": { + "opentelemetry/android": { "properties": { "agent": { "properties": { @@ -7886,7 +3323,7 @@ } } }, - "ios/swift": { + "opentelemetry/webjs": { "properties": { "agent": { "properties": { @@ -7992,421 +3429,998 @@ "_meta": { "description": "An array of the top 3 service runtime version within the last day" } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - } - } - }, - "has_any_services_per_official_agent": { - "type": "boolean", - "_meta": { - "description": "Indicates whether any service is being monitored. This is determined by checking all officially supported agents within the last day" - } - }, - "has_any_services": { - "type": "boolean", - "_meta": { - "description": "Indicates whether any service is being monitored within the last day." - } - }, - "version": { - "properties": { - "apm_server": { - "properties": { - "major": { - "type": "long", - "_meta": { - "description": "The major version of the APM server. Example: 7" - } - }, - "minor": { - "type": "long", - "_meta": { - "description": "The minor version of the APM server. Example: 17" - } - }, - "patch": { - "type": "long", - "_meta": { - "description": "The patch version of the APM server. Example 3" - } - } - } - } - } - }, - "environments": { - "properties": { - "services_without_environment": { - "type": "long", - "_meta": { - "description": "Number of services without an assigned environment within the last day. This is determined by checking the \"service.environment\" field and counting instances where it is null" - } - }, - "services_with_multiple_environments": { - "type": "long", - "_meta": { - "description": "Number of services with more than one assigned environment within the last day" - } - }, - "top_environments": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 5 environments in terms of document count within tha last day" - } - } - } - } - }, - "aggregated_transactions": { - "properties": { - "current_implementation": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - }, - "no_observer_name": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - }, - "no_rum": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - }, - "no_rum_no_observer_name": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - }, - "only_rum": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - }, - "only_rum_no_observer_name": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - } - } - }, - "cloud": { - "properties": { - "availability_zone": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 10 cloud availability zones in terms of document count overall. Example: [us-east1-c, us-east1-b]" - } - } - }, - "provider": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 10 cloud providers in terms of document count overall. Example: [azure]" - } - } - }, - "region": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 10 cloud regions in terms of document count overall. Example: [us-west1, us-central1]" - } - } - } - } - }, - "host": { - "properties": { - "os": { - "properties": { - "platform": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 10 operating system platforms in terms of document count within an hour. Example: [linux, win32]" - } - } - } - } - } - } - }, - "counts": { - "properties": { - "transaction": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of transaction documents within the last day" - } - }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of transaction documents overall" + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } } } } }, - "span": { + "otlp/cpp": { "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of span documents within the last day" + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } } }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of span documents overall" + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } } } } }, - "error": { + "otlp/dotnet": { "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of error documents within the last day" + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } } }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of error documents overall" + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } } } } }, - "metric": { + "otlp/erlang": { "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of metric documents within the last day" + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } } }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of metric documents overall" + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } } } } }, - "onboarding": { + "otlp/go": { "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of onboarding documents within the last day" + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } } }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of onboarding documents overall" + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } } } } }, - "agent_configuration": { + "otlp/java": { "properties": { - "all": { - "type": "long", - "_meta": { - "description": "Total number of apm-agent-configuration documents overall" + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } } - } - } - }, - "global_labels": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of global labels used for creating aggregation keys for internal metrics computed from indices which received data in the last 24 hours" + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } } } } }, - "max_transaction_groups_per_service": { + "otlp/nodejs": { "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of distinct transaction groups for the top service for the last 24 hours" + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } } - } - } - }, - "max_error_groups_per_service": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of distinct error groups for the top service for the last 24 hours" + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } } } } }, - "traces": { + "otlp/php": { "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of trace documents within the last day" + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } } }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of trace documents overall" - } - } - } - }, - "services": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of unique services within the last day" - } - } - } - }, - "environments": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of unique environments within the last day" + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } } } } }, - "span_destination_service_resource": { + "otlp/python": { "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of unique values of span.destination.service.resource within the last day" + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } } - } - } - } - } - }, - "cardinality": { - "properties": { - "client": { - "properties": { - "geo": { + }, + "service": { "properties": { - "country_iso_code": { + "framework": { "properties": { - "rum": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Unique country iso code captured for the agents js-base, rum-js and opentelemetry/webjs within the last day" - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." } } } @@ -8416,54 +4430,121 @@ } } }, - "user_agent": { + "otlp/ruby": { "properties": { - "original": { + "agent": { "properties": { - "all_agents": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Unique user agent for all agents within the last day" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" } } }, - "rum": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Unique user agent for rum agent within the last day" - } + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" } } } } - } - } - }, - "transaction": { - "properties": { - "name": { + }, + "service": { "properties": { - "all_agents": { + "framework": { "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Unique transaction names for all agents within the last day" + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } } } } }, - "rum": { + "language": { "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Unique transaction names for rum agent within the last day" + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } } } } @@ -8471,884 +4552,613 @@ } } } - } - } - }, - "retainment": { - "properties": { - "span": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Represent the time difference in milliseconds between the current date and the date when the span document was recorded" - } - } - } - }, - "transaction": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Represent the time difference in milliseconds between the current date and the date when the transaction document was recorded" - } - } - } - }, - "error": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Represent the time difference in milliseconds between the current date and the date when the error document was recorded" - } - } - } - }, - "metric": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Represent the time difference in milliseconds between the current date and the date when the metric document was recorded" - } - } - } }, - "onboarding": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Represent the time difference in milliseconds between the current date and the date when the onboarding document was recorded" - } - } - } - } - } - }, - "integrations": { - "properties": { - "ml": { - "properties": { - "all_jobs_count": { - "type": "long", - "_meta": { - "description": "Total number of anomaly detection jobs associated with the jobs apm-*, *-high_mean_response_time" - } - } - } - } - } - }, - "indices": { - "properties": { - "metric": { + "otlp/rust": { "properties": { - "shards": { + "agent": { "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of shards for metric indices" + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } } } } }, - "all": { + "service": { "properties": { - "total": { + "framework": { "properties": { - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents overall" - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" } } }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric indicess in byte units overall." - } - } - } - } - } - } - } - }, - "metricset": { - "properties": { - "service_destination-1m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" } } } } }, - "service_destination-10m": { + "language": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "service_destination-60m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." } } } } }, - "transaction-1m": { + "runtime": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" } } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/swift": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" } } }, - "transaction-10m": { + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" } } } } }, - "transaction-60m": { + "language": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." } } } } }, - "service_summary-1m": { + "runtime": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." } } } } - }, - "service_summary-10m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + } + } + } + } + }, + "otlp/android": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" } } } } }, - "service_summary-60m": { + "language": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." } } } } }, - "service_transaction-1m": { + "runtime": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." } } } } + } + } + } + } + }, + "otlp/webjs": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } }, - "service_transaction-10m": { + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" } } } } }, - "service_transaction-60m": { + "language": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." } } } } }, - "span_breakdown-1m": { + "runtime": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." } } } } + } + } + } + } + }, + "ios/swift": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } }, - "span_breakdown-10m": { + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" } } } } }, - "span_breakdown-60m": { + "language": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." } } } } }, - "app": { + "runtime": { "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" } } }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." } } } @@ -9357,41 +5167,434 @@ } } } + } + } + }, + "has_any_services_per_official_agent": { + "type": "boolean", + "_meta": { + "description": "Indicates whether any service is being monitored. This is determined by checking all officially supported agents within the last day" + } + }, + "has_any_services": { + "type": "boolean", + "_meta": { + "description": "Indicates whether any service is being monitored within the last day." + } + }, + "version": { + "properties": { + "apm_server": { + "properties": { + "major": { + "type": "long", + "_meta": { + "description": "The major version of the APM server. Example: 7" + } + }, + "minor": { + "type": "long", + "_meta": { + "description": "The minor version of the APM server. Example: 17" + } + }, + "patch": { + "type": "long", + "_meta": { + "description": "The patch version of the APM server. Example 3" + } + } + } + } + } + }, + "environments": { + "properties": { + "services_without_environment": { + "type": "long", + "_meta": { + "description": "Number of services without an assigned environment within the last day. This is determined by checking the \"service.environment\" field and counting instances where it is null" + } + }, + "services_with_multiple_environments": { + "type": "long", + "_meta": { + "description": "Number of services with more than one assigned environment within the last day" + } + }, + "top_environments": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 5 environments in terms of document count within tha last day" + } + } + } + } + }, + "aggregated_transactions": { + "properties": { + "current_implementation": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + }, + "no_observer_name": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + }, + "no_rum": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + }, + "no_rum_no_observer_name": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + }, + "only_rum": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + }, + "only_rum_no_observer_name": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + } + } + }, + "cloud": { + "properties": { + "availability_zone": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 10 cloud availability zones in terms of document count overall. Example: [us-east1-c, us-east1-b]" + } + } + }, + "provider": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 10 cloud providers in terms of document count overall. Example: [azure]" + } + } + }, + "region": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 10 cloud regions in terms of document count overall. Example: [us-west1, us-central1]" + } + } + } + } + }, + "host": { + "properties": { + "os": { + "properties": { + "platform": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 10 operating system platforms in terms of document count within an hour. Example: [linux, win32]" + } + } + } + } + } + } + }, + "counts": { + "properties": { + "transaction": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of transaction documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of transaction documents overall" + } + } + } + }, + "span": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of span documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of span documents overall" + } + } + } + }, + "error": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of error documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of error documents overall" + } + } + } + }, + "metric": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of metric documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of metric documents overall" + } + } + } + }, + "onboarding": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of onboarding documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of onboarding documents overall" + } + } + } + }, + "agent_configuration": { + "properties": { + "all": { + "type": "long", + "_meta": { + "description": "Total number of apm-agent-configuration documents overall" + } + } + } + }, + "global_labels": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of global labels used for creating aggregation keys for internal metrics computed from indices which received data in the last 24 hours" + } + } + } + }, + "max_transaction_groups_per_service": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of distinct transaction groups for the top service for the last 24 hours" + } + } + } + }, + "max_error_groups_per_service": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of distinct error groups for the top service for the last 24 hours" + } + } + } }, "traces": { "properties": { - "shards": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of shards for span and transaction indices" - } - } + "1d": { + "type": "long", + "_meta": { + "description": "Total number of trace documents within the last day" } }, "all": { + "type": "long", + "_meta": { + "description": "Total number of trace documents overall" + } + } + } + }, + "services": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of unique services within the last day" + } + } + } + }, + "environments": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of unique environments within the last day" + } + } + } + }, + "span_destination_service_resource": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of unique values of span.destination.service.resource within the last day" + } + } + } + } + } + }, + "cardinality": { + "properties": { + "client": { + "properties": { + "geo": { "properties": { - "total": { + "country_iso_code": { "properties": { - "docs": { + "rum": { "properties": { - "count": { + "1d": { "type": "long", "_meta": { - "description": "Total number of metric documents overall" + "description": "Unique country iso code captured for the agents js-base, rum-js and opentelemetry/webjs within the last day" } } } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric indicess in byte units overall." - } - } + } + } + } + } + } + } + }, + "user_agent": { + "properties": { + "original": { + "properties": { + "all_agents": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Unique user agent for all agents within the last day" + } + } + } + }, + "rum": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Unique user agent for rum agent within the last day" } } } @@ -9400,36 +5603,26 @@ } } }, - "shards": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of shards overall" - } - } - } - }, - "all": { + "transaction": { "properties": { - "total": { + "name": { "properties": { - "docs": { + "all_agents": { "properties": { - "count": { + "1d": { "type": "long", "_meta": { - "description": "Total number of all documents overall" + "description": "Unique transaction names for all agents within the last day" } } } }, - "store": { + "rum": { "properties": { - "size_in_bytes": { + "1d": { "type": "long", "_meta": { - "description": "Size of the index in byte units overall." + "description": "Unique transaction names for rum agent within the last day" } } } @@ -9440,485 +5633,964 @@ } } }, - "service_groups": { + "retainment": { "properties": { - "kuery_fields": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of up to 500 unique fields used to create the service groups across all spaces. Example [service.language.name, service.name] " + "span": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Represent the time difference in milliseconds between the current date and the date when the span document was recorded" + } } } }, - "total": { - "type": "long", - "_meta": { - "description": "Total number of service groups retrived from the saved object across all spaces" - } - } - } - }, - "custom_dashboards": { - "properties": { - "kuery_fields": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of up to 500 unique fields used to create the custom dashboards across all spaces. Example [service.language.name, service.name] " + "transaction": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Represent the time difference in milliseconds between the current date and the date when the transaction document was recorded" + } } } }, - "total": { - "type": "long", - "_meta": { - "description": "Total number of custom dashboards retrived from the saved object across all spaces" - } - } - } - }, - "per_service": { - "type": "array", - "items": { - "properties": { - "service_id": { - "type": "keyword", - "_meta": { - "description": "Unique identifier that combines the SHA256 hashed representation of the service name and environment" - } - }, - "num_service_nodes": { - "type": "long", - "_meta": { - "description": "Total number of the unique service instances that served the transaction within an hour" - } - }, - "num_transaction_types": { - "type": "long", - "_meta": { - "description": "Total number of the unique transaction types within an hour" - } - }, - "timed_out": { - "type": "boolean", - "_meta": { - "description": "Indicates whether the request timed out before completion" - } - }, - "cloud": { - "properties": { - "availability_zones": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 5 cloud availability zones within an hour. Example [ca-central-1a, ca-central-1b]" - } - } - }, - "regions": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 5 cloud regions within an hour. Example [ca-central-1]" - } - } - }, - "providers": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 cloud provider within an hour. Example [aws]" - } - } - } - } - }, - "faas": { - "properties": { - "trigger": { - "properties": { - "type": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 5 faas trigger types within an hour. Example [http, timer, pubsub]" - } - } - } - } - } - } - }, - "agent": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The top value of agent name for the service from transaction documents within an hour. Sorted by _score" - } - }, - "version": { - "type": "keyword", - "_meta": { - "description": "The top value of agent version for the service from transaction documents within an hour. Sorted by _score" - } - }, - "activation_method": { - "type": "keyword", - "_meta": { - "description": "The top value of agent activation method for the service from transaction documents within an hour. Sorted by _score" - } - } - } - }, - "service": { - "properties": { - "language": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The top value of language name for the service from transaction documents within an hour. Sorted by _score" - } - }, - "version": { - "type": "keyword", - "_meta": { - "description": "The top value of language version for the service from transaction documents within an hour. Sorted by _score" - } - } - } - }, - "framework": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The top value of service framework name from transaction documents within an hour. Sorted by _score. Example AWS Lambda" - } - }, - "version": { - "type": "keyword", - "_meta": { - "description": "The top value of service framework version from transaction documents within an hour. Sorted by _score" - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The top value of service runtime name from transaction documents within an hour. Sorted by _score" - } - }, - "version": { - "type": "keyword", - "_meta": { - "description": "The top value of service runtime version version from transaction documents within an hour. Sorted by _score" - } - } - } - } - } - }, - "kubernetes": { - "properties": { - "pod": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "Kuberneted pod name " - } - } - } + "error": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Represent the time difference in milliseconds between the current date and the date when the error document was recorded" } } - }, - "container": { - "properties": { - "id": { - "type": "keyword", - "_meta": { - "description": "Container id" - } + } + }, + "metric": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Represent the time difference in milliseconds between the current date and the date when the metric document was recorded" + } + } + } + }, + "onboarding": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Represent the time difference in milliseconds between the current date and the date when the onboarding document was recorded" } } } } } }, - "top_traces": { + "integrations": { "properties": { - "max": { - "type": "long", - "_meta": { - "description": "Max number of documents in top 100 traces withing the last day" - } - }, - "median": { - "type": "long", - "_meta": { - "description": "Median number of documents in top 100 traces within the last day" + "ml": { + "properties": { + "all_jobs_count": { + "type": "long", + "_meta": { + "description": "Total number of anomaly detection jobs associated with the jobs apm-*, *-high_mean_response_time" + } + } } } } }, - "tasks": { + "indices": { "properties": { - "aggregated_transactions": { + "metric": { "properties": { - "took": { + "shards": { "properties": { - "ms": { + "total": { "type": "long", "_meta": { - "description": "Execution time in milliseconds for the \"aggregated_transactions\" task" + "description": "Total number of shards for metric indices" } } } - } - } - }, - "cloud": { - "properties": { - "took": { + }, + "all": { "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"cloud\" task" + "total": { + "properties": { + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents overall" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric indicess in byte units overall." + } + } + } + } + } + } + } + }, + "metricset": { + "properties": { + "service_destination-1m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "service_destination-10m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "service_destination-60m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "transaction-1m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "host": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"host\" task" + }, + "transaction-10m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "processor_events": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"processor_events\" task" + }, + "transaction-60m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "agent_configuration": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"agent_configuration\" task" + }, + "service_summary-1m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "global_labels": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"global_labels\" task" + }, + "service_summary-10m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "services": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"services\" task" + }, + "service_summary-60m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "versions": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"versions\" task" + }, + "service_transaction-1m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "groupings": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"groupings\" task" + }, + "service_transaction-10m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "integrations": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"integrations\" task" + }, + "service_transaction-60m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "agents": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"agents\" task" + }, + "span_breakdown-1m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "indices_stats": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"indices_stats\" task" + }, + "span_breakdown-10m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "cardinality": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"cardinality\" task" + }, + "span_breakdown-60m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } - } - } - } - } - }, - "environments": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"environments\" task" + }, + "app": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } } } } } } }, - "service_groups": { + "traces": { "properties": { - "took": { + "shards": { "properties": { - "ms": { + "total": { "type": "long", "_meta": { - "description": "Execution time in milliseconds for the \"service_groups\" task" + "description": "Total number of shards for span and transaction indices" } } } - } - } - }, - "custom_dashboards": { - "properties": { - "took": { + }, + "all": { "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"custom_dashboards\" task" + "total": { + "properties": { + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents overall" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric indicess in byte units overall." + } + } + } + } } } } } } }, - "per_service": { + "shards": { "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"per_service\" task" - } - } + "total": { + "type": "long", + "_meta": { + "description": "Total number of shards overall" } } } }, - "top_traces": { + "all": { "properties": { - "took": { + "total": { "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"top_traces\" task" + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of all documents overall" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the index in byte units overall." + } + } } } } @@ -9926,736 +6598,524 @@ } } } - } - } - }, - "app_search": { - "properties": { - "ui_viewed": { - "properties": { - "setup_guide": { - "type": "long" - }, - "engines_overview": { - "type": "long" - } - } }, - "ui_error": { + "service_groups": { "properties": { - "cannot_connect": { - "type": "long" + "kuery_fields": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of up to 500 unique fields used to create the service groups across all spaces. Example [service.language.name, service.name] " + } + } }, - "not_found": { - "type": "long" + "total": { + "type": "long", + "_meta": { + "description": "Total number of service groups retrived from the saved object across all spaces" + } } } }, - "ui_clicked": { + "custom_dashboards": { "properties": { - "create_first_engine_button": { - "type": "long" + "kuery_fields": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of up to 500 unique fields used to create the custom dashboards across all spaces. Example [service.language.name, service.name] " + } + } }, - "engine_table_link": { - "type": "long" + "total": { + "type": "long", + "_meta": { + "description": "Total number of custom dashboards retrived from the saved object across all spaces" + } } } - } - } - }, - "cases": { - "properties": { - "cases": { - "properties": { - "all": { - "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "attachmentFramework": { - "properties": { - "persistableAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" + }, + "per_service": { + "type": "array", + "items": { + "properties": { + "service_id": { + "type": "keyword", + "_meta": { + "description": "Unique identifier that combines the SHA256 hashed representation of the service name and environment" + } + }, + "num_service_nodes": { + "type": "long", + "_meta": { + "description": "Total number of the unique service instances that served the transaction within an hour" + } + }, + "num_transaction_types": { + "type": "long", + "_meta": { + "description": "Total number of the unique transaction types within an hour" + } + }, + "timed_out": { + "type": "boolean", + "_meta": { + "description": "Indicates whether the request timed out before completion" + } + }, + "cloud": { + "properties": { + "availability_zones": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 5 cloud availability zones within an hour. Example [ca-central-1a, ca-central-1b]" + } + } + }, + "regions": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 5 cloud regions within an hour. Example [ca-central-1]" + } + } + }, + "providers": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 cloud provider within an hour. Example [aws]" + } + } + } + } + }, + "faas": { + "properties": { + "trigger": { + "properties": { + "type": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 5 faas trigger types within an hour. Example [http, timer, pubsub]" } } } - }, - "externalAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } + } + } + } + }, + "agent": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The top value of agent name for the service from transaction documents within an hour. Sorted by _score" + } + }, + "version": { + "type": "keyword", + "_meta": { + "description": "The top value of agent version for the service from transaction documents within an hour. Sorted by _score" + } + }, + "activation_method": { + "type": "keyword", + "_meta": { + "description": "The top value of agent activation method for the service from transaction documents within an hour. Sorted by _score" + } + } + } + }, + "service": { + "properties": { + "language": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The top value of language name for the service from transaction documents within an hour. Sorted by _score" + } + }, + "version": { + "type": "keyword", + "_meta": { + "description": "The top value of language version for the service from transaction documents within an hour. Sorted by _score" } } - }, - "files": { - "properties": { - "average": { - "type": "long" - }, - "averageSize": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "topMimeTypes": { - "type": "array", - "items": { - "properties": { - "count": { - "type": "long" - }, - "name": { - "type": "keyword" - } - } - } + } + }, + "framework": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The top value of service framework name from transaction documents within an hour. Sorted by _score. Example AWS Lambda" + } + }, + "version": { + "type": "keyword", + "_meta": { + "description": "The top value of service framework version from transaction documents within an hour. Sorted by _score" } } } - } - }, - "assignees": { - "properties": { - "total": { - "type": "long" - }, - "totalWithZero": { - "type": "long" - }, - "totalWithAtLeastOne": { - "type": "long" + }, + "runtime": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The top value of service runtime name from transaction documents within an hour. Sorted by _score" + } + }, + "version": { + "type": "keyword", + "_meta": { + "description": "The top value of service runtime version version from transaction documents within an hour. Sorted by _score" + } + } } } - }, - "status": { - "properties": { - "open": { - "type": "long" - }, - "inProgress": { - "type": "long" - }, - "closed": { - "type": "long" + } + }, + "kubernetes": { + "properties": { + "pod": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "Kuberneted pod name " + } + } } } - }, - "syncAlertsOn": { - "type": "long" - }, - "syncAlertsOff": { - "type": "long" - }, - "totalUsers": { - "type": "long" - }, - "totalParticipants": { - "type": "long" - }, - "totalTags": { - "type": "long" - }, - "totalWithAlerts": { - "type": "long" - }, - "totalWithConnectors": { - "type": "long" - }, - "latestDates": { - "properties": { - "createdAt": { - "type": "keyword" - }, - "updatedAt": { - "type": "keyword" - }, - "closedAt": { - "type": "keyword" + } + }, + "container": { + "properties": { + "id": { + "type": "keyword", + "_meta": { + "description": "Container id" } } } } + } + } + }, + "top_traces": { + "properties": { + "max": { + "type": "long", + "_meta": { + "description": "Max number of documents in top 100 traces withing the last day" + } }, - "sec": { + "median": { + "type": "long", + "_meta": { + "description": "Median number of documents in top 100 traces within the last day" + } + } + } + }, + "tasks": { + "properties": { + "aggregated_transactions": { "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "assignees": { - "properties": { - "total": { - "type": "long" - }, - "totalWithZero": { - "type": "long" - }, - "totalWithAtLeastOne": { - "type": "long" - } - } - }, - "attachmentFramework": { + "took": { "properties": { - "persistableAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "externalAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "files": { - "properties": { - "average": { - "type": "long" - }, - "averageSize": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "topMimeTypes": { - "type": "array", - "items": { - "properties": { - "count": { - "type": "long" - }, - "name": { - "type": "keyword" - } - } - } - } + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"aggregated_transactions\" task" } } } } } }, - "obs": { + "cloud": { "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "assignees": { - "properties": { - "total": { - "type": "long" - }, - "totalWithZero": { - "type": "long" - }, - "totalWithAtLeastOne": { - "type": "long" - } - } - }, - "attachmentFramework": { + "took": { "properties": { - "persistableAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "externalAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "files": { - "properties": { - "average": { - "type": "long" - }, - "averageSize": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "topMimeTypes": { - "type": "array", - "items": { - "properties": { - "count": { - "type": "long" - }, - "name": { - "type": "keyword" - } - } - } - } + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"cloud\" task" } } } } } }, - "main": { + "host": { "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "assignees": { - "properties": { - "total": { - "type": "long" - }, - "totalWithZero": { - "type": "long" - }, - "totalWithAtLeastOne": { - "type": "long" - } - } - }, - "attachmentFramework": { + "took": { "properties": { - "persistableAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "externalAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "files": { - "properties": { - "average": { - "type": "long" - }, - "averageSize": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "topMimeTypes": { - "type": "array", - "items": { - "properties": { - "count": { - "type": "long" - }, - "name": { - "type": "keyword" - } - } - } - } + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"host\" task" } } } } } - } - } - }, - "userActions": { - "properties": { - "all": { - "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "maxOnACase": { - "type": "long" + }, + "processor_events": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"processor_events\" task" + } + } + } } } - } - } - }, - "comments": { - "properties": { - "all": { + }, + "agent_configuration": { "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "maxOnACase": { - "type": "long" + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"agent_configuration\" task" + } + } + } } } - } - } - }, - "alerts": { - "properties": { - "all": { + }, + "global_labels": { "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "maxOnACase": { - "type": "long" + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"global_labels\" task" + } + } + } } } - } - } - }, - "connectors": { - "properties": { - "all": { + }, + "services": { "properties": { - "all": { + "took": { "properties": { - "totalAttached": { - "type": "long" + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"services\" task" + } } } - }, - "itsm": { + } + } + }, + "versions": { + "properties": { + "took": { "properties": { - "totalAttached": { - "type": "long" + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"versions\" task" + } } } - }, - "sir": { + } + } + }, + "groupings": { + "properties": { + "took": { "properties": { - "totalAttached": { - "type": "long" + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"groupings\" task" + } } } - }, - "jira": { + } + } + }, + "integrations": { + "properties": { + "took": { "properties": { - "totalAttached": { - "type": "long" + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"integrations\" task" + } } } - }, - "resilient": { + } + } + }, + "agents": { + "properties": { + "took": { "properties": { - "totalAttached": { - "type": "long" + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"agents\" task" + } } } - }, - "swimlane": { + } + } + }, + "indices_stats": { + "properties": { + "took": { "properties": { - "totalAttached": { - "type": "long" + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"indices_stats\" task" + } } } - }, - "maxAttachedToACase": { - "type": "long" } } - } - } - }, - "pushes": { - "properties": { - "all": { + }, + "cardinality": { "properties": { - "total": { - "type": "long" - }, - "maxOnACase": { - "type": "long" + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"cardinality\" task" + } + } + } } } - } - } - }, - "configuration": { - "properties": { - "all": { + }, + "environments": { "properties": { - "closure": { + "took": { "properties": { - "manually": { - "type": "long" - }, - "automatic": { - "type": "long" + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"environments\" task" + } } } - }, - "customFields": { + } + } + }, + "service_groups": { + "properties": { + "took": { "properties": { - "totalsByType": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - } + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"service_groups\" task" } - }, - "totals": { - "type": "long" - }, - "required": { - "type": "long" } } } } }, - "sec": { + "custom_dashboards": { "properties": { - "customFields": { + "took": { "properties": { - "totalsByType": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - } + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"custom_dashboards\" task" } - }, - "totals": { - "type": "long" - }, - "required": { - "type": "long" } } } } }, - "obs": { + "per_service": { "properties": { - "customFields": { + "took": { "properties": { - "totalsByType": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - } + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"per_service\" task" } - }, - "totals": { - "type": "long" - }, - "required": { - "type": "long" } } } } }, - "main": { + "top_traces": { "properties": { - "customFields": { + "took": { "properties": { - "totalsByType": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - } + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"top_traces\" task" } - }, - "totals": { - "type": "long" - }, - "required": { - "type": "long" } } } } } } + } + } + }, + "app_search": { + "properties": { + "ui_viewed": { + "properties": { + "setup_guide": { + "type": "long" + }, + "engines_overview": { + "type": "long" + } + } + }, + "ui_error": { + "properties": { + "cannot_connect": { + "type": "long" + }, + "not_found": { + "type": "long" + } + } }, - "casesSystemAction": { + "ui_clicked": { "properties": { - "totalCasesCreated": { + "create_first_engine_button": { "type": "long" }, - "totalRules": { + "engine_table_link": { "type": "long" } } @@ -13045,42 +9505,6 @@ } } }, - "task_manager": { - "properties": { - "task_type_exclusion": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "failed_tasks": { - "type": "long" - }, - "recurring_tasks": { - "properties": { - "actual_service_time": { - "type": "long" - }, - "adjusted_service_time": { - "type": "long" - } - } - }, - "adhoc_tasks": { - "properties": { - "actual_service_time": { - "type": "long" - }, - "adjusted_service_time": { - "type": "long" - } - } - }, - "capacity": { - "type": "long" - } - } - }, "upgrade-assistant-telemetry": { "properties": { "features": { diff --git a/packages/kbn-alerts-grouping/README.md b/x-pack/solutions/observability/packages/kbn-alerts-grouping/README.md similarity index 100% rename from packages/kbn-alerts-grouping/README.md rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/README.md diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/index.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/index.ts new file mode 100644 index 0000000000000..6222db9e04659 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { AlertsGrouping } from './src/components/alerts_grouping'; +export { + type AlertsGroupingProps, + type BaseAlertsGroupAggregations, + type AlertsGroupAggregationBucket, +} from './src/types'; +export { useAlertsGroupingState } from './src/contexts/alerts_grouping_context'; diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/jest.config.js b/x-pack/solutions/observability/packages/kbn-alerts-grouping/jest.config.js new file mode 100644 index 0000000000000..a9382beed1287 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/jest.config.js @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/observability/packages/kbn-alerts-grouping'], + setupFilesAfterEnv: [ + '/x-pack/solutions/observability/packages/kbn-alerts-grouping/setup_tests.ts', + ], +}; diff --git a/packages/kbn-alerts-grouping/kibana.jsonc b/x-pack/solutions/observability/packages/kbn-alerts-grouping/kibana.jsonc similarity index 100% rename from packages/kbn-alerts-grouping/kibana.jsonc rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/kibana.jsonc diff --git a/packages/kbn-alerts-grouping/package.json b/x-pack/solutions/observability/packages/kbn-alerts-grouping/package.json similarity index 54% rename from packages/kbn-alerts-grouping/package.json rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/package.json index bf8119586c5b5..98fb1e04343a7 100644 --- a/packages/kbn-alerts-grouping/package.json +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/package.json @@ -2,5 +2,5 @@ "name": "@kbn/alerts-grouping", "private": true, "version": "1.0.0", - "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0" + "license": "Elastic License 2.0" } \ No newline at end of file diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/setup_tests.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/setup_tests.ts new file mode 100644 index 0000000000000..72e0edd0d07f7 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/setup_tests.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +// eslint-disable-next-line import/no-extraneous-dependencies +import '@testing-library/jest-dom'; diff --git a/packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx similarity index 97% rename from packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx index 14efad8dbddc2..2424bc57005d6 100644 --- a/packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ /** diff --git a/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx similarity index 95% rename from packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx index 5ea010d442145..59381121cf75b 100644 --- a/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React, { diff --git a/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx similarity index 93% rename from packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx index b908b07caf7a1..38016319973ed 100644 --- a/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React from 'react'; diff --git a/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx similarity index 92% rename from packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx index 02fd5d33e2379..b312dbd1bee4d 100644 --- a/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { memo, ReactElement, useMemo } from 'react'; diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/constants.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/constants.ts new file mode 100644 index 0000000000000..e628343d931f0 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/constants.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const DEFAULT_PAGE_SIZE = 25; +export const DEFAULT_PAGE_INDEX = 0; +export const MAX_GROUPING_LEVELS = 3; diff --git a/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx similarity index 83% rename from packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx index d1a4609183ef6..2d8b298586b29 100644 --- a/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React, { diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/index.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/index.ts new file mode 100644 index 0000000000000..6cbed2bf0531e --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './components/alerts_grouping'; +export * from './contexts/alerts_grouping_context'; +export * from './types'; diff --git a/packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx similarity index 80% rename from packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx index 510c7c8fdb896..5d39447a689b8 100644 --- a/packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React from 'react'; diff --git a/packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts similarity index 98% rename from packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts index 486771e70a140..cf854b1d7866b 100644 --- a/packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ export const getQuery = ({ diff --git a/packages/kbn-alerts-grouping/src/types.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts similarity index 88% rename from packages/kbn-alerts-grouping/src/types.ts rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts index f1eb9ef00fee8..7e11e8bb61eee 100644 --- a/packages/kbn-alerts-grouping/src/types.ts +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import type { Filter, Query } from '@kbn/es-query'; diff --git a/packages/kbn-alerts-grouping/tsconfig.json b/x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.json similarity index 90% rename from packages/kbn-alerts-grouping/tsconfig.json rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.json index 04b795b97c890..1ba6f4a5d5522 100644 --- a/packages/kbn-alerts-grouping/tsconfig.json +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts b/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts index 64953a0dc0cdd..688903c8dc001 100644 --- a/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts +++ b/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts @@ -25,7 +25,7 @@ export const RuleActionUuid = NonEmptyString; /** * Params is an "object", since it is a type of RuleActionParams which is action templates. - * @see x-pack/plugins/alerting/common/rule.ts + * @see x-pack/platform/plugins/shared/alerting/common/rule.ts */ export type RuleActionParams = t.TypeOf; export const RuleActionParams = saved_object_attributes; diff --git a/x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.schema.yaml b/x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.schema.yaml index f3c0180c83d4d..7b139133b2a17 100644 --- a/x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.schema.yaml +++ b/x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.schema.yaml @@ -313,7 +313,7 @@ components: - delete_investigation_fields - set_investigation_fields - # Per rulesClient.bulkEdit rules actions operation contract (x-pack/plugins/alerting/server/rules_client/rules_client.ts) normalized rule action object is expected (NormalizedAlertAction) as value for the edit operation + # Per rulesClient.bulkEdit rules actions operation contract (x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.ts) normalized rule action object is expected (NormalizedAlertAction) as value for the edit operation NormalizedRuleAction: type: object properties: diff --git a/x-pack/solutions/security/plugins/security_solution/common/constants.ts b/x-pack/solutions/security/plugins/security_solution/common/constants.ts index 3339c97a61a6a..4b910004e1b3d 100644 --- a/x-pack/solutions/security/plugins/security_solution/common/constants.ts +++ b/x-pack/solutions/security/plugins/security_solution/common/constants.ts @@ -48,7 +48,7 @@ export const DEFAULT_PREVIEW_INDEX = '.preview.alerts-security.alerts' as const; export const DEFAULT_LISTS_INDEX = '.lists' as const; export const DEFAULT_ITEMS_INDEX = '.items' as const; export const DEFAULT_RISK_SCORE_PAGE_SIZE = 1000 as const; -// The DEFAULT_MAX_SIGNALS value exists also in `x-pack/plugins/cases/common/constants.ts` +// The DEFAULT_MAX_SIGNALS value exists also in `x-pack/platform/plugins/shared/cases/common/constants.ts` // If either changes, engineer should ensure both values are updated export const DEFAULT_MAX_SIGNALS = 100 as const; export const DEFAULT_SEARCH_AFTER_PAGE_SIZE = 100 as const; diff --git a/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md b/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md index 7ebf8a464df5f..fc7a72ff17f0f 100644 --- a/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md +++ b/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md @@ -381,7 +381,7 @@ The endpoints should be updated to include a custom response header, using the [ **Alert (rule objects) mapping** -No changes will be needed for the [mapping of rule saved objects](https://github.com/elastic/kibana/blob/main/x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts) (of type `alert`), since the new fields introduced will be part of the `params` field, which is a `flattened` field. +No changes will be needed for the [mapping of rule saved objects](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts) (of type `alert`), since the new fields introduced will be part of the `params` field, which is a `flattened` field. **Security Rules (prebuilt rule assets) mapping** @@ -391,7 +391,7 @@ No changes will be needed either for the `security-rule` [mapping](https://githu ### Context -Historically, migrations to Elasticsearch saved objects were carried out by a procedure in which the changes in the SO were described in a migration operation that would be carried out **during an upgrade to a specific Kibana version**. See `x-pack/plugins/alerting/server/saved_objects/migrations/index.ts` for a list of migrations of SO that take place when a user updates Kibana to a specific version. +Historically, migrations to Elasticsearch saved objects were carried out by a procedure in which the changes in the SO were described in a migration operation that would be carried out **during an upgrade to a specific Kibana version**. See `x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.ts` for a list of migrations of SO that take place when a user updates Kibana to a specific version. However, this mechanism is no longer supported by the Alerting Framework team - which maintained it -, and the new migration mechanism introduced to replace that, the [Model Version API](https://github.com/elastic/kibana/blob/main/packages/core/saved-objects/core-saved-objects-server/docs/model_versions.md), which is Serverless-compatible, doesn't support migrating encrypted saved objects. @@ -817,7 +817,7 @@ That means that updating a rule's actions should not be considered a customizati Secondly, in order to migrate the `is_customized` value for rule edits, we can follow two approaches: 1. Calculate it in the `paramsModifier` callback that is passed to the `rulesClient.bulkEdit` method. This will need to modify the parameters of the callback to take as parameter the whole rule and the operations on the attributes, in order to have access to the values of the rule's field before and after of the edit. -2. Calculate it as part of the `validateMutatedRuleTypeParams` method in `x-pack/plugins/alerting/server/lib/validate_mutated_rule_type_params.ts` where we have access to the original params and the modified params. +2. Calculate it as part of the `validateMutatedRuleTypeParams` method in `x-pack/platform/plugins/shared/alerting/server/lib/validate_mutated_rule_type_params.ts` where we have access to the original params and the modified params. ---- diff --git a/x-pack/solutions/security/plugins/security_solution/scripts/endpoint/api_emulator/emulator_plugins/sentinelone/routes/utils.ts b/x-pack/solutions/security/plugins/security_solution/scripts/endpoint/api_emulator/emulator_plugins/sentinelone/routes/utils.ts index d2b6f29376423..c4c7166c27f64 100644 --- a/x-pack/solutions/security/plugins/security_solution/scripts/endpoint/api_emulator/emulator_plugins/sentinelone/routes/utils.ts +++ b/x-pack/solutions/security/plugins/security_solution/scripts/endpoint/api_emulator/emulator_plugins/sentinelone/routes/utils.ts @@ -6,7 +6,7 @@ */ // The base API path for the API requests for sentinelone. Value is the same as the one defined here: -// `x-pack/plugins/stack_connectors/server/connector_types/sentinelone/sentinelone.ts:50` +// `x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/sentinelone.ts:50` const BASE_API_PATH = '/web/api/v2.1'; export const buildSentinelOneRoutePath = (path: string): string => { diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/README.md b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/README.md index b60033b731778..79ba6c3a88517 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/README.md +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/README.md @@ -152,8 +152,8 @@ logging.events: ``` See these two README.md's pages for more references on the alerting and actions API: -https://github.com/elastic/kibana/blob/main/x-pack/plugins/alerting/README.md -https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions +https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/alerting/README.md +https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions ### Signals API diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts index f802593c39121..1bdf7ae8e095d 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts @@ -54,7 +54,7 @@ export const legacyRuleActionsSavedObjectMigration = { // Future developer, we needed to do that because when we created this migration // we forget to think about user already using 7.11.0 and having an incident attribute build the right way // IMPORTANT -> if you change this code please do the same inside of this file - // x-pack/plugins/alerting/server/saved_objects/migrations.ts + // x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations.ts const subActionParamsIncident = (action.params?.subActionParams as SavedObjectAttributes)?.incident ?? null; if (subActionParamsIncident != null && !isEmptyObject(subActionParamsIncident)) { diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/create_rule_execution_summary.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/create_rule_execution_summary.ts index f72b110a844b3..486d2bffccc6b 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/create_rule_execution_summary.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/create_rule_execution_summary.ts @@ -23,7 +23,7 @@ export const createRuleExecutionSummary = ( // In the rule type the monitoring object is optional because in some cases rules client returns a rule without it. // For instance, when we call RulesClient.create(). Despite the fact that it's always in the rule saved object, // even when it was just created: - // https://github.com/elastic/kibana/blob/26eddec70844ffb65e5d3521a7adb52e643c4534/x-pack/plugins/alerting/server/rules_client/methods/create.ts#L155 + // https://github.com/elastic/kibana/blob/26eddec70844ffb65e5d3521a7adb52e643c4534/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/create.ts#L155 return null; } diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/scripts/get_action_instances.sh b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/scripts/get_action_instances.sh index 90c7529c29802..e29d041aadc92 100755 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/scripts/get_action_instances.sh +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/scripts/get_action_instances.sh @@ -11,7 +11,7 @@ set -e ./check_env_variables.sh # Example: ./get_action_instances.sh -# https://github.com/elastic/kibana/blob/main/x-pack/plugins/actions/README.md#get-apiaction_find-find-actions +# https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/actions/README.md#get-apiaction_find-find-actions curl -s -k \ -u ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD} \ -X GET ${KIBANA_URL}${SPACE_URL}/api/actions \ diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/scripts/get_action_types.sh b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/scripts/get_action_types.sh index 3b7006e02a52d..00638e6eea8a9 100755 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/scripts/get_action_types.sh +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/scripts/get_action_types.sh @@ -11,7 +11,7 @@ set -e ./check_env_variables.sh # Example: ./get_action_types.sh -# https://github.com/elastic/kibana/blob/main/x-pack/plugins/actions/README.md +# https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/actions/README.md curl -s -k \ -u ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD} \ -X GET ${KIBANA_URL}${SPACE_URL}/api/actions/connector_types \ diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/entity_analytics/utils/create_datastream.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/entity_analytics/utils/create_datastream.ts index 8c97e69e0555a..5d2d71219021e 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/entity_analytics/utils/create_datastream.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/entity_analytics/utils/create_datastream.ts @@ -5,7 +5,7 @@ * 2.0. */ -// This file is a copy of x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.ts +// This file is a copy of x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.ts // The original function created an index, while here we create a datastream. If and when responseOps develops first-party code to work with datastreams (https://github.com/elastic/kibana/issues/140403), this file should be removed. import { get } from 'lodash'; diff --git a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group4/generate_alert_schemas.ts b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group4/generate_alert_schemas.ts index 66c458d64d578..14992ba879587 100644 --- a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group4/generate_alert_schemas.ts +++ b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group4/generate_alert_schemas.ts @@ -30,7 +30,7 @@ export default function checkAlertSchemasTest({ getService }: FtrProviderContext // node scripts/functional_tests_server.js --config x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group4/config.ts // node scripts/functional_test_runner --config=x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group4/config.ts --grep "check alert schemas" // - // and commit the changed schema files in packages/kbn-alerts-as-data-utils/src/schemas/generated/ + // and commit the changed schema files in src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ describe('check alert schemas', function () { this.tags('skipFIPS'); @@ -92,7 +92,9 @@ export default function checkAlertSchemasTest({ getService }: FtrProviderContext '--exclude-standard', ]); - expect(stdout).not.to.contain('packages/kbn-alerts-as-data-utils/src/schemas/generated'); + expect(stdout).not.to.contain( + 'src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated' + ); }); }); } diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/bulk_create_cases.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/bulk_create_cases.ts index c07d858e4b389..c7b4d9c077045 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/bulk_create_cases.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/bulk_create_cases.ts @@ -41,7 +41,7 @@ export default ({ getService }: FtrProviderContext): void => { * There is no official route that supports * bulk creating cases. The purpose of this test * is to test the bulkCreate method of the cases client in - * x-pack/plugins/cases/server/client/cases/bulk_create.ts + * x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.ts * * The test route is configured here x-pack/test/cases_api_integration/common/plugins/cases/server/routes.ts */ diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/package.json b/x-pack/test/functional_with_es_ssl/plugins/cases/package.json index a1d3218cb2528..8ff9bfc80865d 100644 --- a/x-pack/test/functional_with_es_ssl/plugins/cases/package.json +++ b/x-pack/test/functional_with_es_ssl/plugins/cases/package.json @@ -5,7 +5,7 @@ "kibana": { "version": "kibana" }, - "main": "target/test/functional_with_es_ssl/plugins/cases", + "main": "target/test/functional_with_es_ssl/platform/plugins/shared/cases", "scripts": { "kbn": "node ../../../../../../scripts/kbn.js", "build": "rm -rf './target' && ../../../../../../node_modules/.bin/tsc" diff --git a/x-pack/test/plugin_api_integration/plugins/event_log/package.json b/x-pack/test/plugin_api_integration/plugins/event_log/package.json index 1e4928a013472..e18ec0c829969 100644 --- a/x-pack/test/plugin_api_integration/plugins/event_log/package.json +++ b/x-pack/test/plugin_api_integration/plugins/event_log/package.json @@ -5,7 +5,7 @@ "kibana": { "version": "kibana" }, - "main": "target/test/plugin_api_integration/plugins/event_log", + "main": "target/test/plugin_api_integration/platform/plugins/shared/event_log", "scripts": { "kbn": "node ../../../../../scripts/kbn.js", "build": "rm -rf './target' && ../../../../../node_modules/.bin/tsc" diff --git a/yarn.lock b/yarn.lock index 3562f6d4fa87c..6c94fbe5ba349 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3829,7 +3829,7 @@ version "0.0.0" uid "" -"@kbn/actions-plugin@link:x-pack/plugins/actions": +"@kbn/actions-plugin@link:x-pack/platform/plugins/shared/actions": version "0.0.0" uid "" @@ -3837,7 +3837,7 @@ version "0.0.0" uid "" -"@kbn/actions-types@link:packages/kbn-actions-types": +"@kbn/actions-types@link:src/platform/packages/shared/kbn-actions-types": version "0.0.0" uid "" @@ -3897,7 +3897,7 @@ version "0.0.0" uid "" -"@kbn/alerting-comparators@link:x-pack/packages/kbn-alerting-comparators": +"@kbn/alerting-comparators@link:x-pack/platform/packages/shared/kbn-alerting-comparators": version "0.0.0" uid "" @@ -3909,23 +3909,23 @@ version "0.0.0" uid "" -"@kbn/alerting-plugin@link:x-pack/plugins/alerting": +"@kbn/alerting-plugin@link:x-pack/platform/plugins/shared/alerting": version "0.0.0" uid "" -"@kbn/alerting-state-types@link:x-pack/packages/kbn-alerting-state-types": +"@kbn/alerting-state-types@link:x-pack/platform/packages/private/kbn-alerting-state-types": version "0.0.0" uid "" -"@kbn/alerting-types@link:packages/kbn-alerting-types": +"@kbn/alerting-types@link:src/platform/packages/shared/kbn-alerting-types": version "0.0.0" uid "" -"@kbn/alerts-as-data-utils@link:packages/kbn-alerts-as-data-utils": +"@kbn/alerts-as-data-utils@link:src/platform/packages/shared/kbn-alerts-as-data-utils": version "0.0.0" uid "" -"@kbn/alerts-grouping@link:packages/kbn-alerts-grouping": +"@kbn/alerts-grouping@link:x-pack/solutions/observability/packages/kbn-alerts-grouping": version "0.0.0" uid "" @@ -3933,7 +3933,7 @@ version "0.0.0" uid "" -"@kbn/alerts-ui-shared@link:packages/kbn-alerts-ui-shared": +"@kbn/alerts-ui-shared@link:src/platform/packages/shared/kbn-alerts-ui-shared": version "0.0.0" uid "" @@ -4069,11 +4069,11 @@ version "0.0.0" uid "" -"@kbn/cases-components@link:packages/kbn-cases-components": +"@kbn/cases-components@link:src/platform/packages/shared/kbn-cases-components": version "0.0.0" uid "" -"@kbn/cases-plugin@link:x-pack/plugins/cases": +"@kbn/cases-plugin@link:x-pack/platform/plugins/shared/cases": version "0.0.0" uid "" @@ -5597,7 +5597,7 @@ version "0.0.0" uid "" -"@kbn/event-log-plugin@link:x-pack/plugins/event_log": +"@kbn/event-log-plugin@link:x-pack/platform/plugins/shared/event_log": version "0.0.0" uid "" @@ -5837,7 +5837,7 @@ version "0.0.0" uid "" -"@kbn/grouping@link:packages/kbn-grouping": +"@kbn/grouping@link:src/platform/packages/shared/kbn-grouping": version "0.0.0" uid "" @@ -6813,7 +6813,7 @@ version "0.0.0" uid "" -"@kbn/response-ops-rule-params@link:packages/response-ops/rule_params": +"@kbn/response-ops-rule-params@link:src/platform/packages/private/response-ops/rule_params": version "0.0.0" uid "" @@ -6845,7 +6845,7 @@ version "0.0.0" uid "" -"@kbn/rrule@link:packages/kbn-rrule": +"@kbn/rrule@link:src/platform/packages/shared/kbn-rrule": version "0.0.0" uid "" @@ -6853,7 +6853,7 @@ version "0.0.0" uid "" -"@kbn/rule-registry-plugin@link:x-pack/plugins/rule_registry": +"@kbn/rule-registry-plugin@link:x-pack/platform/plugins/shared/rule_registry": version "0.0.0" uid "" @@ -7533,11 +7533,11 @@ version "0.0.0" uid "" -"@kbn/stack-alerts-plugin@link:x-pack/plugins/stack_alerts": +"@kbn/stack-alerts-plugin@link:x-pack/platform/plugins/shared/stack_alerts": version "0.0.0" uid "" -"@kbn/stack-connectors-plugin@link:x-pack/plugins/stack_connectors": +"@kbn/stack-connectors-plugin@link:x-pack/platform/plugins/shared/stack_connectors": version "0.0.0" uid "" @@ -7601,7 +7601,7 @@ version "0.0.0" uid "" -"@kbn/task-manager-plugin@link:x-pack/plugins/task_manager": +"@kbn/task-manager-plugin@link:x-pack/platform/plugins/shared/task_manager": version "0.0.0" uid "" @@ -7717,11 +7717,11 @@ version "0.0.0" uid "" -"@kbn/triggers-actions-ui-plugin@link:x-pack/plugins/triggers_actions_ui": +"@kbn/triggers-actions-ui-plugin@link:x-pack/platform/plugins/shared/triggers_actions_ui": version "0.0.0" uid "" -"@kbn/triggers-actions-ui-types@link:packages/kbn-triggers-actions-ui-types": +"@kbn/triggers-actions-ui-types@link:src/platform/packages/shared/kbn-triggers-actions-ui-types": version "0.0.0" uid ""