mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
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` | <details open> <summary>Script errors</summary> ``` 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 ``` </details><details > <summary>Updated relative paths</summary> ``` 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 ``` </details> --------- Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
eef1bda227
commit
49df29609e
6159 changed files with 4416 additions and 4481 deletions
|
@ -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/,
|
||||
|
|
|
@ -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.'
|
||||
|
|
18
.eslintrc.js
18
.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 }],
|
||||
},
|
||||
|
|
88
.github/CODEOWNERS
vendored
88
.github/CODEOWNERS
vendored
|
@ -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
|
||||
|
|
4
.github/codeql/codeql-config.yml
vendored
4
.github/codeql/codeql-config.yml
vendored
|
@ -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
|
||||
|
|
10
.i18nrc.json
10
.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",
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -428,7 +428,7 @@ This connector was renamed. Refer to <<openai-action-type>>.
|
|||
== 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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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'
|
||||
- $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'
|
|
@ -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`,
|
||||
|
|
42
package.json
42
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",
|
||||
|
|
|
@ -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';
|
|
@ -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;
|
|
@ -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';
|
|
@ -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: ['<rootDir>/packages/kbn-alerts-ui-shared'],
|
||||
setupFilesAfterEnv: ['<rootDir>/packages/kbn-alerts-ui-shared/setup_tests.ts'],
|
||||
};
|
|
@ -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: ['<rootDir>/packages/kbn-cases-components'],
|
||||
setupFilesAfterEnv: ['<rootDir>/packages/kbn-cases-components/setup_tests.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', () => {
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
|
@ -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<string, string> = {
|
||||
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];
|
||||
const allPaths = Array.from(getPkgDirMap(REPO_ROOT).values())
|
||||
.map((module) => module.directory.replace(REPO_ROOT, ''))
|
||||
.sort((a, b) => b.length - a.length);
|
||||
|
||||
if (topDirectory) {
|
||||
acc.add(topDirectory);
|
||||
}
|
||||
|
||||
return acc;
|
||||
}, new Set<string>())
|
||||
);
|
||||
|
||||
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;
|
||||
}, '')
|
||||
);
|
||||
|
||||
return appName === 'observability' ? 'o11y' : appName;
|
||||
const moduleDir = allPaths.find((path) => relativePathToFile.startsWith(path)) ?? '';
|
||||
const moduleBasename = camelCase(basename(moduleDir));
|
||||
return APP_ALIASES[moduleBasename] ?? moduleBasename;
|
||||
}
|
||||
|
|
|
@ -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: ['<rootDir>/packages/kbn-grouping'],
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: [
|
||||
'<rootDir>/packages/kbn-grouping/**/*.{ts,tsx}',
|
||||
'!<rootDir>/packages/kbn-grouping/**/*.test',
|
||||
'!<rootDir>/packages/kbn-grouping/**/types/*',
|
||||
'!<rootDir>/packages/kbn-grouping/**/*.type',
|
||||
'!<rootDir>/packages/kbn-grouping/**/*.styles',
|
||||
'!<rootDir>/packages/kbn-grouping/**/mocks/*',
|
||||
'!<rootDir>/packages/kbn-grouping/**/*.config',
|
||||
'!<rootDir>/packages/kbn-grouping/**/translations',
|
||||
'!<rootDir>/packages/kbn-grouping/**/types/*',
|
||||
],
|
||||
setupFilesAfterEnv: ['<rootDir>/packages/kbn-grouping/setup_tests.ts'],
|
||||
};
|
|
@ -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';
|
|
@ -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',
|
||||
|
|
|
@ -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: ['<rootDir>/packages/kbn-triggers-actions-ui-types'],
|
||||
};
|
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test/jest_node',
|
||||
rootDir: '../../..',
|
||||
roots: ['<rootDir>/packages/response-ops/rule_params'],
|
||||
rootDir: '../../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/private/response-ops/rule_params'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"extends": "../../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -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`
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-alerts-as-data-utils'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/shared/kbn-actions-types'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-alerting-types'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/shared/kbn-alerting-types'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-rrule'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/shared/kbn-alerts-as-data-utils'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue