From 61188a4c60c96aa24e8003065f0582114dab4cc3 Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Sat, 26 Apr 2025 10:50:14 -0700 Subject: [PATCH 1/3] Removed switchToModelVersionAt from SO API definition (#219029) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Part of https://github.com/elastic/kibana/issues/201807 **Strategy**: This PR assumes that `switchToModelVersionAt` has done it’s job and all SO type owners now use `modelVersions` instead of `migrations`. It takes the approach of trusting that this is fine™ **Changes in this PR:** - `switchToModelVersionAt` removed from all registered saved objects, so their mapping hash had to be updated. - Implements `globalSwitchToModelVersionAt` directly in `version_map` - Updates logic to prioritize `modelVersions` over `migrations` in `getLatestMappingsModelVersion`, that previously relied on `switchToModelVersionAt` being set - Updates unit tests to match the refactored logic - Updates snapshots - Adapts SO types registered in the **cases**, **SLO** and **encrypted saved objects** plugins. - Updates docs **Risks**: - Plugin developers disregard the deprecated status of `migrations` and introduce new versions, which will not be BWC. Saved object type hash changes will notify the core team for a code owner review. The core team needs to investigate the related changes and provide feedback. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: Elastic Machine Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- dev_docs/tutorials/saved_objects.mdx | 1 - docs/extend/saved-objects-service.md | 11 - packages/kbn-repo-packages/package-map.json | 2754 +++++++++++++++++ .../lib/apis/helpers/validation_fixtures.ts | 3 - .../src/model_version/version_map.test.ts | 34 +- .../src/model_version/version_map.ts | 14 +- .../document_migrator.test.ts | 2 - .../validate_migration.test.ts | 87 +- .../document_migrator/validate_migrations.ts | 29 +- .../src/initial_state.test.ts | 2 - .../zdt/utils/build_index_mappings.test.ts | 3 - .../generate_additive_mapping_diff.test.ts | 1 - .../utils/outdated_documents_query.test.ts | 3 - .../src/apply_type_defaults.test.ts | 62 - .../src/apply_type_defaults.ts | 38 - .../src/saved_objects_service.test.mocks.ts | 9 - .../src/saved_objects_service.test.ts | 39 +- .../src/saved_objects_service.ts | 3 +- .../server/docs/model_versions.md | 10 - .../server/src/saved_objects_type.ts | 54 - .../src/extract_migration_info.test.ts | 12 - .../src/extract_migration_info.ts | 1 - .../check_registered_types.test.ts | 254 +- .../migrations/fixtures/zdt_base.fixtures.ts | 6 - .../migrations/group4/v2_md5_to_mv.test.ts | 3 - .../v2_with_mv_same_stack_version.test.ts | 1 - .../v2_with_mv_stack_version_bump.test.ts | 2 - .../kibana_migrator_test_kit.fixtures.ts | 1 - .../migrations/zdt_1/basic_downgrade.test.ts | 2 - .../zdt_2/outdated_doc_query.test.ts | 1 - .../zdt_2/sor_higher_version_docs.test.ts | 1 - .../zdt_2/v2_to_zdt_partial_failure.test.ts | 2 - .../switch_to_model_version.test.ts | 1 - .../service/lib/bulk_update.test.ts | 3 - .../saved_objects/service/lib/update.test.ts | 2 - .../src/model_version_tester.ts | 6 +- .../server/saved_object_types/cases/cases.ts | 1 - .../plugins/slo/server/saved_objects/slo.ts | 1 - .../api_consumer_plugin/server/index.ts | 1 - 39 files changed, 2933 insertions(+), 527 deletions(-) create mode 100644 packages/kbn-repo-packages/package-map.json delete mode 100644 src/core/packages/saved-objects/server-internal/src/apply_type_defaults.test.ts delete mode 100644 src/core/packages/saved-objects/server-internal/src/apply_type_defaults.ts diff --git a/dev_docs/tutorials/saved_objects.mdx b/dev_docs/tutorials/saved_objects.mdx index 71b99e2ae5e7e..53ebdb0caa7ef 100644 --- a/dev_docs/tutorials/saved_objects.mdx +++ b/dev_docs/tutorials/saved_objects.mdx @@ -19,7 +19,6 @@ import { SavedObjectsType } from 'src/core/server'; export const dashboardVisualization: SavedObjectsType = { name: 'dashboard_visualization', [1] hidden: true, [3] - switchToModelVersionAt: '8.10.0', // this is the default, feel free to omit it unless you intend to switch to using model versions before 8.10.0 namespaceType: 'multiple-isolated', [2] mappings: { dynamic: false, diff --git a/docs/extend/saved-objects-service.md b/docs/extend/saved-objects-service.md index d883aafc2a0b5..b757a126d9e2d 100644 --- a/docs/extend/saved-objects-service.md +++ b/docs/extend/saved-objects-service.md @@ -38,7 +38,6 @@ export const dashboardVisualization: SavedObjectsType = { name: 'dashboard_visualization', <1> hidden: true, namespaceType: 'multiple-isolated', <2> - switchToModelVersionAt: '8.10.0', modelVersions: { 1: modelVersion1, 2: modelVersion2, @@ -165,7 +164,6 @@ That way: - SO type versions are decoupled from stack versioning - SO type versi ```ts const myType: SavedObjectsType = { name: 'test', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: modelVersion1, // valid: start with version 1 2: modelVersion2, // valid: no gap between versions @@ -179,7 +177,6 @@ const myType: SavedObjectsType = { ```ts const myType: SavedObjectsType = { name: 'test', - switchToModelVersionAt: '8.10.0', modelVersions: { 2: modelVersion2, // invalid: first version must be 1 4: modelVersion3, // invalid: skipped version 3 @@ -198,7 +195,6 @@ const myType: SavedObjectsType = { ```ts const myType: SavedObjectsType = { name: 'test', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: { changes: [ @@ -429,7 +425,6 @@ The definition of the type at version 1 would look like: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { // initial (and current) model version 1: { @@ -486,7 +481,6 @@ The full type definition after the addition of the new model version: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: { changes: [], @@ -575,7 +569,6 @@ the full type definition after the addition of the model version 2 would be: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: { changes: [ @@ -671,7 +664,6 @@ The full type definition would look like: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: { changes: [ @@ -742,7 +734,6 @@ The definition of the type at version 1 would look like: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { // initial (and current) model version 1: { @@ -807,7 +798,6 @@ The full type definition after the addition of the new model version: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { // initial (and current) model version 1: { @@ -875,7 +865,6 @@ The full type definition after the data removal would look like: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { // initial (and current) model version 1: { diff --git a/packages/kbn-repo-packages/package-map.json b/packages/kbn-repo-packages/package-map.json new file mode 100644 index 0000000000000..ac0c7370fd767 --- /dev/null +++ b/packages/kbn-repo-packages/package-map.json @@ -0,0 +1,2754 @@ +[ + [ + "@kbn/aad-fixtures-plugin", + "x-pack/test/alerting_api_integration/common/plugins/aad" + ], + [ + "@kbn/ace", + "packages/kbn-ace" + ], + [ + "@kbn/actions-plugin", + "x-pack/plugins/actions" + ], + [ + "@kbn/actions-simulators-plugin", + "x-pack/test/alerting_api_integration/common/plugins/actions_simulators" + ], + [ + "@kbn/advanced-settings-plugin", + "src/plugins/advanced_settings" + ], + [ + "@kbn/aiops-components", + "x-pack/packages/ml/aiops_components" + ], + [ + "@kbn/aiops-plugin", + "x-pack/plugins/aiops" + ], + [ + "@kbn/aiops-utils", + "x-pack/packages/ml/aiops_utils" + ], + [ + "@kbn/alerting-api-integration-helpers", + "x-pack/test/alerting_api_integration/packages/helpers" + ], + [ + "@kbn/alerting-api-integration-test-plugin", + "x-pack/test/alerting_api_integration/common/plugins/alerts" + ], + [ + "@kbn/alerting-example-plugin", + "x-pack/examples/alerting_example" + ], + [ + "@kbn/alerting-fixture-plugin", + "x-pack/test/functional_with_es_ssl/plugins/alerts" + ], + [ + "@kbn/alerting-plugin", + "x-pack/plugins/alerting" + ], + [ + "@kbn/alerts", + "packages/kbn-alerts" + ], + [ + "@kbn/alerts-as-data-utils", + "packages/kbn-alerts-as-data-utils" + ], + [ + "@kbn/alerts-restricted-fixtures-plugin", + "x-pack/test/alerting_api_integration/common/plugins/alerts_restricted" + ], + [ + "@kbn/alerts-ui-shared", + "packages/kbn-alerts-ui-shared" + ], + [ + "@kbn/ambient-common-types", + "packages/kbn-ambient-common-types" + ], + [ + "@kbn/ambient-ftr-types", + "packages/kbn-ambient-ftr-types" + ], + [ + "@kbn/ambient-storybook-types", + "packages/kbn-ambient-storybook-types" + ], + [ + "@kbn/ambient-ui-types", + "packages/kbn-ambient-ui-types" + ], + [ + "@kbn/analytics", + "packages/kbn-analytics" + ], + [ + "@kbn/analytics-client", + "packages/analytics/client" + ], + [ + "@kbn/analytics-ftr-helpers-plugin", + "test/analytics/plugins/analytics_ftr_helpers" + ], + [ + "@kbn/analytics-plugin-a-plugin", + "test/analytics/plugins/analytics_plugin_a" + ], + [ + "@kbn/analytics-shippers-elastic-v3-browser", + "packages/analytics/shippers/elastic_v3/browser" + ], + [ + "@kbn/analytics-shippers-elastic-v3-common", + "packages/analytics/shippers/elastic_v3/common" + ], + [ + "@kbn/analytics-shippers-elastic-v3-server", + "packages/analytics/shippers/elastic_v3/server" + ], + [ + "@kbn/analytics-shippers-fullstory", + "packages/analytics/shippers/fullstory" + ], + [ + "@kbn/analytics-shippers-gainsight", + "packages/analytics/shippers/gainsight" + ], + [ + "@kbn/apm-config-loader", + "packages/kbn-apm-config-loader" + ], + [ + "@kbn/apm-plugin", + "x-pack/plugins/apm" + ], + [ + "@kbn/apm-synthtrace", + "packages/kbn-apm-synthtrace" + ], + [ + "@kbn/apm-synthtrace-client", + "packages/kbn-apm-synthtrace-client" + ], + [ + "@kbn/apm-utils", + "packages/kbn-apm-utils" + ], + [ + "@kbn/app-link-test-plugin", + "test/plugin_functional/plugins/app_link_test" + ], + [ + "@kbn/application-usage-test-plugin", + "x-pack/test/usage_collection/plugins/application_usage_test" + ], + [ + "@kbn/audit-log-plugin", + "x-pack/test/security_api_integration/plugins/audit_log" + ], + [ + "@kbn/axe-config", + "packages/kbn-axe-config" + ], + [ + "@kbn/babel-preset", + "packages/kbn-babel-preset" + ], + [ + "@kbn/babel-register", + "packages/kbn-babel-register" + ], + [ + "@kbn/babel-transform", + "packages/kbn-babel-transform" + ], + [ + "@kbn/banners-plugin", + "x-pack/plugins/banners" + ], + [ + "@kbn/bazel-runner", + "packages/kbn-bazel-runner" + ], + [ + "@kbn/bfetch-explorer-plugin", + "examples/bfetch_explorer" + ], + [ + "@kbn/bfetch-plugin", + "src/plugins/bfetch" + ], + [ + "@kbn/canvas-plugin", + "x-pack/plugins/canvas" + ], + [ + "@kbn/cases-api-integration-test-plugin", + "x-pack/test/cases_api_integration/common/plugins/cases" + ], + [ + "@kbn/cases-components", + "packages/kbn-cases-components" + ], + [ + "@kbn/cases-plugin", + "x-pack/plugins/cases" + ], + [ + "@kbn/cell-actions", + "packages/kbn-cell-actions" + ], + [ + "@kbn/chart-expressions-common", + "src/plugins/chart_expressions/common" + ], + [ + "@kbn/chart-icons", + "packages/kbn-chart-icons" + ], + [ + "@kbn/charts-plugin", + "src/plugins/charts" + ], + [ + "@kbn/ci-stats-core", + "packages/kbn-ci-stats-core" + ], + [ + "@kbn/ci-stats-performance-metrics", + "packages/kbn-ci-stats-performance-metrics" + ], + [ + "@kbn/ci-stats-reporter", + "packages/kbn-ci-stats-reporter" + ], + [ + "@kbn/ci-stats-shipper-cli", + "packages/kbn-ci-stats-shipper-cli" + ], + [ + "@kbn/cli-dev-mode", + "packages/kbn-cli-dev-mode" + ], + [ + "@kbn/cloud-chat-plugin", + "x-pack/plugins/cloud_integrations/cloud_chat" + ], + [ + "@kbn/cloud-data-migration-plugin", + "x-pack/plugins/cloud_integrations/cloud_data_migration" + ], + [ + "@kbn/cloud-defend-plugin", + "x-pack/plugins/cloud_defend" + ], + [ + "@kbn/cloud-experiments-plugin", + "x-pack/plugins/cloud_integrations/cloud_experiments" + ], + [ + "@kbn/cloud-full-story-plugin", + "x-pack/plugins/cloud_integrations/cloud_full_story" + ], + [ + "@kbn/cloud-gainsight-plugin", + "x-pack/plugins/cloud_integrations/cloud_gain_sight" + ], + [ + "@kbn/cloud-integration-saml-provider-plugin", + "x-pack/test/cloud_integration/plugins/saml_provider" + ], + [ + "@kbn/cloud-links-plugin", + "x-pack/plugins/cloud_integrations/cloud_links" + ], + [ + "@kbn/cloud-plugin", + "x-pack/plugins/cloud" + ], + [ + "@kbn/cloud-security-posture-plugin", + "x-pack/plugins/cloud_security_posture" + ], + [ + "@kbn/code-editor", + "packages/shared-ux/code_editor/impl" + ], + [ + "@kbn/code-editor-mocks", + "packages/shared-ux/code_editor/mocks" + ], + [ + "@kbn/code-editor-types", + "packages/shared-ux/code_editor/types" + ], + [ + "@kbn/coloring", + "packages/kbn-coloring" + ], + [ + "@kbn/config", + "packages/kbn-config" + ], + [ + "@kbn/config-mocks", + "packages/kbn-config-mocks" + ], + [ + "@kbn/config-schema", + "packages/kbn-config-schema" + ], + [ + "@kbn/console-plugin", + "src/plugins/console" + ], + [ + "@kbn/content-management-content-editor", + "packages/content-management/content_editor" + ], + [ + "@kbn/content-management-examples-plugin", + "examples/content_management_examples" + ], + [ + "@kbn/content-management-plugin", + "src/plugins/content_management" + ], + [ + "@kbn/content-management-table-list", + "packages/content-management/table_list" + ], + [ + "@kbn/controls-example-plugin", + "examples/controls_example" + ], + [ + "@kbn/controls-plugin", + "src/plugins/controls" + ], + [ + "@kbn/core", + "src/core" + ], + [ + "@kbn/core-analytics-browser", + "packages/core/analytics/core-analytics-browser" + ], + [ + "@kbn/core-analytics-browser-internal", + "packages/core/analytics/core-analytics-browser-internal" + ], + [ + "@kbn/core-analytics-browser-mocks", + "packages/core/analytics/core-analytics-browser-mocks" + ], + [ + "@kbn/core-analytics-server", + "packages/core/analytics/core-analytics-server" + ], + [ + "@kbn/core-analytics-server-internal", + "packages/core/analytics/core-analytics-server-internal" + ], + [ + "@kbn/core-analytics-server-mocks", + "packages/core/analytics/core-analytics-server-mocks" + ], + [ + "@kbn/core-app-status-plugin", + "test/plugin_functional/plugins/core_app_status" + ], + [ + "@kbn/core-application-browser", + "packages/core/application/core-application-browser" + ], + [ + "@kbn/core-application-browser-internal", + "packages/core/application/core-application-browser-internal" + ], + [ + "@kbn/core-application-browser-mocks", + "packages/core/application/core-application-browser-mocks" + ], + [ + "@kbn/core-application-common", + "packages/core/application/core-application-common" + ], + [ + "@kbn/core-apps-browser-internal", + "packages/core/apps/core-apps-browser-internal" + ], + [ + "@kbn/core-apps-browser-mocks", + "packages/core/apps/core-apps-browser-mocks" + ], + [ + "@kbn/core-apps-server-internal", + "packages/core/apps/core-apps-server-internal" + ], + [ + "@kbn/core-base-browser-internal", + "packages/core/base/core-base-browser-internal" + ], + [ + "@kbn/core-base-browser-mocks", + "packages/core/base/core-base-browser-mocks" + ], + [ + "@kbn/core-base-common", + "packages/core/base/core-base-common" + ], + [ + "@kbn/core-base-common-internal", + "packages/core/base/core-base-common-internal" + ], + [ + "@kbn/core-base-server-internal", + "packages/core/base/core-base-server-internal" + ], + [ + "@kbn/core-base-server-mocks", + "packages/core/base/core-base-server-mocks" + ], + [ + "@kbn/core-capabilities-browser-internal", + "packages/core/capabilities/core-capabilities-browser-internal" + ], + [ + "@kbn/core-capabilities-browser-mocks", + "packages/core/capabilities/core-capabilities-browser-mocks" + ], + [ + "@kbn/core-capabilities-common", + "packages/core/capabilities/core-capabilities-common" + ], + [ + "@kbn/core-capabilities-server", + "packages/core/capabilities/core-capabilities-server" + ], + [ + "@kbn/core-capabilities-server-internal", + "packages/core/capabilities/core-capabilities-server-internal" + ], + [ + "@kbn/core-capabilities-server-mocks", + "packages/core/capabilities/core-capabilities-server-mocks" + ], + [ + "@kbn/core-chrome-browser", + "packages/core/chrome/core-chrome-browser" + ], + [ + "@kbn/core-chrome-browser-internal", + "packages/core/chrome/core-chrome-browser-internal" + ], + [ + "@kbn/core-chrome-browser-mocks", + "packages/core/chrome/core-chrome-browser-mocks" + ], + [ + "@kbn/core-config-server-internal", + "packages/core/config/core-config-server-internal" + ], + [ + "@kbn/core-custom-branding-browser", + "packages/core/custom-branding/core-custom-branding-browser" + ], + [ + "@kbn/core-custom-branding-browser-internal", + "packages/core/custom-branding/core-custom-branding-browser-internal" + ], + [ + "@kbn/core-custom-branding-browser-mocks", + "packages/core/custom-branding/core-custom-branding-browser-mocks" + ], + [ + "@kbn/core-custom-branding-common", + "packages/core/custom-branding/core-custom-branding-common" + ], + [ + "@kbn/core-custom-branding-server", + "packages/core/custom-branding/core-custom-branding-server" + ], + [ + "@kbn/core-custom-branding-server-internal", + "packages/core/custom-branding/core-custom-branding-server-internal" + ], + [ + "@kbn/core-custom-branding-server-mocks", + "packages/core/custom-branding/core-custom-branding-server-mocks" + ], + [ + "@kbn/core-deprecations-browser", + "packages/core/deprecations/core-deprecations-browser" + ], + [ + "@kbn/core-deprecations-browser-internal", + "packages/core/deprecations/core-deprecations-browser-internal" + ], + [ + "@kbn/core-deprecations-browser-mocks", + "packages/core/deprecations/core-deprecations-browser-mocks" + ], + [ + "@kbn/core-deprecations-common", + "packages/core/deprecations/core-deprecations-common" + ], + [ + "@kbn/core-deprecations-server", + "packages/core/deprecations/core-deprecations-server" + ], + [ + "@kbn/core-deprecations-server-internal", + "packages/core/deprecations/core-deprecations-server-internal" + ], + [ + "@kbn/core-deprecations-server-mocks", + "packages/core/deprecations/core-deprecations-server-mocks" + ], + [ + "@kbn/core-doc-links-browser", + "packages/core/doc-links/core-doc-links-browser" + ], + [ + "@kbn/core-doc-links-browser-internal", + "packages/core/doc-links/core-doc-links-browser-internal" + ], + [ + "@kbn/core-doc-links-browser-mocks", + "packages/core/doc-links/core-doc-links-browser-mocks" + ], + [ + "@kbn/core-doc-links-server", + "packages/core/doc-links/core-doc-links-server" + ], + [ + "@kbn/core-doc-links-server-internal", + "packages/core/doc-links/core-doc-links-server-internal" + ], + [ + "@kbn/core-doc-links-server-mocks", + "packages/core/doc-links/core-doc-links-server-mocks" + ], + [ + "@kbn/core-elasticsearch-client-server-internal", + "packages/core/elasticsearch/core-elasticsearch-client-server-internal" + ], + [ + "@kbn/core-elasticsearch-client-server-mocks", + "packages/core/elasticsearch/core-elasticsearch-client-server-mocks" + ], + [ + "@kbn/core-elasticsearch-server", + "packages/core/elasticsearch/core-elasticsearch-server" + ], + [ + "@kbn/core-elasticsearch-server-internal", + "packages/core/elasticsearch/core-elasticsearch-server-internal" + ], + [ + "@kbn/core-elasticsearch-server-mocks", + "packages/core/elasticsearch/core-elasticsearch-server-mocks" + ], + [ + "@kbn/core-environment-server-internal", + "packages/core/environment/core-environment-server-internal" + ], + [ + "@kbn/core-environment-server-mocks", + "packages/core/environment/core-environment-server-mocks" + ], + [ + "@kbn/core-execution-context-browser", + "packages/core/execution-context/core-execution-context-browser" + ], + [ + "@kbn/core-execution-context-browser-internal", + "packages/core/execution-context/core-execution-context-browser-internal" + ], + [ + "@kbn/core-execution-context-browser-mocks", + "packages/core/execution-context/core-execution-context-browser-mocks" + ], + [ + "@kbn/core-execution-context-common", + "packages/core/execution-context/core-execution-context-common" + ], + [ + "@kbn/core-execution-context-server", + "packages/core/execution-context/core-execution-context-server" + ], + [ + "@kbn/core-execution-context-server-internal", + "packages/core/execution-context/core-execution-context-server-internal" + ], + [ + "@kbn/core-execution-context-server-mocks", + "packages/core/execution-context/core-execution-context-server-mocks" + ], + [ + "@kbn/core-fatal-errors-browser", + "packages/core/fatal-errors/core-fatal-errors-browser" + ], + [ + "@kbn/core-fatal-errors-browser-internal", + "packages/core/fatal-errors/core-fatal-errors-browser-internal" + ], + [ + "@kbn/core-fatal-errors-browser-mocks", + "packages/core/fatal-errors/core-fatal-errors-browser-mocks" + ], + [ + "@kbn/core-history-block-plugin", + "test/plugin_functional/plugins/core_history_block" + ], + [ + "@kbn/core-http-browser", + "packages/core/http/core-http-browser" + ], + [ + "@kbn/core-http-browser-internal", + "packages/core/http/core-http-browser-internal" + ], + [ + "@kbn/core-http-browser-mocks", + "packages/core/http/core-http-browser-mocks" + ], + [ + "@kbn/core-http-common", + "packages/core/http/core-http-common" + ], + [ + "@kbn/core-http-context-server-internal", + "packages/core/http/core-http-context-server-internal" + ], + [ + "@kbn/core-http-context-server-mocks", + "packages/core/http/core-http-context-server-mocks" + ], + [ + "@kbn/core-http-plugin", + "test/plugin_functional/plugins/core_http" + ], + [ + "@kbn/core-http-request-handler-context-server", + "packages/core/http/core-http-request-handler-context-server" + ], + [ + "@kbn/core-http-request-handler-context-server-internal", + "packages/core/http/core-http-request-handler-context-server-internal" + ], + [ + "@kbn/core-http-resources-server", + "packages/core/http/core-http-resources-server" + ], + [ + "@kbn/core-http-resources-server-internal", + "packages/core/http/core-http-resources-server-internal" + ], + [ + "@kbn/core-http-resources-server-mocks", + "packages/core/http/core-http-resources-server-mocks" + ], + [ + "@kbn/core-http-router-server-internal", + "packages/core/http/core-http-router-server-internal" + ], + [ + "@kbn/core-http-router-server-mocks", + "packages/core/http/core-http-router-server-mocks" + ], + [ + "@kbn/core-http-server", + "packages/core/http/core-http-server" + ], + [ + "@kbn/core-http-server-internal", + "packages/core/http/core-http-server-internal" + ], + [ + "@kbn/core-http-server-mocks", + "packages/core/http/core-http-server-mocks" + ], + [ + "@kbn/core-i18n-browser", + "packages/core/i18n/core-i18n-browser" + ], + [ + "@kbn/core-i18n-browser-internal", + "packages/core/i18n/core-i18n-browser-internal" + ], + [ + "@kbn/core-i18n-browser-mocks", + "packages/core/i18n/core-i18n-browser-mocks" + ], + [ + "@kbn/core-i18n-server", + "packages/core/i18n/core-i18n-server" + ], + [ + "@kbn/core-i18n-server-internal", + "packages/core/i18n/core-i18n-server-internal" + ], + [ + "@kbn/core-i18n-server-mocks", + "packages/core/i18n/core-i18n-server-mocks" + ], + [ + "@kbn/core-injected-metadata-browser-internal", + "packages/core/injected-metadata/core-injected-metadata-browser-internal" + ], + [ + "@kbn/core-injected-metadata-browser-mocks", + "packages/core/injected-metadata/core-injected-metadata-browser-mocks" + ], + [ + "@kbn/core-injected-metadata-common-internal", + "packages/core/injected-metadata/core-injected-metadata-common-internal" + ], + [ + "@kbn/core-integrations-browser-internal", + "packages/core/integrations/core-integrations-browser-internal" + ], + [ + "@kbn/core-integrations-browser-mocks", + "packages/core/integrations/core-integrations-browser-mocks" + ], + [ + "@kbn/core-lifecycle-browser", + "packages/core/lifecycle/core-lifecycle-browser" + ], + [ + "@kbn/core-lifecycle-browser-internal", + "packages/core/lifecycle/core-lifecycle-browser-internal" + ], + [ + "@kbn/core-lifecycle-browser-mocks", + "packages/core/lifecycle/core-lifecycle-browser-mocks" + ], + [ + "@kbn/core-lifecycle-server", + "packages/core/lifecycle/core-lifecycle-server" + ], + [ + "@kbn/core-lifecycle-server-internal", + "packages/core/lifecycle/core-lifecycle-server-internal" + ], + [ + "@kbn/core-lifecycle-server-mocks", + "packages/core/lifecycle/core-lifecycle-server-mocks" + ], + [ + "@kbn/core-logging-browser-internal", + "packages/core/logging/core-logging-browser-internal" + ], + [ + "@kbn/core-logging-browser-mocks", + "packages/core/logging/core-logging-browser-mocks" + ], + [ + "@kbn/core-logging-common-internal", + "packages/core/logging/core-logging-common-internal" + ], + [ + "@kbn/core-logging-server", + "packages/core/logging/core-logging-server" + ], + [ + "@kbn/core-logging-server-internal", + "packages/core/logging/core-logging-server-internal" + ], + [ + "@kbn/core-logging-server-mocks", + "packages/core/logging/core-logging-server-mocks" + ], + [ + "@kbn/core-metrics-collectors-server-internal", + "packages/core/metrics/core-metrics-collectors-server-internal" + ], + [ + "@kbn/core-metrics-collectors-server-mocks", + "packages/core/metrics/core-metrics-collectors-server-mocks" + ], + [ + "@kbn/core-metrics-server", + "packages/core/metrics/core-metrics-server" + ], + [ + "@kbn/core-metrics-server-internal", + "packages/core/metrics/core-metrics-server-internal" + ], + [ + "@kbn/core-metrics-server-mocks", + "packages/core/metrics/core-metrics-server-mocks" + ], + [ + "@kbn/core-mount-utils-browser", + "packages/core/mount-utils/core-mount-utils-browser" + ], + [ + "@kbn/core-mount-utils-browser-internal", + "packages/core/mount-utils/core-mount-utils-browser-internal" + ], + [ + "@kbn/core-node-server", + "packages/core/node/core-node-server" + ], + [ + "@kbn/core-node-server-internal", + "packages/core/node/core-node-server-internal" + ], + [ + "@kbn/core-node-server-mocks", + "packages/core/node/core-node-server-mocks" + ], + [ + "@kbn/core-notifications-browser", + "packages/core/notifications/core-notifications-browser" + ], + [ + "@kbn/core-notifications-browser-internal", + "packages/core/notifications/core-notifications-browser-internal" + ], + [ + "@kbn/core-notifications-browser-mocks", + "packages/core/notifications/core-notifications-browser-mocks" + ], + [ + "@kbn/core-overlays-browser", + "packages/core/overlays/core-overlays-browser" + ], + [ + "@kbn/core-overlays-browser-internal", + "packages/core/overlays/core-overlays-browser-internal" + ], + [ + "@kbn/core-overlays-browser-mocks", + "packages/core/overlays/core-overlays-browser-mocks" + ], + [ + "@kbn/core-plugin-a-plugin", + "test/plugin_functional/plugins/core_plugin_a" + ], + [ + "@kbn/core-plugin-appleave-plugin", + "test/plugin_functional/plugins/core_plugin_appleave" + ], + [ + "@kbn/core-plugin-b-plugin", + "test/plugin_functional/plugins/core_plugin_b" + ], + [ + "@kbn/core-plugin-chromeless-plugin", + "test/plugin_functional/plugins/core_plugin_chromeless" + ], + [ + "@kbn/core-plugin-deep-links-plugin", + "test/plugin_functional/plugins/core_plugin_deep_links" + ], + [ + "@kbn/core-plugin-deprecations-plugin", + "test/plugin_functional/plugins/core_plugin_deprecations" + ], + [ + "@kbn/core-plugin-execution-context-plugin", + "test/plugin_functional/plugins/core_plugin_execution_context" + ], + [ + "@kbn/core-plugin-helpmenu-plugin", + "test/plugin_functional/plugins/core_plugin_helpmenu" + ], + [ + "@kbn/core-plugin-initializer-context-plugin", + "test/node_roles_functional/plugins/core_plugin_initializer_context" + ], + [ + "@kbn/core-plugin-route-timeouts-plugin", + "test/plugin_functional/plugins/core_plugin_route_timeouts" + ], + [ + "@kbn/core-plugin-static-assets-plugin", + "test/plugin_functional/plugins/core_plugin_static_assets" + ], + [ + "@kbn/core-plugins-base-server-internal", + "packages/core/plugins/core-plugins-base-server-internal" + ], + [ + "@kbn/core-plugins-browser", + "packages/core/plugins/core-plugins-browser" + ], + [ + "@kbn/core-plugins-browser-internal", + "packages/core/plugins/core-plugins-browser-internal" + ], + [ + "@kbn/core-plugins-browser-mocks", + "packages/core/plugins/core-plugins-browser-mocks" + ], + [ + "@kbn/core-plugins-server", + "packages/core/plugins/core-plugins-server" + ], + [ + "@kbn/core-plugins-server-internal", + "packages/core/plugins/core-plugins-server-internal" + ], + [ + "@kbn/core-plugins-server-mocks", + "packages/core/plugins/core-plugins-server-mocks" + ], + [ + "@kbn/core-preboot-server", + "packages/core/preboot/core-preboot-server" + ], + [ + "@kbn/core-preboot-server-internal", + "packages/core/preboot/core-preboot-server-internal" + ], + [ + "@kbn/core-preboot-server-mocks", + "packages/core/preboot/core-preboot-server-mocks" + ], + [ + "@kbn/core-provider-plugin", + "test/plugin_functional/plugins/core_provider_plugin" + ], + [ + "@kbn/core-rendering-browser-internal", + "packages/core/rendering/core-rendering-browser-internal" + ], + [ + "@kbn/core-rendering-browser-mocks", + "packages/core/rendering/core-rendering-browser-mocks" + ], + [ + "@kbn/core-rendering-server-internal", + "packages/core/rendering/core-rendering-server-internal" + ], + [ + "@kbn/core-rendering-server-mocks", + "packages/core/rendering/core-rendering-server-mocks" + ], + [ + "@kbn/core-root-browser-internal", + "packages/core/root/core-root-browser-internal" + ], + [ + "@kbn/core-root-server-internal", + "packages/core/root/core-root-server-internal" + ], + [ + "@kbn/core-saved-objects-api-browser", + "packages/core/saved-objects/core-saved-objects-api-browser" + ], + [ + "@kbn/core-saved-objects-api-server", + "packages/core/saved-objects/core-saved-objects-api-server" + ], + [ + "@kbn/core-saved-objects-api-server-internal", + "packages/core/saved-objects/core-saved-objects-api-server-internal" + ], + [ + "@kbn/core-saved-objects-api-server-mocks", + "packages/core/saved-objects/core-saved-objects-api-server-mocks" + ], + [ + "@kbn/core-saved-objects-base-server-internal", + "packages/core/saved-objects/core-saved-objects-base-server-internal" + ], + [ + "@kbn/core-saved-objects-base-server-mocks", + "packages/core/saved-objects/core-saved-objects-base-server-mocks" + ], + [ + "@kbn/core-saved-objects-browser", + "packages/core/saved-objects/core-saved-objects-browser" + ], + [ + "@kbn/core-saved-objects-browser-internal", + "packages/core/saved-objects/core-saved-objects-browser-internal" + ], + [ + "@kbn/core-saved-objects-browser-mocks", + "packages/core/saved-objects/core-saved-objects-browser-mocks" + ], + [ + "@kbn/core-saved-objects-common", + "packages/core/saved-objects/core-saved-objects-common" + ], + [ + "@kbn/core-saved-objects-import-export-server-internal", + "packages/core/saved-objects/core-saved-objects-import-export-server-internal" + ], + [ + "@kbn/core-saved-objects-import-export-server-mocks", + "packages/core/saved-objects/core-saved-objects-import-export-server-mocks" + ], + [ + "@kbn/core-saved-objects-migration-server-internal", + "packages/core/saved-objects/core-saved-objects-migration-server-internal" + ], + [ + "@kbn/core-saved-objects-migration-server-mocks", + "packages/core/saved-objects/core-saved-objects-migration-server-mocks" + ], + [ + "@kbn/core-saved-objects-server", + "packages/core/saved-objects/core-saved-objects-server" + ], + [ + "@kbn/core-saved-objects-server-internal", + "packages/core/saved-objects/core-saved-objects-server-internal" + ], + [ + "@kbn/core-saved-objects-server-mocks", + "packages/core/saved-objects/core-saved-objects-server-mocks" + ], + [ + "@kbn/core-saved-objects-utils-server", + "packages/core/saved-objects/core-saved-objects-utils-server" + ], + [ + "@kbn/core-status-common", + "packages/core/status/core-status-common" + ], + [ + "@kbn/core-status-common-internal", + "packages/core/status/core-status-common-internal" + ], + [ + "@kbn/core-status-server", + "packages/core/status/core-status-server" + ], + [ + "@kbn/core-status-server-internal", + "packages/core/status/core-status-server-internal" + ], + [ + "@kbn/core-status-server-mocks", + "packages/core/status/core-status-server-mocks" + ], + [ + "@kbn/core-test-helpers-deprecations-getters", + "packages/core/test-helpers/core-test-helpers-deprecations-getters" + ], + [ + "@kbn/core-test-helpers-http-setup-browser", + "packages/core/test-helpers/core-test-helpers-http-setup-browser" + ], + [ + "@kbn/core-test-helpers-kbn-server", + "packages/core/test-helpers/core-test-helpers-kbn-server" + ], + [ + "@kbn/core-test-helpers-so-type-serializer", + "packages/core/test-helpers/core-test-helpers-so-type-serializer" + ], + [ + "@kbn/core-test-helpers-test-utils", + "packages/core/test-helpers/core-test-helpers-test-utils" + ], + [ + "@kbn/core-theme-browser", + "packages/core/theme/core-theme-browser" + ], + [ + "@kbn/core-theme-browser-internal", + "packages/core/theme/core-theme-browser-internal" + ], + [ + "@kbn/core-theme-browser-mocks", + "packages/core/theme/core-theme-browser-mocks" + ], + [ + "@kbn/core-ui-settings-browser", + "packages/core/ui-settings/core-ui-settings-browser" + ], + [ + "@kbn/core-ui-settings-browser-internal", + "packages/core/ui-settings/core-ui-settings-browser-internal" + ], + [ + "@kbn/core-ui-settings-browser-mocks", + "packages/core/ui-settings/core-ui-settings-browser-mocks" + ], + [ + "@kbn/core-ui-settings-common", + "packages/core/ui-settings/core-ui-settings-common" + ], + [ + "@kbn/core-ui-settings-server", + "packages/core/ui-settings/core-ui-settings-server" + ], + [ + "@kbn/core-ui-settings-server-internal", + "packages/core/ui-settings/core-ui-settings-server-internal" + ], + [ + "@kbn/core-ui-settings-server-mocks", + "packages/core/ui-settings/core-ui-settings-server-mocks" + ], + [ + "@kbn/core-usage-data-base-server-internal", + "packages/core/usage-data/core-usage-data-base-server-internal" + ], + [ + "@kbn/core-usage-data-server", + "packages/core/usage-data/core-usage-data-server" + ], + [ + "@kbn/core-usage-data-server-internal", + "packages/core/usage-data/core-usage-data-server-internal" + ], + [ + "@kbn/core-usage-data-server-mocks", + "packages/core/usage-data/core-usage-data-server-mocks" + ], + [ + "@kbn/core-version-http-server", + "packages/core/versioning/core-version-http-server" + ], + [ + "@kbn/cross-cluster-replication-plugin", + "x-pack/plugins/cross_cluster_replication" + ], + [ + "@kbn/crypto", + "packages/kbn-crypto" + ], + [ + "@kbn/crypto-browser", + "packages/kbn-crypto-browser" + ], + [ + "@kbn/custom-branding-plugin", + "x-pack/plugins/custom_branding" + ], + [ + "@kbn/custom-integrations-plugin", + "src/plugins/custom_integrations" + ], + [ + "@kbn/cypress-config", + "packages/kbn-cypress-config" + ], + [ + "@kbn/dashboard-enhanced-plugin", + "x-pack/plugins/dashboard_enhanced" + ], + [ + "@kbn/dashboard-plugin", + "src/plugins/dashboard" + ], + [ + "@kbn/data-plugin", + "src/plugins/data" + ], + [ + "@kbn/data-search-plugin", + "test/plugin_functional/plugins/data_search" + ], + [ + "@kbn/data-view-editor-plugin", + "src/plugins/data_view_editor" + ], + [ + "@kbn/data-view-field-editor-example-plugin", + "examples/data_view_field_editor_example" + ], + [ + "@kbn/data-view-field-editor-plugin", + "src/plugins/data_view_field_editor" + ], + [ + "@kbn/data-view-management-plugin", + "src/plugins/data_view_management" + ], + [ + "@kbn/data-views-plugin", + "src/plugins/data_views" + ], + [ + "@kbn/data-visualizer-plugin", + "x-pack/plugins/data_visualizer" + ], + [ + "@kbn/datemath", + "packages/kbn-datemath" + ], + [ + "@kbn/dev-cli-errors", + "packages/kbn-dev-cli-errors" + ], + [ + "@kbn/dev-cli-runner", + "packages/kbn-dev-cli-runner" + ], + [ + "@kbn/dev-proc-runner", + "packages/kbn-dev-proc-runner" + ], + [ + "@kbn/dev-tools-plugin", + "src/plugins/dev_tools" + ], + [ + "@kbn/dev-utils", + "packages/kbn-dev-utils" + ], + [ + "@kbn/developer-examples-plugin", + "examples/developer_examples" + ], + [ + "@kbn/discover-enhanced-plugin", + "x-pack/plugins/discover_enhanced" + ], + [ + "@kbn/discover-plugin", + "src/plugins/discover" + ], + [ + "@kbn/doc-links", + "packages/kbn-doc-links" + ], + [ + "@kbn/docs-utils", + "packages/kbn-docs-utils" + ], + [ + "@kbn/ebt-tools", + "packages/kbn-ebt-tools" + ], + [ + "@kbn/ecs", + "packages/kbn-ecs" + ], + [ + "@kbn/ecs-data-quality-dashboard", + "x-pack/packages/kbn-ecs-data-quality-dashboard" + ], + [ + "@kbn/ecs-data-quality-dashboard-plugin", + "x-pack/plugins/ecs_data_quality_dashboard" + ], + [ + "@kbn/elasticsearch-client-plugin", + "test/plugin_functional/plugins/elasticsearch_client_plugin" + ], + [ + "@kbn/elasticsearch-client-xpack-plugin", + "x-pack/test/plugin_api_integration/plugins/elasticsearch_client" + ], + [ + "@kbn/embeddable-enhanced-plugin", + "x-pack/plugins/embeddable_enhanced" + ], + [ + "@kbn/embeddable-examples-plugin", + "examples/embeddable_examples" + ], + [ + "@kbn/embeddable-explorer-plugin", + "examples/embeddable_explorer" + ], + [ + "@kbn/embeddable-plugin", + "src/plugins/embeddable" + ], + [ + "@kbn/embedded-lens-example-plugin", + "x-pack/examples/embedded_lens_example" + ], + [ + "@kbn/encrypted-saved-objects-plugin", + "x-pack/plugins/encrypted_saved_objects" + ], + [ + "@kbn/enterprise-search-plugin", + "x-pack/plugins/enterprise_search" + ], + [ + "@kbn/es", + "packages/kbn-es" + ], + [ + "@kbn/es-archiver", + "packages/kbn-es-archiver" + ], + [ + "@kbn/es-errors", + "packages/kbn-es-errors" + ], + [ + "@kbn/es-query", + "packages/kbn-es-query" + ], + [ + "@kbn/es-types", + "packages/kbn-es-types" + ], + [ + "@kbn/es-ui-shared-plugin", + "src/plugins/es_ui_shared" + ], + [ + "@kbn/eslint-config", + "packages/kbn-eslint-config" + ], + [ + "@kbn/eslint-plugin-disable", + "packages/kbn-eslint-plugin-disable" + ], + [ + "@kbn/eslint-plugin-eslint", + "packages/kbn-eslint-plugin-eslint" + ], + [ + "@kbn/eslint-plugin-imports", + "packages/kbn-eslint-plugin-imports" + ], + [ + "@kbn/eso-plugin", + "x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin" + ], + [ + "@kbn/event-annotation-plugin", + "src/plugins/event_annotation" + ], + [ + "@kbn/event-log-fixture-plugin", + "x-pack/test/plugin_api_integration/plugins/event_log" + ], + [ + "@kbn/event-log-plugin", + "x-pack/plugins/event_log" + ], + [ + "@kbn/expandable-flyout", + "packages/kbn-expandable-flyout" + ], + [ + "@kbn/expect", + "packages/kbn-expect" + ], + [ + "@kbn/exploratory-view-example-plugin", + "x-pack/examples/exploratory_view_example" + ], + [ + "@kbn/expression-error-plugin", + "src/plugins/expression_error" + ], + [ + "@kbn/expression-gauge-plugin", + "src/plugins/chart_expressions/expression_gauge" + ], + [ + "@kbn/expression-heatmap-plugin", + "src/plugins/chart_expressions/expression_heatmap" + ], + [ + "@kbn/expression-image-plugin", + "src/plugins/expression_image" + ], + [ + "@kbn/expression-legacy-metric-vis-plugin", + "src/plugins/chart_expressions/expression_legacy_metric" + ], + [ + "@kbn/expression-metric-plugin", + "src/plugins/expression_metric" + ], + [ + "@kbn/expression-metric-vis-plugin", + "src/plugins/chart_expressions/expression_metric" + ], + [ + "@kbn/expression-partition-vis-plugin", + "src/plugins/chart_expressions/expression_partition_vis" + ], + [ + "@kbn/expression-repeat-image-plugin", + "src/plugins/expression_repeat_image" + ], + [ + "@kbn/expression-reveal-image-plugin", + "src/plugins/expression_reveal_image" + ], + [ + "@kbn/expression-shape-plugin", + "src/plugins/expression_shape" + ], + [ + "@kbn/expression-tagcloud-plugin", + "src/plugins/chart_expressions/expression_tagcloud" + ], + [ + "@kbn/expression-xy-plugin", + "src/plugins/chart_expressions/expression_xy" + ], + [ + "@kbn/expressions-explorer-plugin", + "examples/expressions_explorer" + ], + [ + "@kbn/expressions-plugin", + "src/plugins/expressions" + ], + [ + "@kbn/failed-test-reporter-cli", + "packages/kbn-failed-test-reporter-cli" + ], + [ + "@kbn/feature-usage-test-plugin", + "x-pack/test/plugin_api_integration/plugins/feature_usage_test" + ], + [ + "@kbn/features-plugin", + "x-pack/plugins/features" + ], + [ + "@kbn/fec-alerts-test-plugin", + "x-pack/test/functional_execution_context/plugins/alerts" + ], + [ + "@kbn/field-formats-example-plugin", + "examples/field_formats_example" + ], + [ + "@kbn/field-formats-plugin", + "src/plugins/field_formats" + ], + [ + "@kbn/field-types", + "packages/kbn-field-types" + ], + [ + "@kbn/file-upload-plugin", + "x-pack/plugins/file_upload" + ], + [ + "@kbn/files-example-plugin", + "examples/files_example" + ], + [ + "@kbn/files-management-plugin", + "src/plugins/files_management" + ], + [ + "@kbn/files-plugin", + "src/plugins/files" + ], + [ + "@kbn/find-used-node-modules", + "packages/kbn-find-used-node-modules" + ], + [ + "@kbn/fleet-plugin", + "x-pack/plugins/fleet" + ], + [ + "@kbn/flot-charts", + "packages/kbn-flot-charts" + ], + [ + "@kbn/foo-plugin", + "x-pack/test/ui_capabilities/common/plugins/foo_plugin" + ], + [ + "@kbn/ftr-apis-plugin", + "src/plugins/ftr_apis" + ], + [ + "@kbn/ftr-common-functional-services", + "packages/kbn-ftr-common-functional-services" + ], + [ + "@kbn/ftr-screenshot-filename", + "packages/kbn-ftr-screenshot-filename" + ], + [ + "@kbn/functional-with-es-ssl-cases-test-plugin", + "x-pack/test/functional_with_es_ssl/plugins/cases" + ], + [ + "@kbn/generate", + "packages/kbn-generate" + ], + [ + "@kbn/get-repo-files", + "packages/kbn-get-repo-files" + ], + [ + "@kbn/global-search-bar-plugin", + "x-pack/plugins/global_search_bar" + ], + [ + "@kbn/global-search-plugin", + "x-pack/plugins/global_search" + ], + [ + "@kbn/global-search-providers-plugin", + "x-pack/plugins/global_search_providers" + ], + [ + "@kbn/global-search-test-plugin", + "x-pack/test/plugin_functional/plugins/global_search_test" + ], + [ + "@kbn/graph-plugin", + "x-pack/plugins/graph" + ], + [ + "@kbn/grokdebugger-plugin", + "x-pack/plugins/grokdebugger" + ], + [ + "@kbn/guided-onboarding", + "packages/kbn-guided-onboarding" + ], + [ + "@kbn/guided-onboarding-example-plugin", + "examples/guided_onboarding_example" + ], + [ + "@kbn/guided-onboarding-plugin", + "src/plugins/guided_onboarding" + ], + [ + "@kbn/handlebars", + "packages/kbn-handlebars" + ], + [ + "@kbn/hapi-mocks", + "packages/kbn-hapi-mocks" + ], + [ + "@kbn/health-gateway-server", + "packages/kbn-health-gateway-server" + ], + [ + "@kbn/hello-world-plugin", + "examples/hello_world" + ], + [ + "@kbn/home-plugin", + "src/plugins/home" + ], + [ + "@kbn/home-sample-data-card", + "packages/home/sample_data_card" + ], + [ + "@kbn/home-sample-data-tab", + "packages/home/sample_data_tab" + ], + [ + "@kbn/home-sample-data-types", + "packages/home/sample_data_types" + ], + [ + "@kbn/i18n", + "packages/kbn-i18n" + ], + [ + "@kbn/i18n-react", + "packages/kbn-i18n-react" + ], + [ + "@kbn/iframe-embedded-plugin", + "x-pack/test/functional_embedded/plugins/iframe_embedded" + ], + [ + "@kbn/image-embeddable-plugin", + "src/plugins/image_embeddable" + ], + [ + "@kbn/import-locator", + "packages/kbn-import-locator" + ], + [ + "@kbn/import-resolver", + "packages/kbn-import-resolver" + ], + [ + "@kbn/index-lifecycle-management-plugin", + "x-pack/plugins/index_lifecycle_management" + ], + [ + "@kbn/index-management-plugin", + "x-pack/plugins/index_management" + ], + [ + "@kbn/index-patterns-test-plugin", + "test/plugin_functional/plugins/index_patterns" + ], + [ + "@kbn/infra-plugin", + "x-pack/plugins/infra" + ], + [ + "@kbn/ingest-pipelines-plugin", + "x-pack/plugins/ingest_pipelines" + ], + [ + "@kbn/input-control-vis-plugin", + "src/plugins/input_control_vis" + ], + [ + "@kbn/inspector-plugin", + "src/plugins/inspector" + ], + [ + "@kbn/interactive-setup-plugin", + "src/plugins/interactive_setup" + ], + [ + "@kbn/interactive-setup-test-endpoints-plugin", + "test/interactive_setup_api_integration/plugins/test_endpoints" + ], + [ + "@kbn/interpreter", + "packages/kbn-interpreter" + ], + [ + "@kbn/io-ts-utils", + "packages/kbn-io-ts-utils" + ], + [ + "@kbn/jest-serializers", + "packages/kbn-jest-serializers" + ], + [ + "@kbn/journeys", + "packages/kbn-journeys" + ], + [ + "@kbn/json-ast", + "packages/kbn-json-ast" + ], + [ + "@kbn/kbn-health-gateway-status-plugin", + "test/health_gateway/plugins/status" + ], + [ + "@kbn/kbn-sample-panel-action-plugin", + "test/plugin_functional/plugins/kbn_sample_panel_action" + ], + [ + "@kbn/kbn-top-nav-plugin", + "test/plugin_functional/plugins/kbn_top_nav" + ], + [ + "@kbn/kbn-tp-custom-visualizations-plugin", + "test/plugin_functional/plugins/kbn_tp_custom_visualizations" + ], + [ + "@kbn/kbn-tp-run-pipeline-plugin", + "test/interpreter_functional/plugins/kbn_tp_run_pipeline" + ], + [ + "@kbn/kibana-cors-test-plugin", + "x-pack/test/functional_cors/plugins/kibana_cors_test" + ], + [ + "@kbn/kibana-manifest-schema", + "packages/kbn-kibana-manifest-schema" + ], + [ + "@kbn/kibana-overview-plugin", + "src/plugins/kibana_overview" + ], + [ + "@kbn/kibana-react-plugin", + "src/plugins/kibana_react" + ], + [ + "@kbn/kibana-usage-collection-plugin", + "src/plugins/kibana_usage_collection" + ], + [ + "@kbn/kibana-utils-plugin", + "src/plugins/kibana_utils" + ], + [ + "@kbn/kubernetes-security-plugin", + "x-pack/plugins/kubernetes_security" + ], + [ + "@kbn/language-documentation-popover", + "packages/kbn-language-documentation-popover" + ], + [ + "@kbn/lens-plugin", + "x-pack/plugins/lens" + ], + [ + "@kbn/license-api-guard-plugin", + "x-pack/plugins/license_api_guard" + ], + [ + "@kbn/license-management-plugin", + "x-pack/plugins/license_management" + ], + [ + "@kbn/licensing-plugin", + "x-pack/plugins/licensing" + ], + [ + "@kbn/lint-packages-cli", + "packages/kbn-lint-packages-cli" + ], + [ + "@kbn/lint-ts-projects-cli", + "packages/kbn-lint-ts-projects-cli" + ], + [ + "@kbn/lists-plugin", + "x-pack/plugins/lists" + ], + [ + "@kbn/locator-examples-plugin", + "examples/locator_examples" + ], + [ + "@kbn/locator-explorer-plugin", + "examples/locator_explorer" + ], + [ + "@kbn/logging", + "packages/kbn-logging" + ], + [ + "@kbn/logging-mocks", + "packages/kbn-logging-mocks" + ], + [ + "@kbn/logstash-plugin", + "x-pack/plugins/logstash" + ], + [ + "@kbn/managed-vscode-config", + "packages/kbn-managed-vscode-config" + ], + [ + "@kbn/managed-vscode-config-cli", + "packages/kbn-managed-vscode-config-cli" + ], + [ + "@kbn/management-plugin", + "src/plugins/management" + ], + [ + "@kbn/management-test-plugin", + "test/plugin_functional/plugins/management_test_plugin" + ], + [ + "@kbn/mapbox-gl", + "packages/kbn-mapbox-gl" + ], + [ + "@kbn/maps-custom-raster-source-plugin", + "x-pack/examples/third_party_maps_source_example" + ], + [ + "@kbn/maps-ems-plugin", + "src/plugins/maps_ems" + ], + [ + "@kbn/maps-plugin", + "x-pack/plugins/maps" + ], + [ + "@kbn/ml-agg-utils", + "x-pack/packages/ml/agg_utils" + ], + [ + "@kbn/ml-date-picker", + "x-pack/packages/ml/date_picker" + ], + [ + "@kbn/ml-is-defined", + "x-pack/packages/ml/is_defined" + ], + [ + "@kbn/ml-is-populated-object", + "x-pack/packages/ml/is_populated_object" + ], + [ + "@kbn/ml-local-storage", + "x-pack/packages/ml/local_storage" + ], + [ + "@kbn/ml-nested-property", + "x-pack/packages/ml/nested_property" + ], + [ + "@kbn/ml-plugin", + "x-pack/plugins/ml" + ], + [ + "@kbn/ml-query-utils", + "x-pack/packages/ml/query_utils" + ], + [ + "@kbn/ml-string-hash", + "x-pack/packages/ml/string_hash" + ], + [ + "@kbn/ml-url-state", + "x-pack/packages/ml/url_state" + ], + [ + "@kbn/monaco", + "packages/kbn-monaco" + ], + [ + "@kbn/monitoring-collection-plugin", + "x-pack/plugins/monitoring_collection" + ], + [ + "@kbn/monitoring-plugin", + "x-pack/plugins/monitoring" + ], + [ + "@kbn/navigation-plugin", + "src/plugins/navigation" + ], + [ + "@kbn/newsfeed-plugin", + "src/plugins/newsfeed" + ], + [ + "@kbn/newsfeed-test-plugin", + "test/common/plugins/newsfeed" + ], + [ + "@kbn/notifications-plugin", + "x-pack/plugins/notifications" + ], + [ + "@kbn/observability-fixtures-plugin", + "x-pack/test/cases_api_integration/common/plugins/observability" + ], + [ + "@kbn/observability-plugin", + "x-pack/plugins/observability" + ], + [ + "@kbn/oidc-provider-plugin", + "x-pack/test/security_api_integration/plugins/oidc_provider" + ], + [ + "@kbn/open-telemetry-instrumented-plugin", + "test/common/plugins/otel_metrics" + ], + [ + "@kbn/optimizer", + "packages/kbn-optimizer" + ], + [ + "@kbn/optimizer-webpack-helpers", + "packages/kbn-optimizer-webpack-helpers" + ], + [ + "@kbn/osquery-io-ts-types", + "packages/kbn-osquery-io-ts-types" + ], + [ + "@kbn/osquery-plugin", + "x-pack/plugins/osquery" + ], + [ + "@kbn/paertial-results-example-plugin", + "examples/partial_results_example" + ], + [ + "@kbn/painless-lab-plugin", + "x-pack/plugins/painless_lab" + ], + [ + "@kbn/peggy", + "packages/kbn-peggy" + ], + [ + "@kbn/peggy-loader", + "packages/kbn-peggy-loader" + ], + [ + "@kbn/performance-testing-dataset-extractor", + "packages/kbn-performance-testing-dataset-extractor" + ], + [ + "@kbn/picomatcher", + "packages/kbn-picomatcher" + ], + [ + "@kbn/plugin-generator", + "packages/kbn-plugin-generator" + ], + [ + "@kbn/plugin-helpers", + "packages/kbn-plugin-helpers" + ], + [ + "@kbn/portable-dashboards-example", + "examples/portable_dashboards_example" + ], + [ + "@kbn/preboot-example-plugin", + "examples/preboot_example" + ], + [ + "@kbn/presentation-util-plugin", + "src/plugins/presentation_util" + ], + [ + "@kbn/profiling-plugin", + "x-pack/plugins/profiling" + ], + [ + "@kbn/react-field", + "packages/kbn-react-field" + ], + [ + "@kbn/remote-clusters-plugin", + "x-pack/plugins/remote_clusters" + ], + [ + "@kbn/rendering-plugin", + "test/plugin_functional/plugins/rendering_plugin" + ], + [ + "@kbn/repo-file-maps", + "packages/kbn-repo-file-maps" + ], + [ + "@kbn/repo-info", + "packages/kbn-repo-info" + ], + [ + "@kbn/repo-linter", + "packages/kbn-repo-linter" + ], + [ + "@kbn/repo-packages", + "packages/kbn-repo-packages" + ], + [ + "@kbn/repo-path", + "packages/kbn-repo-path" + ], + [ + "@kbn/repo-source-classifier", + "packages/kbn-repo-source-classifier" + ], + [ + "@kbn/repo-source-classifier-cli", + "packages/kbn-repo-source-classifier-cli" + ], + [ + "@kbn/reporting-example-plugin", + "x-pack/examples/reporting_example" + ], + [ + "@kbn/reporting-plugin", + "x-pack/plugins/reporting" + ], + [ + "@kbn/resolver-test-plugin", + "x-pack/test/plugin_functional/plugins/resolver_test" + ], + [ + "@kbn/response-stream-plugin", + "examples/response_stream" + ], + [ + "@kbn/rison", + "packages/kbn-rison" + ], + [ + "@kbn/rollup-plugin", + "x-pack/plugins/rollup" + ], + [ + "@kbn/routing-example-plugin", + "examples/routing_example" + ], + [ + "@kbn/rule-data-utils", + "packages/kbn-rule-data-utils" + ], + [ + "@kbn/rule-registry-plugin", + "x-pack/plugins/rule_registry" + ], + [ + "@kbn/runtime-fields-plugin", + "x-pack/plugins/runtime_fields" + ], + [ + "@kbn/safer-lodash-set", + "packages/kbn-safer-lodash-set" + ], + [ + "@kbn/saml-provider-plugin", + "x-pack/test/security_api_integration/plugins/saml_provider" + ], + [ + "@kbn/sample-task-plugin", + "x-pack/test/plugin_api_integration/plugins/sample_task_plugin" + ], + [ + "@kbn/saved-object-export-transforms-plugin", + "test/plugin_functional/plugins/saved_object_export_transforms" + ], + [ + "@kbn/saved-object-import-warnings-plugin", + "test/plugin_functional/plugins/saved_object_import_warnings" + ], + [ + "@kbn/saved-object-test-plugin", + "x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin" + ], + [ + "@kbn/saved-objects-finder-plugin", + "src/plugins/saved_objects_finder" + ], + [ + "@kbn/saved-objects-hidden-from-http-apis-type-plugin", + "test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type" + ], + [ + "@kbn/saved-objects-hidden-type-plugin", + "test/plugin_functional/plugins/saved_objects_hidden_type" + ], + [ + "@kbn/saved-objects-management-plugin", + "src/plugins/saved_objects_management" + ], + [ + "@kbn/saved-objects-plugin", + "src/plugins/saved_objects" + ], + [ + "@kbn/saved-objects-tagging-oss-plugin", + "src/plugins/saved_objects_tagging_oss" + ], + [ + "@kbn/saved-objects-tagging-plugin", + "x-pack/plugins/saved_objects_tagging" + ], + [ + "@kbn/saved-search-plugin", + "src/plugins/saved_search" + ], + [ + "@kbn/screenshot-mode-example-plugin", + "examples/screenshot_mode_example" + ], + [ + "@kbn/screenshot-mode-plugin", + "src/plugins/screenshot_mode" + ], + [ + "@kbn/screenshotting-example-plugin", + "x-pack/examples/screenshotting_example" + ], + [ + "@kbn/screenshotting-plugin", + "x-pack/plugins/screenshotting" + ], + [ + "@kbn/search-examples-plugin", + "examples/search_examples" + ], + [ + "@kbn/searchprofiler-plugin", + "x-pack/plugins/searchprofiler" + ], + [ + "@kbn/security-api-integration-helpers", + "x-pack/test/security_api_integration/packages/helpers" + ], + [ + "@kbn/security-plugin", + "x-pack/plugins/security" + ], + [ + "@kbn/security-solution-fixtures-plugin", + "x-pack/test/cases_api_integration/common/plugins/security_solution" + ], + [ + "@kbn/security-solution-plugin", + "x-pack/plugins/security_solution" + ], + [ + "@kbn/security-test-endpoints-plugin", + "x-pack/test/security_functional/plugins/test_endpoints" + ], + [ + "@kbn/securitysolution-autocomplete", + "packages/kbn-securitysolution-autocomplete" + ], + [ + "@kbn/securitysolution-ecs", + "packages/kbn-securitysolution-ecs" + ], + [ + "@kbn/securitysolution-es-utils", + "packages/kbn-securitysolution-es-utils" + ], + [ + "@kbn/securitysolution-exception-list-components", + "packages/kbn-securitysolution-exception-list-components" + ], + [ + "@kbn/securitysolution-grouping", + "packages/kbn-securitysolution-grouping" + ], + [ + "@kbn/securitysolution-hook-utils", + "packages/kbn-securitysolution-hook-utils" + ], + [ + "@kbn/securitysolution-io-ts-alerting-types", + "packages/kbn-securitysolution-io-ts-alerting-types" + ], + [ + "@kbn/securitysolution-io-ts-list-types", + "packages/kbn-securitysolution-io-ts-list-types" + ], + [ + "@kbn/securitysolution-io-ts-types", + "packages/kbn-securitysolution-io-ts-types" + ], + [ + "@kbn/securitysolution-io-ts-utils", + "packages/kbn-securitysolution-io-ts-utils" + ], + [ + "@kbn/securitysolution-list-api", + "packages/kbn-securitysolution-list-api" + ], + [ + "@kbn/securitysolution-list-constants", + "packages/kbn-securitysolution-list-constants" + ], + [ + "@kbn/securitysolution-list-hooks", + "packages/kbn-securitysolution-list-hooks" + ], + [ + "@kbn/securitysolution-list-utils", + "packages/kbn-securitysolution-list-utils" + ], + [ + "@kbn/securitysolution-rules", + "packages/kbn-securitysolution-rules" + ], + [ + "@kbn/securitysolution-t-grid", + "packages/kbn-securitysolution-t-grid" + ], + [ + "@kbn/securitysolution-utils", + "packages/kbn-securitysolution-utils" + ], + [ + "@kbn/server-http-tools", + "packages/kbn-server-http-tools" + ], + [ + "@kbn/server-route-repository", + "packages/kbn-server-route-repository" + ], + [ + "@kbn/session-notifications-plugin", + "test/plugin_functional/plugins/session_notifications" + ], + [ + "@kbn/session-view-plugin", + "x-pack/plugins/session_view" + ], + [ + "@kbn/set-map", + "packages/kbn-set-map" + ], + [ + "@kbn/share-examples-plugin", + "examples/share_examples" + ], + [ + "@kbn/share-plugin", + "src/plugins/share" + ], + [ + "@kbn/shared-svg", + "packages/kbn-shared-svg" + ], + [ + "@kbn/shared-ux-avatar-solution", + "packages/shared-ux/avatar/solution" + ], + [ + "@kbn/shared-ux-avatar-user-profile-components", + "packages/shared-ux/avatar/user_profile/impl" + ], + [ + "@kbn/shared-ux-button-exit-full-screen", + "packages/shared-ux/button/exit_full_screen/impl" + ], + [ + "@kbn/shared-ux-button-exit-full-screen-mocks", + "packages/shared-ux/button/exit_full_screen/mocks" + ], + [ + "@kbn/shared-ux-button-exit-full-screen-types", + "packages/shared-ux/button/exit_full_screen/types" + ], + [ + "@kbn/shared-ux-button-toolbar", + "packages/shared-ux/button_toolbar" + ], + [ + "@kbn/shared-ux-card-no-data", + "packages/shared-ux/card/no_data/impl" + ], + [ + "@kbn/shared-ux-card-no-data-mocks", + "packages/shared-ux/card/no_data/mocks" + ], + [ + "@kbn/shared-ux-card-no-data-types", + "packages/shared-ux/card/no_data/types" + ], + [ + "@kbn/shared-ux-file-context", + "packages/shared-ux/file/context" + ], + [ + "@kbn/shared-ux-file-image", + "packages/shared-ux/file/image/impl" + ], + [ + "@kbn/shared-ux-file-image-mocks", + "packages/shared-ux/file/image/mocks" + ], + [ + "@kbn/shared-ux-file-mocks", + "packages/shared-ux/file/mocks" + ], + [ + "@kbn/shared-ux-file-picker", + "packages/shared-ux/file/file_picker/impl" + ], + [ + "@kbn/shared-ux-file-types", + "packages/shared-ux/file/types" + ], + [ + "@kbn/shared-ux-file-upload", + "packages/shared-ux/file/file_upload/impl" + ], + [ + "@kbn/shared-ux-file-util", + "packages/shared-ux/file/util" + ], + [ + "@kbn/shared-ux-link-redirect-app", + "packages/shared-ux/link/redirect_app/impl" + ], + [ + "@kbn/shared-ux-link-redirect-app-mocks", + "packages/shared-ux/link/redirect_app/mocks" + ], + [ + "@kbn/shared-ux-link-redirect-app-types", + "packages/shared-ux/link/redirect_app/types" + ], + [ + "@kbn/shared-ux-markdown", + "packages/shared-ux/markdown/impl" + ], + [ + "@kbn/shared-ux-markdown-mocks", + "packages/shared-ux/markdown/mocks" + ], + [ + "@kbn/shared-ux-markdown-types", + "packages/shared-ux/markdown/types" + ], + [ + "@kbn/shared-ux-page-analytics-no-data", + "packages/shared-ux/page/analytics_no_data/impl" + ], + [ + "@kbn/shared-ux-page-analytics-no-data-mocks", + "packages/shared-ux/page/analytics_no_data/mocks" + ], + [ + "@kbn/shared-ux-page-analytics-no-data-types", + "packages/shared-ux/page/analytics_no_data/types" + ], + [ + "@kbn/shared-ux-page-kibana-no-data", + "packages/shared-ux/page/kibana_no_data/impl" + ], + [ + "@kbn/shared-ux-page-kibana-no-data-mocks", + "packages/shared-ux/page/kibana_no_data/mocks" + ], + [ + "@kbn/shared-ux-page-kibana-no-data-types", + "packages/shared-ux/page/kibana_no_data/types" + ], + [ + "@kbn/shared-ux-page-kibana-template", + "packages/shared-ux/page/kibana_template/impl" + ], + [ + "@kbn/shared-ux-page-kibana-template-mocks", + "packages/shared-ux/page/kibana_template/mocks" + ], + [ + "@kbn/shared-ux-page-kibana-template-types", + "packages/shared-ux/page/kibana_template/types" + ], + [ + "@kbn/shared-ux-page-no-data", + "packages/shared-ux/page/no_data/impl" + ], + [ + "@kbn/shared-ux-page-no-data-config", + "packages/shared-ux/page/no_data_config/impl" + ], + [ + "@kbn/shared-ux-page-no-data-config-mocks", + "packages/shared-ux/page/no_data_config/mocks" + ], + [ + "@kbn/shared-ux-page-no-data-config-types", + "packages/shared-ux/page/no_data_config/types" + ], + [ + "@kbn/shared-ux-page-no-data-mocks", + "packages/shared-ux/page/no_data/mocks" + ], + [ + "@kbn/shared-ux-page-no-data-types", + "packages/shared-ux/page/no_data/types" + ], + [ + "@kbn/shared-ux-page-solution-nav", + "packages/shared-ux/page/solution_nav" + ], + [ + "@kbn/shared-ux-prompt-no-data-views", + "packages/shared-ux/prompt/no_data_views/impl" + ], + [ + "@kbn/shared-ux-prompt-no-data-views-mocks", + "packages/shared-ux/prompt/no_data_views/mocks" + ], + [ + "@kbn/shared-ux-prompt-no-data-views-types", + "packages/shared-ux/prompt/no_data_views/types" + ], + [ + "@kbn/shared-ux-prompt-not-found", + "packages/shared-ux/prompt/not_found" + ], + [ + "@kbn/shared-ux-router", + "packages/shared-ux/router/impl" + ], + [ + "@kbn/shared-ux-router-mocks", + "packages/shared-ux/router/mocks" + ], + [ + "@kbn/shared-ux-router-types", + "packages/shared-ux/router/types" + ], + [ + "@kbn/shared-ux-storybook-config", + "packages/shared-ux/storybook/config" + ], + [ + "@kbn/shared-ux-storybook-mock", + "packages/shared-ux/storybook/mock" + ], + [ + "@kbn/shared-ux-utility", + "packages/kbn-shared-ux-utility" + ], + [ + "@kbn/slo-schema", + "packages/kbn-slo-schema" + ], + [ + "@kbn/snapshot-restore-plugin", + "x-pack/plugins/snapshot_restore" + ], + [ + "@kbn/some-dev-log", + "packages/kbn-some-dev-log" + ], + [ + "@kbn/sort-package-json", + "packages/kbn-sort-package-json" + ], + [ + "@kbn/spaces-plugin", + "x-pack/plugins/spaces" + ], + [ + "@kbn/spaces-test-plugin", + "x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin" + ], + [ + "@kbn/spec-to-console", + "packages/kbn-spec-to-console" + ], + [ + "@kbn/stack-alerts-plugin", + "x-pack/plugins/stack_alerts" + ], + [ + "@kbn/stack-connectors-plugin", + "x-pack/plugins/stack_connectors" + ], + [ + "@kbn/stack-management-usage-test-plugin", + "x-pack/test/usage_collection/plugins/stack_management_usage_test" + ], + [ + "@kbn/state-containers-examples-plugin", + "examples/state_containers_examples" + ], + [ + "@kbn/status-plugin-a-plugin", + "test/server_integration/plugins/status_plugin_a" + ], + [ + "@kbn/status-plugin-b-plugin", + "test/server_integration/plugins/status_plugin_b" + ], + [ + "@kbn/std", + "packages/kbn-std" + ], + [ + "@kbn/stdio-dev-helpers", + "packages/kbn-stdio-dev-helpers" + ], + [ + "@kbn/storybook", + "packages/kbn-storybook" + ], + [ + "@kbn/synthetics-plugin", + "x-pack/plugins/synthetics" + ], + [ + "@kbn/task-manager-fixture-plugin", + "x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture" + ], + [ + "@kbn/task-manager-performance-plugin", + "x-pack/test/plugin_api_perf/plugins/task_manager_performance" + ], + [ + "@kbn/task-manager-plugin", + "x-pack/plugins/task_manager" + ], + [ + "@kbn/telemetry-collection-manager-plugin", + "src/plugins/telemetry_collection_manager" + ], + [ + "@kbn/telemetry-collection-xpack-plugin", + "x-pack/plugins/telemetry_collection_xpack" + ], + [ + "@kbn/telemetry-management-section-plugin", + "src/plugins/telemetry_management_section" + ], + [ + "@kbn/telemetry-plugin", + "src/plugins/telemetry" + ], + [ + "@kbn/telemetry-test-plugin", + "test/plugin_functional/plugins/telemetry" + ], + [ + "@kbn/telemetry-tools", + "packages/kbn-telemetry-tools" + ], + [ + "@kbn/test", + "packages/kbn-test" + ], + [ + "@kbn/test-feature-usage-plugin", + "x-pack/test/licensing_plugin/plugins/test_feature_usage" + ], + [ + "@kbn/test-jest-helpers", + "packages/kbn-test-jest-helpers" + ], + [ + "@kbn/test-subj-selector", + "packages/kbn-test-subj-selector" + ], + [ + "@kbn/testing-embedded-lens-plugin", + "x-pack/examples/testing_embedded_lens" + ], + [ + "@kbn/third-party-lens-navigation-prompt-plugin", + "x-pack/examples/third_party_lens_navigation_prompt" + ], + [ + "@kbn/third-party-vis-lens-example-plugin", + "x-pack/examples/third_party_vis_lens_example" + ], + [ + "@kbn/threat-intelligence-plugin", + "x-pack/plugins/threat_intelligence" + ], + [ + "@kbn/timelines-plugin", + "x-pack/plugins/timelines" + ], + [ + "@kbn/timelion-grammar", + "packages/kbn-timelion-grammar" + ], + [ + "@kbn/tinymath", + "packages/kbn-tinymath" + ], + [ + "@kbn/tooling-log", + "packages/kbn-tooling-log" + ], + [ + "@kbn/transform-plugin", + "x-pack/plugins/transform" + ], + [ + "@kbn/translations-plugin", + "x-pack/plugins/translations" + ], + [ + "@kbn/triggers-actions-ui-example-plugin", + "x-pack/examples/triggers_actions_ui_example" + ], + [ + "@kbn/triggers-actions-ui-plugin", + "x-pack/plugins/triggers_actions_ui" + ], + [ + "@kbn/ts-projects", + "packages/kbn-ts-projects" + ], + [ + "@kbn/ts-type-check-cli", + "packages/kbn-ts-type-check-cli" + ], + [ + "@kbn/typed-react-router-config", + "packages/kbn-typed-react-router-config" + ], + [ + "@kbn/ui-actions-browser", + "packages/kbn-ui-actions-browser" + ], + [ + "@kbn/ui-actions-enhanced-examples-plugin", + "x-pack/examples/ui_actions_enhanced_examples" + ], + [ + "@kbn/ui-actions-enhanced-plugin", + "src/plugins/ui_actions_enhanced" + ], + [ + "@kbn/ui-actions-examples-plugin", + "examples/ui_action_examples" + ], + [ + "@kbn/ui-actions-explorer-plugin", + "examples/ui_actions_explorer" + ], + [ + "@kbn/ui-actions-plugin", + "src/plugins/ui_actions" + ], + [ + "@kbn/ui-framework", + "packages/kbn-ui-framework" + ], + [ + "@kbn/ui-settings-plugin", + "test/plugin_functional/plugins/ui_settings_plugin" + ], + [ + "@kbn/ui-shared-deps-npm", + "packages/kbn-ui-shared-deps-npm" + ], + [ + "@kbn/ui-shared-deps-src", + "packages/kbn-ui-shared-deps-src" + ], + [ + "@kbn/ui-theme", + "packages/kbn-ui-theme" + ], + [ + "@kbn/unified-field-list-plugin", + "src/plugins/unified_field_list" + ], + [ + "@kbn/unified-histogram-plugin", + "src/plugins/unified_histogram" + ], + [ + "@kbn/unified-search-plugin", + "src/plugins/unified_search" + ], + [ + "@kbn/upgrade-assistant-plugin", + "x-pack/plugins/upgrade_assistant" + ], + [ + "@kbn/url-drilldown-plugin", + "x-pack/plugins/drilldowns/url_drilldown" + ], + [ + "@kbn/url-forwarding-plugin", + "src/plugins/url_forwarding" + ], + [ + "@kbn/usage-collection-plugin", + "src/plugins/usage_collection" + ], + [ + "@kbn/usage-collection-test-plugin", + "test/plugin_functional/plugins/usage_collection" + ], + [ + "@kbn/user-profile-components", + "packages/kbn-user-profile-components" + ], + [ + "@kbn/user-profile-examples-plugin", + "examples/user_profile_examples" + ], + [ + "@kbn/user-profiles-consumer-plugin", + "x-pack/test/security_api_integration/plugins/user_profiles_consumer" + ], + [ + "@kbn/utility-types", + "packages/kbn-utility-types" + ], + [ + "@kbn/utility-types-jest", + "packages/kbn-utility-types-jest" + ], + [ + "@kbn/utils", + "packages/kbn-utils" + ], + [ + "@kbn/ux-plugin", + "x-pack/plugins/ux" + ], + [ + "@kbn/validate-next-docs-cli", + "packages/kbn-validate-next-docs-cli" + ], + [ + "@kbn/vis-default-editor-plugin", + "src/plugins/vis_default_editor" + ], + [ + "@kbn/vis-type-gauge-plugin", + "src/plugins/vis_types/gauge" + ], + [ + "@kbn/vis-type-heatmap-plugin", + "src/plugins/vis_types/heatmap" + ], + [ + "@kbn/vis-type-markdown-plugin", + "src/plugins/vis_type_markdown" + ], + [ + "@kbn/vis-type-metric-plugin", + "src/plugins/vis_types/metric" + ], + [ + "@kbn/vis-type-pie-plugin", + "src/plugins/vis_types/pie" + ], + [ + "@kbn/vis-type-table-plugin", + "src/plugins/vis_types/table" + ], + [ + "@kbn/vis-type-tagcloud-plugin", + "src/plugins/vis_types/tagcloud" + ], + [ + "@kbn/vis-type-timelion-plugin", + "src/plugins/vis_types/timelion" + ], + [ + "@kbn/vis-type-timeseries-plugin", + "src/plugins/vis_types/timeseries" + ], + [ + "@kbn/vis-type-vega-plugin", + "src/plugins/vis_types/vega" + ], + [ + "@kbn/vis-type-vislib-plugin", + "src/plugins/vis_types/vislib" + ], + [ + "@kbn/vis-type-xy-plugin", + "src/plugins/vis_types/xy" + ], + [ + "@kbn/visualizations-plugin", + "src/plugins/visualizations" + ], + [ + "@kbn/watcher-plugin", + "x-pack/plugins/watcher" + ], + [ + "@kbn/web-worker-stub", + "packages/kbn-web-worker-stub" + ], + [ + "@kbn/whereis-pkg-cli", + "packages/kbn-whereis-pkg-cli" + ], + [ + "@kbn/yarn-lock-validator", + "packages/kbn-yarn-lock-validator" + ] +] \ No newline at end of file diff --git a/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/validation_fixtures.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/validation_fixtures.ts index 419e50bf57952..d9bccc009c211 100644 --- a/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/validation_fixtures.ts +++ b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/validation_fixtures.ts @@ -30,7 +30,6 @@ export const typedef: Partial = { count: schema.number(), }), }, - switchToModelVersionAt: '8.10.0', }; export const typedef1: Partial = { @@ -53,7 +52,6 @@ export const typedef1: Partial = { count: schema.number(), }), }, - switchToModelVersionAt: '8.10.0', modelVersions: { '1': { changes: [ @@ -96,7 +94,6 @@ export const typedef2: Partial = { foo: schema.string(), }), }, - switchToModelVersionAt: '8.10.0', modelVersions: { '1': { changes: [ diff --git a/src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.test.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.test.ts index a0e5bd3fa9bd3..6b3c472680e72 100644 --- a/src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.test.ts +++ b/src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.test.ts @@ -206,7 +206,7 @@ describe('ModelVersion map utilities', () => { }); describe('getCurrentVirtualVersion', () => { - it('returns the latest registered migration if switchToModelVersionAt is unset', () => { + it('returns the latest registered migration if modelVersions is not defined', () => { expect( getCurrentVirtualVersion( buildType({ @@ -214,19 +214,15 @@ describe('ModelVersion map utilities', () => { '7.17.2': dummyMigration, '8.6.0': dummyMigration, }, - modelVersions: { - 1: dummyModelVersion(), - }, }) ) ).toEqual('8.6.0'); }); - it('returns the virtual version of the latest model version if switchToModelVersionAt is set', () => { + it('returns the virtual version of the latest model version if the type has modelVersions', () => { expect( getCurrentVirtualVersion( buildType({ - switchToModelVersionAt: '8.7.0', migrations: { '7.17.2': dummyMigration, '8.6.0': dummyMigration, @@ -246,7 +242,6 @@ describe('ModelVersion map utilities', () => { getVirtualVersionMap([ buildType({ name: 'foo', - switchToModelVersionAt: '8.7.0', migrations: { '7.17.2': dummyMigration, '8.6.0': dummyMigration, @@ -261,16 +256,11 @@ describe('ModelVersion map utilities', () => { '7.17.2': dummyMigration, '8.6.0': dummyMigration, }, - modelVersions: { - 1: dummyModelVersion(), - }, }), buildType({ name: 'dolly', - switchToModelVersionAt: '8.7.0', - migrations: { - '7.17.2': dummyMigration, - '8.6.0': dummyMigration, + modelVersions: { + 0: dummyModelVersion(), }, }), ]) @@ -344,7 +334,7 @@ describe('ModelVersion map utilities', () => { }); describe('getLatestMappingsModelVersion', () => { - it('returns the latest registered migration if switchToModelVersionAt is unset', () => { + it('returns the latest registered migration if no model versions are defined', () => { expect( getLatestMappingsModelVersion( buildType({ @@ -352,20 +342,15 @@ describe('ModelVersion map utilities', () => { '7.17.2': dummyMigration, '8.6.0': dummyMigration, }, - modelVersions: { - 1: dummyModelVersionWithMappingsChanges(), - 2: dummyModelVersion(), - }, }) ) ).toEqual('8.6.0'); }); - it('returns the virtual version of the latest model version if switchToModelVersionAt is set', () => { + it('returns the virtual version of the latest model version if model versions are defined', () => { expect( getLatestMappingsModelVersion( buildType({ - switchToModelVersionAt: '8.7.0', migrations: { '7.17.2': dummyMigration, '8.6.0': dummyMigration, @@ -386,7 +371,6 @@ describe('ModelVersion map utilities', () => { getLatestMappingsVirtualVersionMap([ buildType({ name: 'foo', - switchToModelVersionAt: '8.7.0', migrations: { '7.17.2': dummyMigration, '8.6.0': dummyMigration, @@ -402,18 +386,14 @@ describe('ModelVersion map utilities', () => { '7.17.2': dummyMigration, '8.6.0': dummyMigration, }, - modelVersions: { - 1: dummyModelVersionWithMappingsChanges(), - 2: dummyModelVersion(), - }, }), buildType({ name: 'dolly', - switchToModelVersionAt: '8.7.0', migrations: { '7.17.2': dummyMigration, '8.6.0': dummyMigration, }, + modelVersions: { 0: dummyModelVersion() }, }), ]) ).toEqual({ diff --git a/src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.ts index 64ce3d29ec1bb..d3dcd479de6bf 100644 --- a/src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.ts +++ b/src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.ts @@ -64,12 +64,11 @@ export const getModelVersionMapForTypes = (types: SavedObjectsType[]): ModelVers /** * Returns the current virtual version for the given type. - * It will either be the latest model version if the type - * already switched to using them (switchToModelVersionAt is set), - * or the latest migration version for the type otherwise. + * It will either be the latest model version or the latest + * migration version for the type if model versions have not been declared. */ export const getCurrentVirtualVersion = (type: SavedObjectsType): string => { - if (type.switchToModelVersionAt) { + if (type.modelVersions) { const modelVersion = getLatestModelVersion(type); return modelVersionToVirtualVersion(modelVersion); } else { @@ -106,12 +105,11 @@ export const getLatestMappingsVersionNumber = (type: SavedObjectsType): number = /** * Returns the latest model version that includes changes in the mappings, for the given type. - * It will either be a model version if the type - * already switched to using them (switchToModelVersionAt is set), - * or the latest migration version for the type otherwise. + * It will either be a model version or the latest migration version + * if no changed were introduced after enforcing the switch to model versions. */ export const getLatestMappingsModelVersion = (type: SavedObjectsType): string => { - if (type.switchToModelVersionAt) { + if (type.modelVersions) { const modelVersion = getLatestMappingsVersionNumber(type); return modelVersionToVirtualVersion(modelVersion); } else { diff --git a/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/document_migrator.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/document_migrator.test.ts index 12a28f8a818f1..e12a6be1655d7 100644 --- a/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/document_migrator.test.ts +++ b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/document_migrator.test.ts @@ -1415,7 +1415,6 @@ describe('DocumentMigrator', () => { const fooType = createType({ name: 'foo', - switchToModelVersionAt: '8.5.0', modelVersions: { 1: { changes: [], @@ -1458,7 +1457,6 @@ describe('DocumentMigrator', () => { const fooType = createType({ name: 'foo', - switchToModelVersionAt: '8.5.0', modelVersions: { 1: { changes: [], diff --git a/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migration.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migration.test.ts index 9f32634c2121e..c970c13ae1b28 100644 --- a/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migration.test.ts +++ b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migration.test.ts @@ -112,75 +112,70 @@ describe('validateTypeMigrations', () => { expect(() => validate({ type })).not.toThrow(); }); - describe('when switchToModelVersionAt is specified', () => { - it('throws if a migration is specified for a version superior to switchToModelVersionAt', () => { + describe('effect of globalSwitchToModelVersionAt', () => { + it('throws if a migration is specified for a version superior to globalSwitchToModelVersionAt', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '8.9.0', migrations: { - '8.10.0': jest.fn(), + '8.11.0': jest.fn(), }, }); expect(() => - validate({ type, kibanaVersion: '8.10.0' }) + validate({ type, kibanaVersion: '8.11.0' }) ).toThrowErrorMatchingInlineSnapshot( - `"Migration for type foo for version 8.10.0 registered after switchToModelVersionAt (8.9.0)"` + `"Migration for type foo for version 8.11.0 registered after globalSwitchToModelVersionAt (8.10.0)"` ); }); - it('throws if a schema is specified for a version superior to switchToModelVersionAt', () => { + it('throws if a schema is specified for a version superior to globalSwitchToModelVersionAt', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '8.9.0', schemas: { - '8.10.0': schema.object({ name: schema.string() }), + '8.11.0': schema.object({ name: schema.string() }), }, }); expect(() => - validate({ type, kibanaVersion: '8.10.0' }) + validate({ type, kibanaVersion: '8.11.0' }) ).toThrowErrorMatchingInlineSnapshot( - `"Schema for type foo for version 8.10.0 registered after switchToModelVersionAt (8.9.0)"` + `"Schema for type foo for version 8.11.0 registered after globalSwitchToModelVersionAt (8.10.0)"` ); }); - it('throws if a migration is specified for a version equal to switchToModelVersionAt', () => { + it('throws if a migration is specified for a version equal to globalSwitchToModelVersionAt', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '8.9.0', migrations: { - '8.9.0': jest.fn(), + '8.11.0': jest.fn(), }, }); expect(() => - validate({ type, kibanaVersion: '8.10.0' }) + validate({ type, kibanaVersion: '8.11.0' }) ).toThrowErrorMatchingInlineSnapshot( - `"Migration for type foo for version 8.9.0 registered after switchToModelVersionAt (8.9.0)"` + `"Migration for type foo for version 8.11.0 registered after globalSwitchToModelVersionAt (8.10.0)"` ); }); - it('throws if a schema is specified for a version equal to switchToModelVersionAt', () => { + it('throws if a schema is specified for a version equal to globalSwitchToModelVersionAt', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '8.9.0', schemas: { - '8.9.0': schema.object({ name: schema.string() }), + '8.10.0': schema.object({ name: schema.string() }), }, }); expect(() => validate({ type, kibanaVersion: '8.10.0' }) ).toThrowErrorMatchingInlineSnapshot( - `"Schema for type foo for version 8.9.0 registered after switchToModelVersionAt (8.9.0)"` + `"Schema for type foo for version 8.10.0 registered after globalSwitchToModelVersionAt (8.10.0)"` ); }); - it('does not throw if a migration is specified for a version inferior to switchToModelVersionAt', () => { + it('does not throw if a migration is specified for a version inferior to globalSwitchToModelVersionAt', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '8.9.0', migrations: { '8.7.0': jest.fn(), }, @@ -189,10 +184,9 @@ describe('validateTypeMigrations', () => { expect(() => validate({ type, kibanaVersion: '8.10.0' })).not.toThrow(); }); - it('does not throw if a schema is specified for a version inferior to switchToModelVersionAt', () => { + it('does not throw if a schema is specified for a version inferior to globalSwitchToModelVersionAt', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '8.9.0', schemas: { '8.7.0': schema.object({ name: schema.string() }), }, @@ -203,32 +197,8 @@ describe('validateTypeMigrations', () => { }); }); - describe('switchToModelVersionAt', () => { - it('throws if the specified version is not a valid semver', () => { - const type = createType({ - name: 'foo', - switchToModelVersionAt: 'foo', - }); - - expect(() => validate({ type })).toThrowErrorMatchingInlineSnapshot( - `"Type foo: invalid version specified for switchToModelVersionAt: foo"` - ); - }); - - it('throws if the specified version defines a patch version > 0', () => { - const type = createType({ - name: 'foo', - switchToModelVersionAt: '8.9.3', - }); - - expect(() => validate({ type })).toThrowErrorMatchingInlineSnapshot( - `"Type foo: can't use a patch version for switchToModelVersionAt"` - ); - }); - }); - describe('modelVersions', () => { - it('throws if used without specifying switchToModelVersionAt', () => { + it('does not throw if used without migrations defined', () => { const type = createType({ name: 'foo', modelVersions: { @@ -236,15 +206,12 @@ describe('validateTypeMigrations', () => { }, }); - expect(() => validate({ type, kibanaVersion: '3.2.3' })).toThrowErrorMatchingInlineSnapshot( - `"Type foo: Using modelVersions requires to specify switchToModelVersionAt"` - ); + expect(() => validate({ type, kibanaVersion: '3.2.3' })).not.toThrow(); }); it('throws if the version number is invalid', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '3.1.0', modelVersions: { '1.1': someModelVersion, }, @@ -258,7 +225,6 @@ describe('validateTypeMigrations', () => { it('throws when starting with a version higher than 1', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '3.1.0', modelVersions: { '2': someModelVersion, }, @@ -272,7 +238,6 @@ describe('validateTypeMigrations', () => { it('throws when there is a gap in versions', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '3.1.0', modelVersions: { '1': someModelVersion, '3': someModelVersion, @@ -298,7 +263,7 @@ describe('validateTypeMigrations', () => { describe('modelVersions with schemas', () => { const baseSchema = schema.object({ name: schema.string() }, { unknowns: 'ignore' }); - it('throws if used without specifying switchToModelVersionAt', () => { + it('does not throw without specifying migrations', () => { const type = createType({ name: 'foo', modelVersions: { @@ -317,9 +282,7 @@ describe('validateTypeMigrations', () => { }, }); - expect(() => validate({ type, kibanaVersion: '3.2.3' })).toThrowErrorMatchingInlineSnapshot( - `"Type foo: Using modelVersions requires to specify switchToModelVersionAt"` - ); + expect(() => validate({ type, kibanaVersion: '3.2.3' })).not.toThrow(); }); it('does not throw passing a model version schema map', () => { @@ -332,7 +295,6 @@ describe('validateTypeMigrations', () => { }; const type = createType({ name: 'foo', - switchToModelVersionAt: '3.1.0', modelVersions: { '1': someModelVersionWithSchema, }, @@ -350,7 +312,6 @@ describe('validateTypeMigrations', () => { const someModelVersionWithSchema = { changes: [], schemas: {} }; const type = createType({ name: 'foo', - switchToModelVersionAt: '3.1.0', modelVersions: { '1': someModelVersionWithSchema, }, @@ -364,7 +325,6 @@ describe('validateTypeMigrations', () => { it('throws when registering mapping additions not present in the global mappings', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '8.8.0', modelVersions: { '1': { changes: [ @@ -392,7 +352,6 @@ describe('validateTypeMigrations', () => { it('does not throw when registering mapping additions are present in the global mappings with a schema', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '8.8.0', modelVersions: { '1': { changes: [ @@ -431,7 +390,6 @@ describe('validateTypeMigrations', () => { it('throws when registering mapping additions different than the global mappings', () => { const type = createType({ name: 'foo', - switchToModelVersionAt: '8.8.0', modelVersions: { '1': { changes: [ @@ -461,7 +419,6 @@ describe('validateTypeMigrations', () => { const baseSchema = schema.object({ name: schema.string() }); const type = createType({ name: 'foo', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: { changes: [], diff --git a/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migrations.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migrations.ts index 0863e3907602a..10b864d553359 100644 --- a/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migrations.ts +++ b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migrations.ts @@ -15,7 +15,10 @@ import type { SavedObjectsTypeMappingDefinition, SavedObjectsModelVersionMap, } from '@kbn/core-saved-objects-server'; -import { assertValidModelVersion } from '@kbn/core-saved-objects-base-server-internal'; +import { + assertValidModelVersion, + globalSwitchToModelVersionAt, +} from '@kbn/core-saved-objects-base-server-internal'; import { SavedObjectsModelChange, SavedObjectsModelMappingsAdditionChange, @@ -33,18 +36,6 @@ export function validateTypeMigrations({ kibanaVersion: string; convertVersion?: string; }) { - if (type.switchToModelVersionAt) { - const switchToModelVersionAt = Semver.parse(type.switchToModelVersionAt); - if (!switchToModelVersionAt) { - throw new Error( - `Type ${type.name}: invalid version specified for switchToModelVersionAt: ${type.switchToModelVersionAt}` - ); - } - if (switchToModelVersionAt.patch !== 0) { - throw new Error(`Type ${type.name}: can't use a patch version for switchToModelVersionAt`); - } - } - if (type.migrations) { assertObjectOrFunction( type.migrations, @@ -62,9 +53,9 @@ export function validateTypeMigrations({ Object.entries(migrationMap).forEach(([version, migration]) => { assertValidSemver(kibanaVersion, version, type.name); assertValidTransform(migration, version, type.name); - if (type.switchToModelVersionAt && Semver.gte(version, type.switchToModelVersionAt)) { + if (Semver.gte(version, globalSwitchToModelVersionAt)) { throw new Error( - `Migration for type ${type.name} for version ${version} registered after switchToModelVersionAt (${type.switchToModelVersionAt})` + `Migration for type ${type.name} for version ${version} registered after globalSwitchToModelVersionAt (${globalSwitchToModelVersionAt})` ); } }); @@ -79,9 +70,9 @@ export function validateTypeMigrations({ Object.entries(schemaMap).forEach(([version, schema]) => { assertValidSemver(kibanaVersion, version, type.name); - if (type.switchToModelVersionAt && Semver.gte(version, type.switchToModelVersionAt)) { + if (Semver.gte(version, globalSwitchToModelVersionAt)) { throw new Error( - `Schema for type ${type.name} for version ${version} registered after switchToModelVersionAt (${type.switchToModelVersionAt})` + `Schema for type ${type.name} for version ${version} registered after globalSwitchToModelVersionAt (${globalSwitchToModelVersionAt})` ); } }); @@ -92,9 +83,9 @@ export function validateTypeMigrations({ typeof type.modelVersions === 'function' ? type.modelVersions() : type.modelVersions ?? {}; if (Object.keys(modelVersionMap).length > 0) { - if (!type.switchToModelVersionAt) { + if (!globalSwitchToModelVersionAt) { throw new Error( - `Type ${type.name}: Using modelVersions requires to specify switchToModelVersionAt` + `Type ${type.name}: Using modelVersions requires to specify globalSwitchToModelVersionAt` ); } diff --git a/src/core/packages/saved-objects/migration-server-internal/src/initial_state.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/initial_state.test.ts index 549c448bca3df..1ad8928f0d616 100644 --- a/src/core/packages/saved-objects/migration-server-internal/src/initial_state.test.ts +++ b/src/core/packages/saved-objects/migration-server-internal/src/initial_state.test.ts @@ -82,7 +82,6 @@ describe('createInitialState', () => { changes: [], }, }, - switchToModelVersionAt: '8.10.0', }); typeRegistry.registerType({ name: 'bar', @@ -99,7 +98,6 @@ describe('createInitialState', () => { changes: [{ type: 'mappings_addition', addedMappings: {} }], }, }, - switchToModelVersionAt: '8.10.0', }); docLinks = docLinksServiceMock.createSetupContract(); logger = mockLogger.get(); diff --git a/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/build_index_mappings.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/build_index_mappings.test.ts index 59d3430d6ce14..807efc347dbbb 100644 --- a/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/build_index_mappings.test.ts +++ b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/build_index_mappings.test.ts @@ -13,7 +13,6 @@ import { createType } from '../test_helpers'; const getTestTypes = () => { const foo = createType({ name: 'foo', - switchToModelVersionAt: '8.7.0', modelVersions: { 1: { changes: [] }, 2: { changes: [] }, @@ -22,7 +21,6 @@ const getTestTypes = () => { }); const bar = createType({ name: 'bar', - switchToModelVersionAt: '8.7.0', modelVersions: { 1: { changes: [] }, }, @@ -30,7 +28,6 @@ const getTestTypes = () => { }); const dolly = createType({ name: 'dolly', - switchToModelVersionAt: '8.7.0', modelVersions: () => ({ 1: { changes: [] }, 2: { changes: [] }, diff --git a/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.ts index 125947acbcc2f..82ccc414eea01 100644 --- a/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.ts +++ b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.ts @@ -34,7 +34,6 @@ describe('generateAdditiveMappingDiff', () => { const getTypes = () => { const foo = createType({ name: 'foo', - switchToModelVersionAt: '8.0.0', modelVersions: { 1: stubModelVersion, 2: stubModelVersion, diff --git a/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/outdated_documents_query.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/outdated_documents_query.test.ts index 539dc9c55af85..9156f4582a6dc 100644 --- a/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/outdated_documents_query.test.ts +++ b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/outdated_documents_query.test.ts @@ -21,7 +21,6 @@ describe('getOutdatedDocumentsQuery', () => { it('generates the correct query for types using model versions', () => { const fooType = createType({ name: 'foo', - switchToModelVersionAt: '8.8.0', modelVersions: { 1: dummyModelVersion, 2: dummyModelVersion, @@ -29,7 +28,6 @@ describe('getOutdatedDocumentsQuery', () => { }); const barType = createType({ name: 'bar', - switchToModelVersionAt: '8.8.0', modelVersions: { 1: dummyModelVersion, 2: dummyModelVersion, @@ -160,7 +158,6 @@ describe('getOutdatedDocumentsQuery', () => { '7.17.2': dummyMigration, '8.5.0': dummyMigration, }, - switchToModelVersionAt: '8.8.0', modelVersions: { 1: dummyModelVersion, 2: dummyModelVersion, diff --git a/src/core/packages/saved-objects/server-internal/src/apply_type_defaults.test.ts b/src/core/packages/saved-objects/server-internal/src/apply_type_defaults.test.ts deleted file mode 100644 index f3a54dde6749d..0000000000000 --- a/src/core/packages/saved-objects/server-internal/src/apply_type_defaults.test.ts +++ /dev/null @@ -1,62 +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". - */ - -import type { SavedObjectsType } from '@kbn/core-saved-objects-server'; -import { globalSwitchToModelVersionAt } from '@kbn/core-saved-objects-base-server-internal'; -import { applyTypeDefaults } from './apply_type_defaults'; - -const createType = (parts: Partial = {}): SavedObjectsType => ({ - name: 'test', - namespaceType: 'single', - hidden: false, - mappings: { properties: {} }, - ...parts, -}); - -describe('applyTypeDefaults', () => { - describe('switchToModelVersionAt', () => { - it(`keeps the type's switchToModelVersionAt if lesser than the global version`, () => { - const type = createType({ - switchToModelVersionAt: '8.4.0', - }); - - const result = applyTypeDefaults(type); - expect(result.switchToModelVersionAt).toEqual('8.4.0'); - }); - - it(`sets switchToModelVersionAt to the global version if unspecified`, () => { - const type = createType({ - switchToModelVersionAt: undefined, - }); - - const result = applyTypeDefaults(type); - expect(result.switchToModelVersionAt).toEqual(globalSwitchToModelVersionAt); - }); - - it(`throws if switchToModelVersionAt is invalid`, () => { - const type = createType({ - switchToModelVersionAt: 'foobar', - }); - - expect(() => applyTypeDefaults(type)).toThrowErrorMatchingInlineSnapshot( - `"Type test: invalid switchToModelVersionAt provided: foobar"` - ); - }); - - it(`throws if type version is greater than the global version`, () => { - const type = createType({ - switchToModelVersionAt: '9.2.0', - }); - - expect(() => applyTypeDefaults(type)).toThrowErrorMatchingInlineSnapshot( - `"Type test: provided switchToModelVersionAt (9.2.0) is higher than maximum (8.10.0)"` - ); - }); - }); -}); diff --git a/src/core/packages/saved-objects/server-internal/src/apply_type_defaults.ts b/src/core/packages/saved-objects/server-internal/src/apply_type_defaults.ts deleted file mode 100644 index 0643179211010..0000000000000 --- a/src/core/packages/saved-objects/server-internal/src/apply_type_defaults.ts +++ /dev/null @@ -1,38 +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". - */ - -import Semver from 'semver'; -import type { SavedObjectsType } from '@kbn/core-saved-objects-server'; -import { globalSwitchToModelVersionAt } from '@kbn/core-saved-objects-base-server-internal'; - -/** - * Apply global defaults to the provided SO type. - */ -export const applyTypeDefaults = (type: SavedObjectsType): SavedObjectsType => { - let switchToModelVersionAt = type.switchToModelVersionAt; - if (switchToModelVersionAt) { - if (!Semver.valid(switchToModelVersionAt)) { - throw new Error( - `Type ${type.name}: invalid switchToModelVersionAt provided: ${switchToModelVersionAt}` - ); - } - if (Semver.gt(switchToModelVersionAt, globalSwitchToModelVersionAt)) { - throw new Error( - `Type ${type.name}: provided switchToModelVersionAt (${switchToModelVersionAt}) is higher than maximum (${globalSwitchToModelVersionAt})` - ); - } - } else { - switchToModelVersionAt = globalSwitchToModelVersionAt; - } - - return { - ...type, - switchToModelVersionAt, - }; -}; diff --git a/src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.mocks.ts b/src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.mocks.ts index ebd4f541b063a..d40a09daa580e 100644 --- a/src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.mocks.ts +++ b/src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.mocks.ts @@ -51,12 +51,3 @@ export const registerRoutesMock = jest.fn(); jest.doMock('./routes', () => ({ registerRoutes: registerRoutesMock, })); - -export const applyTypeDefaultsMock = jest.fn(); -jest.doMock('./apply_type_defaults', () => { - const actual = jest.requireActual('./apply_type_defaults'); - return { - ...actual, - applyTypeDefaults: applyTypeDefaultsMock, - }; -}); diff --git a/src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.ts b/src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.ts index 70e8fcf17c797..0c9aab0a2b3fc 100644 --- a/src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.ts +++ b/src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.ts @@ -17,7 +17,6 @@ import { migratorInstanceMock, registerRoutesMock, typeRegistryInstanceMock, - applyTypeDefaultsMock, } from './saved_objects_service.test.mocks'; import { BehaviorSubject, firstValueFrom, EMPTY } from 'rxjs'; import { skip } from 'rxjs'; @@ -71,7 +70,6 @@ describe('SavedObjectsService', () => { beforeEach(() => { deprecationsSetup = createDeprecationRegistryProviderMock(); - applyTypeDefaultsMock.mockReset().mockImplementation((type: unknown) => type); }); const createCoreContext = ({ @@ -346,50 +344,21 @@ describe('SavedObjectsService', () => { }); describe('#registerType', () => { - it('calls `applyTypeDefaults` with the correct parameters', async () => { + it('registers the type to the internal typeRegistry', async () => { // we mocked registerCoreObjectTypes above, so this test case only reflects direct calls to the registerType method const coreContext = createCoreContext(); const soService = new SavedObjectsService(coreContext); const setup = await soService.setup(createSetupDeps()); - const inputType = { + const type = { name: 'someType', hidden: false, namespaceType: 'single' as 'single', mappings: { properties: {} }, }; - - applyTypeDefaultsMock.mockReturnValue(inputType); - - setup.registerType(inputType); - - expect(applyTypeDefaultsMock).toHaveBeenCalledTimes(1); - expect(applyTypeDefaultsMock).toHaveBeenCalledWith(inputType); - }); - - it('registers the type returned by `applyTypeDefaults` to the internal typeRegistry', async () => { - // we mocked registerCoreObjectTypes above, so this test case only reflects direct calls to the registerType method - const coreContext = createCoreContext(); - const soService = new SavedObjectsService(coreContext); - const setup = await soService.setup(createSetupDeps()); - - const inputType = { - name: 'someType', - hidden: false, - namespaceType: 'single' as 'single', - mappings: { properties: {} }, - }; - const returnedType = { - ...inputType, - switchToModelVersionAt: '9.9.9', - }; - - applyTypeDefaultsMock.mockReturnValue(returnedType); - - setup.registerType(inputType); - + setup.registerType(type); expect(typeRegistryInstanceMock.registerType).toHaveBeenCalledTimes(1); - expect(typeRegistryInstanceMock.registerType).toHaveBeenCalledWith(returnedType); + expect(typeRegistryInstanceMock.registerType).toHaveBeenCalledWith(type); }); }); diff --git a/src/core/packages/saved-objects/server-internal/src/saved_objects_service.ts b/src/core/packages/saved-objects/server-internal/src/saved_objects_service.ts index 04be2f5929f0b..eb64e142721c3 100644 --- a/src/core/packages/saved-objects/server-internal/src/saved_objects_service.ts +++ b/src/core/packages/saved-objects/server-internal/src/saved_objects_service.ts @@ -64,7 +64,6 @@ import { registerRoutes } from './routes'; import { calculateStatus$ } from './status'; import { registerCoreObjectTypes } from './object_types'; import { getSavedObjectsDeprecationsProvider } from './deprecations'; -import { applyTypeDefaults } from './apply_type_defaults'; import { getAllIndices } from './utils'; import { MIGRATION_CLIENT_OPTIONS } from './constants'; @@ -219,7 +218,7 @@ export class SavedObjectsService if (this.started) { throw new Error('cannot call `registerType` after service startup.'); } - this.typeRegistry.registerType(applyTypeDefaults(type)); + this.typeRegistry.registerType(type); }, getTypeRegistry: () => this.typeRegistry, getDefaultIndex: () => MAIN_SAVED_OBJECT_INDEX, diff --git a/src/core/packages/saved-objects/server/docs/model_versions.md b/src/core/packages/saved-objects/server/docs/model_versions.md index f3d67d6d299de..83796ac658ee6 100644 --- a/src/core/packages/saved-objects/server/docs/model_versions.md +++ b/src/core/packages/saved-objects/server/docs/model_versions.md @@ -100,7 +100,6 @@ That way: ```ts const myType: SavedObjectsType = { name: 'test', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: modelVersion1, // valid: start with version 1 2: modelVersion2, // valid: no gap between versions @@ -113,7 +112,6 @@ const myType: SavedObjectsType = { ```ts const myType: SavedObjectsType = { name: 'test', - switchToModelVersionAt: '8.10.0', modelVersions: { 2: modelVersion2, // invalid: first version must be 1 4: modelVersion3, // invalid: skipped version 3 @@ -132,7 +130,6 @@ are not just functions as the previous migrations were, but structured objects d ```ts const myType: SavedObjectsType = { name: 'test', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: { changes: [ @@ -373,7 +370,6 @@ The definition of the type at version 1 would look like: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { // initial (and current) model version 1: { @@ -431,7 +427,6 @@ The full type definition after the addition of the new model version: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: { changes: [], @@ -523,7 +518,6 @@ the full type definition after the addition of the model version 2 would be: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: { changes: [ @@ -619,7 +613,6 @@ The full type definition would look like: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: { changes: [ @@ -689,7 +682,6 @@ The definition of the type at version 1 would look like: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { // initial (and current) model version 1: { @@ -763,7 +755,6 @@ The full type definition after the addition of the new model version: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { // initial (and current) model version 1: { @@ -831,7 +822,6 @@ The full type definition after the data removal would look like: const myType: SavedObjectsType = { name: 'test', namespaceType: 'single', - switchToModelVersionAt: '8.10.0', modelVersions: { // initial (and current) model version 1: { diff --git a/src/core/packages/saved-objects/server/src/saved_objects_type.ts b/src/core/packages/saved-objects/server/src/saved_objects_type.ts index 3f009ce5943f9..3a01fc205a47c 100644 --- a/src/core/packages/saved-objects/server/src/saved_objects_type.ts +++ b/src/core/packages/saved-objects/server/src/saved_objects_type.ts @@ -190,60 +190,6 @@ export interface SavedObjectsType { * ``` */ modelVersions?: SavedObjectsModelVersionMap | SavedObjectsModelVersionMapProvider; - - /** - * Allows to opt-in to the model version API. - * - * Must be a valid semver version (with the patch version being necessarily 0) - * - * When specified, the type will switch from using the {@link SavedObjectsType.migrations | legacy migration API} - * to use the {@link SavedObjectsType.modelVersions | modelVersion API} after the specified version. - * - * Once opted in, it will no longer be possible to use the legacy migration API after the specified version. - * - * @example A **valid** usage example would be: - * - * ```ts - * { - * name: 'foo', - * // other mandatory attributes... - * switchToModelVersionAt: '8.8.0', - * migrations: { - * '8.1.0': migrateTo810, - * '8.7.0': migrateTo870, - * }, - * modelVersions: { - * '1': modelVersion1 - * } - * } - * ``` - * - * @example An **invalid** usage example would be: - * - * ```ts - * { - * name: 'foo', - * // other mandatory attributes... - * switchToModelVersionAt: '8.9.0', - * migrations: { - * '8.1.0': migrateTo8_1, - * '8.9.0': migrateTo8_9, // error: migration registered for the switch version - * '8.10.0': migrateTo8_10, // error: migration registered for after the switch version - * }, - * modelVersions: { - * '1': modelVersion1 - * } - * } - * ``` - * - * Please refer to the {@link SavedObjectsType.modelVersions | modelVersion API} for more documentation on - * the new API. - * - * @remarks All types will be forced to switch to use the new API during `8.10.0`. This switch is - * allowing types owners to switch their types before the milestone (and for testing purposes). - */ - switchToModelVersionAt?: string; - /** * Function returning the title to display in the management table. * If not defined, will use the object's type and id to generate a label. diff --git a/src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.test.ts b/src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.test.ts index 207c50dad4658..f7bfa713dc4e0 100644 --- a/src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.test.ts +++ b/src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.test.ts @@ -161,15 +161,6 @@ describe('extractMigrationInfo', () => { }); describe('modelVersions', () => { - it('returns the correct switchToModelVersionAt', () => { - const type = createType({ - switchToModelVersionAt: '8.8.0', - }); - const output = extractMigrationInfo(type); - - expect(output.switchToModelVersionAt).toEqual('8.8.0'); - }); - it('returns a proper summary of the model versions', () => { const type = createType({ modelVersions: { @@ -319,7 +310,6 @@ describe('extractMigrationInfo', () => { it('returns the correct values for schemas', () => { const type = createType({ - switchToModelVersionAt: '8.8.0', modelVersions: { 1: { changes: [], @@ -374,7 +364,6 @@ describe('extractMigrationInfo', () => { ], }, }, - switchToModelVersionAt: '8.8.0', }); const output = extractMigrationInfo(type); @@ -382,7 +371,6 @@ describe('extractMigrationInfo', () => { expect(output).toEqual( expect.objectContaining({ migrationVersions: ['7.17.7', '8.0.2', '8.3.3'], - switchToModelVersionAt: '8.8.0', modelVersions: [ { version: '1', diff --git a/src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.ts b/src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.ts index 41da158916144..9fcc90e11ff19 100644 --- a/src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.ts +++ b/src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.ts @@ -80,7 +80,6 @@ export const extractMigrationInfo = (soType: SavedObjectsType): SavedObjectTypeM mappings: getFlattenedObject(soType.mappings ?? {}), hasExcludeOnUpgrade: !!soType.excludeOnUpgrade, modelVersions, - switchToModelVersionAt: soType.switchToModelVersionAt, }; }; diff --git a/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts b/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts index c202529d692c2..d5d039d0e8aab 100644 --- a/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts +++ b/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts @@ -59,134 +59,136 @@ describe('checking migration metadata changes on all registered SO types', () => expect(hashMap).toMatchInlineSnapshot(` Object { - "action": "0e6fc0b74c7312a8c11ff6b14437b93a997358b8", - "action_task_params": "2e475d8b62e2de50b77f58cda309efb537e1d543", - "ad_hoc_run_params": "c7419760e878207231c3c8a25ec4d78360e07bf7", - "alert": "c5a135d2aca71f56103e9ccba00d6675b0586c82", - "api_key_pending_invalidation": "8f5554d1984854011b8392d9a6f7ef985bcac03c", - "apm-custom-dashboards": "b67128f78160c288bd7efe25b2da6e2afd5e82fc", - "apm-indices": "8a2d68d415a4b542b26b0d292034a28ffac6fed4", - "apm-server-schema": "58a8c6468edae3d1dc520f0134f59cf3f4fd7eff", - "apm-service-group": "66dfc1ddd40bad8f693c873bf6002ca30079a4ae", - "apm-telemetry": "4df255b8b022f5d160687db736b9abcd6ab173fe", - "app_search_telemetry": "36234f19573ad397ac30197c45ac219921cc3106", - "application_usage_daily": "20142d23fe5d05ba22b4bc46614d99883bc488f0", - "application_usage_totals": "a29ab014edc20382b9ce22ede221b18cee5d93a6", - "background-task-node": "e61f0ea9923fa05b3af0aae6c6baf2f0283e14b3", - "canvas-element": "cdedc2123eb8a1506b87a56b0bcce60f4ec08bc8", - "canvas-workpad": "9d82aafb19586b119e5c9382f938abe28c26ca5c", - "canvas-workpad-template": "c077b0087346776bb3542b51e1385d172cb24179", - "cases": "91771732e2e488e4c1b1ac468057925d1c6b32b5", - "cases-comments": "5cb0a421588831c2a950e50f486048b8aabbae25", - "cases-configure": "44ed7b8e0f44df39516b8870589b89e32224d2bf", - "cases-connector-mappings": "f9d1ac57e484e69506c36a8051e4d61f4a8cfd25", - "cases-rules": "6d1776f5c46a99e1a0f3085c537146c1cdfbc829", - "cases-telemetry": "f219eb7e26772884342487fc9602cfea07b3cedc", - "cases-user-actions": "483f10db9b3bd1617948d7032a98b7791bf87414", - "cloud": "b549f4f7ab1fd41aab366a66afa52a2a008aefea", - "cloud-security-posture-settings": "e0f61c68bbb5e4cfa46ce8994fa001e417df51ca", - "config": "0ff10ca7b058b5775556688280b48347cb18e281", - "config-global": "8e8a134a2952df700d7d4ec51abb794bbd4cf6da", - "connector_token": "79977ea2cb1530ba7e315b95c1b5a524b622a6b3", + "action": "696d997e420024a8cf973da94d905c8756e1177c", + "action_task_params": "cd91a48515202852ebf1fed0d999cd96f6b2823e", + "ad_hoc_run_params": "690b8991f48c73a04e6a8cf41fd4967a42f8e552", + "alert": "1dcfa1391ca9e31e9b71e4e1785fb1f5da3f9c96", + "api_key_pending_invalidation": "cef0693ec88475a0e1f43614cfa6ca43c24d0338", + "apm-custom-dashboards": "9b08d5d5222131c6981a70144b1d61648757a613", + "apm-indices": "b844821e9675768b1cb78f6d91ff336ed09d4739", + "apm-server-schema": "6ee813dd2407b061b4eeda92c5f695d3bf9827df", + "apm-service-group": "3843d13e18dd2071d68de0cec9787eb0f83f6af5", + "apm-telemetry": "9c02ac4e9778422cb7f66a4d6b62f672df4644cc", + "app_search_telemetry": "9269643c9a5894998b44883f7f7d07a453fd6a95", + "application_usage_daily": "9867f6e1355124f822beab051e0fbac4cc117eac", + "application_usage_totals": "9469a48ab887761a73ee3719b8d401ac627f1eb1", + "background-task-node": "1c7a5767b34d1b5672758b604296f662bde68d0a", + "canvas-element": "288fd8d216eb49cbeb5e8f7491f207ef074b80dd", + "canvas-workpad": "5cd605383a100a27941cca6cbf2d954aa96a16e2", + "canvas-workpad-template": "f9a6ffab76ddfcd8fa3823002aa576c8f1d0e686", + "cases": "193f4d0f5e9f1e3f62852eab15add6220bdf2b0c", + "cases-comments": "9e336aceb6a330452d1cbf0ba1b8fd542c9e3856", + "cases-configure": "66d4c64d83b464f5166005b8ffa03b721fcaaf8b", + "cases-connector-mappings": "877bb4d52e9821e330622bd75fba799490ec6952", + "cases-rules": "24c69413a726f1b4c37c000acc4216ff046af59f", + "cases-telemetry": "fdeddcef28c75d8c66422475a829e75d37f0b668", + "cases-user-actions": "8ad74294b71edffa58fad7a40eea2388209477c9", + "cloud": "783f93b25887278becdf83841addd4e726550a51", + "cloud-security-posture-settings": "20453bee65db286a2cc1994e65cf4d7297d8173e", + "config": "7cb03ac2211a1a8a17a622632b6e6858e758aabb", + "config-global": "d9791e8f73edee884630e1cb6e4954ae513ce75e", + "connector_token": "e25821ecec3061806a6a9d4953273c18a749cc0f", "core-usage-stats": "b3c04da317c957741ebcdedfea4524049fdc79ff", - "csp-rule-template": "c151324d5f85178169395eecb12bac6b96064654", - "dashboard": "211e9ca30f5a95d5f3c27b1bf2b58e6cfa0c9ae9", - "dynamic-config-overrides": "eb3ec7d96a42991068eda5421eecba9349c82d2b", - "endpoint:unified-user-artifact-manifest": "71c7fcb52c658b21ea2800a6b6a76972ae1c776e", - "endpoint:user-artifact-manifest": "1c3533161811a58772e30cdc77bac4631da3ef2b", - "enterprise_search_telemetry": "9ac912e1417fc8681e0cd383775382117c9e3d3d", - "entity-definition": "1c6bff35c423d5dc5650bc806cf2899e4706a0bc", - "entity-discovery-api-key": "c267a65c69171d1804362155c1378365f5acef88", - "entity-engine-status": "09f6a617020708e4f638137e5ef35bd9534133be", - "epm-packages": "8042d4a1522f6c4e6f5486e791b3ffe3a22f88fd", - "epm-packages-assets": "7a3e58efd9a14191d0d1a00b8aaed30a145fd0b1", - "event-annotation-group": "715ba867d8c68f3c9438052210ea1c30a9362582", - "event_loop_delays_daily": "01b967e8e043801357503de09199dfa3853bab88", - "exception-list": "4aebc4e61fb5d608cae48eaeb0977e8db21c61a4", - "exception-list-agnostic": "6d3262d58eee28ac381ec9654f93126a58be6f5d", - "favorites": "e9773d802932ea85547b120e0efdd9a4f11ff4c6", - "file": "6b65ae5899b60ebe08656fd163ea532e557d3c98", - "file-upload-usage-collection-telemetry": "06e0a8c04f991e744e09d03ab2bd7f86b2088200", - "fileShare": "5be52de1747d249a221b5241af2838264e19aaa1", - "fleet-agent-policies": "4a5c6477d2a61121e95ea9865ed1403a28c38706", - "fleet-fleet-server-host": "69be15f6b6f2a2875ad3c7050ddea7a87f505417", - "fleet-message-signing-keys": "93421f43fed2526b59092a4e3c65d64bc2266c0f", - "fleet-package-policies": "8173220091e28ff4afa8238bb37749599378f9e5", - "fleet-preconfiguration-deletion-record": "c52ea1e13c919afe8a5e8e3adbb7080980ecc08e", - "fleet-proxy": "6cb688f0d2dd856400c1dbc998b28704ff70363d", - "fleet-setup-lock": "0dc784792c79b5af5a6e6b5dcac06b0dbaa90bde", - "fleet-space-settings": "b278e82a33978900e53a1253884b5bdbd929c9bb", - "fleet-uninstall-tokens": "371a691206845b364bcf6d3693ca7905ffdb71a4", - "graph-workspace": "5cc6bb1455b078fd848c37324672163f09b5e376", - "guided-onboarding-guide-state": "d338972ed887ac480c09a1a7fbf582d6a3827c91", - "guided-onboarding-plugin-state": "bc109e5ef46ca594fdc179eda15f3095ca0a37a4", - "index-pattern": "997108a9ea1e8076e22231e1c95517cdb192b9c5", - "infra-custom-dashboards": "1a5994f2e05bb8a1609825ddbf5012f77c5c67f3", - "infrastructure-monitoring-log-view": "5f86709d3c27aed7a8379153b08ee5d3d90d77f5", - "infrastructure-ui-source": "113182d6895764378dfe7fa9fa027244f3a457c4", - "ingest-agent-policies": "57ebfb047cf0b81c6fa0ceed8586fa7199c7c5e2", - "ingest-download-sources": "279a68147e62e4d8858c09ad1cf03bd5551ce58d", - "ingest-outputs": "55988d5f778bbe0e76caa7e6468707a0a056bdd8", - "ingest-package-policies": "870f8c21fe3602f31075430a1fdfb052c62d4a14", - "ingest_manager_settings": "111a616eb72627c002029c19feb9e6c439a10505", - "inventory-view": "fd2b7fe713956f261018dded00d8f8c986417763", - "kql-telemetry": "93c1d16c1a0dfca9c8842062cf5ef8f62ae401ad", + "csp-rule-template": "0cc86d4eb9f4eaf0e9ceab42a4c18a9ff9a43526", + "dashboard": "6b768591e1fe390b9a358db017cb26cb2357807f", + "dynamic-config-overrides": "ac104a1a4498f8d2e477681d9fb43449b4c56afa", + "endpoint:unified-user-artifact-manifest": "4237f2cc2dbbc28504c70f1c2965b5f23710f9cb", + "endpoint:user-artifact-manifest": "8ad9bd235dcfdc18b567aef0dc36ac686193dc89", + "enterprise_search_telemetry": "4b41830e3b28a16eb92dee0736b44ae6276ced9b", + "entity-definition": "02ea6a34291d939262c45f4f81da01249ba13753", + "entity-discovery-api-key": "094f1eae0e069e5f8bf2523db1a14072a8e29271", + "entity-engine-status": "49fb6dc6d70a935572faf4593800477beeccd120", + "epm-packages": "1e236a1656734cc16f45946a48bfed2134799f7d", + "epm-packages-assets": "00c8b5e5bf059627ffc9fbde920e1ac75926c5f6", + "event-annotation-group": "c67d5863d7cac02d800c543724ef29b66d12e77e", + "event_loop_delays_daily": "ef49e7f15649b551b458c7ea170f3ed17f89abd0", + "exception-list": "38181294f64fc406c15f20d85ca306c8a4feb3c0", + "exception-list-agnostic": "d527ce9d12b134cb163150057b87529043a8ec77", + "favorites": "a4db4c97692e8468c96abac1cbd2b9d57150f173", + "file": "487a562dd895407307980cc4404ca08e87e8999d", + "file-upload-usage-collection-telemetry": "c6fcb9a7efcf19b2bb66ca6e005bfee8961f6073", + "fileShare": "f07d346acbb724eacf139a0fb781c38dc5280115", + "fleet-agent-policies": "a977f4de060fc15e49148e4c26680d1dee5c5205", + "fleet-fleet-server-host": "795c0e79438a260bd860419454bcc432476d4396", + "fleet-message-signing-keys": "0c6da6a680807e568540b2aa263ae52331ba66db", + "fleet-package-policies": "be03d7cf73c3757a1bf65cbf77a5a4ff809ae682", + "fleet-preconfiguration-deletion-record": "3afad160748b430427086985a3445fd8697566d5", + "fleet-proxy": "94d0a902a0fd22578d7d3a20873b95d902e25245", + "fleet-setup-lock": "ce9a2dcfb2e6f7260d129636a26c9ca98b13e464", + "fleet-space-settings": "b8f60506cf5fea1429ad84dfb8644cf261fd7427", + "fleet-uninstall-tokens": "216be68d8426052f9e7529e2e0569b7950676537", + "graph-workspace": "565642a208fe7413b487aea979b5b153e4e74abe", + "guided-onboarding-guide-state": "3257825ae840309cb676d64b347107db7b76f30a", + "guided-onboarding-plugin-state": "2d3ef3069ca8e981cafe8647c0c4a4c20739db10", + "index-pattern": "cd51191712081278c2af83d16552c3438ef83353", + "infra-custom-dashboards": "20231f5c1a13633c8c85f4e1257fa0c6156f6714", + "infrastructure-monitoring-log-view": "8040108f02ef27419cff79077384379709d44bbc", + "infrastructure-ui-source": "2311f7d0abe2a713aa71e30ee24f78828d4acfc1", + "ingest-agent-policies": "11945ce3f87ad242d6fc89509c4318dae74008cc", + "ingest-download-sources": "e6b6c76a67a1882c861177ee9e8ff2c607b7eeea", + "ingest-outputs": "f92200366d6b9f142a81f094154e17987910c535", + "ingest-package-policies": "c12bdd0a3d35255265d501e3ab0e266579b5fbbf", + "ingest_manager_settings": "164096e0a8957ad8e7a298372c27035e73bf3bb6", + "inventory-view": "e125c6e6e49729055421e7b3a0544f24330d8dc6", + "kql-telemetry": "92d6357aa3ce28727492f86a54783f802dc38893", "legacy-url-alias": "9b8cca3fbb2da46fd12823d3cd38fdf1c9f24bc8", - "lens": "5cfa2c52b979b4f8df56dd13c477e152183468b9", - "lens-ui-telemetry": "8c47a9e393861f76e268345ecbadfc8a5fb1e0bd", - "links": "1dd432cc94619a513b75cec43660a50be7aadc90", - "maintenance-window": "b84d9e0b3f89be0ae4b6fe1af6e38b4cd2554931", - "map": "76c71023bd198fb6b1163b31bafd926fe2ceb9da", - "metrics-data-source": "81b69dc9830699d9ead5ac8dcb9264612e2a3c89", - "metrics-explorer-view": "98cf395d0e87b89ab63f173eae16735584a8ff42", - "ml-job": "150e1ab260e87f9963cc99e013304b9c54703dab", - "ml-module": "94f210e60504fe0cc8241d867af97f8130250359", - "ml-trained-model": "482195cefd6b04920e539d34d7356d22cb68e4f3", - "monitoring-telemetry": "5d91bf75787d9d4dd2fae954d0b3f76d33d2e559", - "observability-onboarding-state": "34eef666124a9e4ad1c607d0097cc25128764681", - "osquery-manager-usage-metric": "983bcbc3b7dda0aad29b20907db233abba709bcc", - "osquery-pack": "702e86b1a936153b39f65b0781bdc136e186e123", - "osquery-pack-asset": "cd140bc2e4b092e93692b587bf6e38051ef94c75", - "osquery-saved-query": "6095e288750aa3164dfe186c74bc5195c2bf2bd4", - "policy-settings-protection-updates-note": "33924bb246f9e5bcb876109cc83e3c7a28308352", - "product-doc-install-status": "ca6e96840228e4cc2f11bae24a0797f4f7238c8c", - "query": "501bece68f26fe561286a488eabb1a8ab12f1137", - "risk-engine-configuration": "bab237d09c2e7189dddddcb1b28f19af69755efb", - "rules-settings": "ba57ef1881b3dcbf48fbfb28902d8f74442190b2", - "sample-data-telemetry": "37441b12f5b0159c2d6d5138a494c9f440e950b5", - "search": "0aa6eefb37edd3145be340a8b67779c2ca578b22", - "search-session": "b2fcd840e12a45039ada50b1355faeafa39876d1", - "search-telemetry": "b568601618744720b5662946d3103e3fb75fe8ee", - "security-ai-prompt": "cc8ee5aaa9d001e89c131bbd5af6bc80bc271046", - "security-rule": "07abb4d7e707d91675ec0495c73816394c7b521f", - "security-solution-signals-migration": "9d99715fe5246f19de2273ba77debd2446c36bb1", - "siem-detection-engine-rule-actions": "54f08e23887b20da7c805fab7c60bc67c428aff9", - "siem-ui-timeline": "d3de8ff3617be8f2a799d66b1471b9be6124bf40", - "siem-ui-timeline-note": "0a32fb776907f596bedca292b8c646496ae9c57b", - "siem-ui-timeline-pinned-event": "082daa3ce647b33873f6abccf340bdfa32057c8d", - "slo": "9a9995e4572de1839651c43b5fc4dc8276bb5815", - "slo-settings": "f6b5ed339470a6a2cda272bde1750adcf504a11b", - "space": "953a72d8962d829e7ea465849297c5e44d8e9a2d", - "spaces-usage-stats": "3abca98713c52af8b30300e386c7779b3025a20e", - "synthetics-dynamic-settings": "4b40a93eb3e222619bf4e7fe34a9b9e7ab91a0a7", - "synthetics-monitor": "5ceb25b6249bd26902c9b34273c71c3dce06dbea", - "synthetics-param": "3ebb744e5571de678b1312d5c418c8188002cf5e", - "synthetics-private-location": "8cecc9e4f39637d2f8244eb7985c0690ceab24be", - "synthetics-privates-locations": "f53d799d5c9bc8454aaa32c6abc99a899b025d5c", - "tag": "e2544392fe6563e215bb677abc8b01c2601ef2dc", - "task": "ca8020259e46f713965a754ffae286c02d3cf05d", - "telemetry": "7b00bcf1c7b4f6db1192bb7405a6a63e78b699fd", - "threshold-explorer-view": "175306806f9fc8e13fcc1c8953ec4ba89bda1b70", - "ui-metric": "d227284528fd19904e9d972aea0a13716fc5fe24", - "upgrade-assistant-ml-upgrade-operation": "421f52731cb24e242d70672ba4725e169277efb3", - "upgrade-assistant-reindex-operation": "01f3c3e051659ace56492a73928987e717537a93", - "uptime-dynamic-settings": "b6756ff71d6b5258971b1c8fd433d167affbde52", - "uptime-synthetics-api-key": "7ae976a461248f9dbd8442af14a179bdbc229eca", - "url": "c923a4a5002a09c0080c9095e958f07d518e6704", - "usage-counter": "1690e9b642393c467e560fd14dd317dea24a14ee", - "usage-counters": "48782b3bcb6b5a23ba6f2bfe3a380d835e68890a", - "visualization": "93a3e73994ad836fe2b1dccbe208238f41f63da0", - "workplace_search_telemetry": "52b32b47ee576f554ac77cb1d5896dfbcfe9a1fb", + "lens": "6fa6bdc5de12859815de6e50488fa2a7b038278a", + "lens-ui-telemetry": "d6c4e330d170eefc6214dbf77a53de913fa3eebc", + "links": "53ae5a770d69eee34d842617be761cd059ab4b51", + "maintenance-window": "f3f19d1828e91418d13703ce6009e9c76a1686f9", + "map": "7902b2e2a550e0b73fd5aa6c4e2ba3a4e6558877", + "metrics-data-source": "6525efc71b46a85f12a13953c4be15a9eb316723", + "metrics-explorer-view": "713dbf1ab5e067791d19170f715eb82cf07ebbcc", + "ml-job": "12e21f1b1adfcc1052dc0b10c7459de875653b94", + "ml-module": "7747963b9646733cb1996f13fb64f5cf046e65d9", + "ml-trained-model": "49a1685d79990ad05ea1d1d30e28456fe002f3b9", + "monitoring-telemetry": "24f7393dfacb6c7b0f7ad7d242171a1c29feaa48", + "observability-onboarding-state": "1ac5d69f51382ecbc999b2922754baabc1316fba", + "osquery-manager-usage-metric": "23a8f08a98dd0f58ab4e559daa35b06edc40ed4f", + "osquery-pack": "784df8f1045e38a3fff4b77ce9aa729bfc0c3058", + "osquery-pack-asset": "42d5503cd17e1a08e7d822843934f3c92972e246", + "osquery-saved-query": "a8ef11610473e3d1b51a8fdacb2799d8a610818e", + "policy-settings-protection-updates-note": "c05c4c33a5e5bd1fa153991f300d040ac5d6f38d", + "privilege-monitoring-status": "4daec76df427409bcd64250f5c23f5ab86c8bac3", + "product-doc-install-status": "ee7817c45bf1c41830290c8ef535e726c86f7c19", + "query": "1966ccce8e9853018111fb8a1dee500228731d9e", + "risk-engine-configuration": "533a0a3f2dbef1c95129146ec4d5714de305be1a", + "rules-settings": "53f94e5ce61f5e75d55ab8adbc1fb3d0937d2e0b", + "sample-data-telemetry": "c38daf1a49ed24f2a4fb091e6e1e833fccf19935", + "search": "33a40cd7fc42cbeabe8e4237fc8377727ae375f7", + "search-session": "fae0dfc63274d6a3b90ca583802c48cab8760637", + "search-telemetry": "1bbaf2db531b97fa04399440fa52d46e86d54dd8", + "search_playground": "3eba7e7c4563f03f76aea02f5dd3a7a739bf51a3", + "security-ai-prompt": "1fc1c56cc078ed2c5506bb5a4e09f6876d02c97c", + "security-rule": "151108f4906744a137ddc89f5988310c5b9ba8b6", + "security-solution-signals-migration": "0be3bed0f2ff4fe460493751b8be610a785c5c98", + "siem-detection-engine-rule-actions": "123c130dc38120a470d8db9fed9a4cebd2046445", + "siem-ui-timeline": "9906092f527a21abdfab10e43c86b228ebc3861b", + "siem-ui-timeline-note": "13c9d4c142f96624a93a623c6d7cba7e1ae9b5a6", + "siem-ui-timeline-pinned-event": "96a43d59b9e2fc11f12255a0cb47ef0a3d83af4c", + "slo": "79878844eda6ac3d858c19255d9714752b1bb081", + "slo-settings": "9a74f29769cb973a726852fcb1129481b45ce577", + "space": "758dd69293d1cd5a0190753cfd93101fe7693604", + "spaces-usage-stats": "084bd0f080f94fb5735d7f3cf12f13ec92f36bad", + "synthetics-dynamic-settings": "7804b079cc502f16526f7c9491d1397cc1ec67db", + "synthetics-monitor": "ed46c9bfc58fba359c9a9538a871a03a53cc6454", + "synthetics-param": "9776c9b571d35f0d0397e8915e035ea1dc026db7", + "synthetics-private-location": "27aaa44f792f70b734905e44e3e9b56bbeac7b86", + "synthetics-privates-locations": "36036b881524108c7327fe14bd224c6e4d972cb5", + "tag": "87f21f07df9cc37001b15a26e413c18f50d1fbfe", + "task": "f07a047b32e52f6c2bf569764536f4378af47e3f", + "telemetry": "3b3b89cf411a2a2e60487cef6ccdbc5df691aeb9", + "threshold-explorer-view": "5e2388a6835cec3c68c98b450cd267d66cce925f", + "ui-metric": "410a8ad28e0f44b161c960ff0ce950c712b17c52", + "upgrade-assistant-ml-upgrade-operation": "d8816e5ce32649e7a3a43e2c406c632319ff84bb", + "upgrade-assistant-reindex-operation": "09ac8ed9c9acf7e8ece8eafe47d7019ea1472144", + "uptime-dynamic-settings": "001c1cc76876af3012445b1ba2adb60cae9c9180", + "uptime-synthetics-api-key": "599319bedbfa287e8761e1ba49d536417a33fa13", + "url": "816fa15bfe460ce39108ed8095e60fdbfcc40f11", + "usage-counter": "1fba2f21e9ec360324a96bab3760c1055c78d1c1", + "usage-counters": "f478b2668be350f5bdc08d9e1cf6fbce0e079f61", + "visualization": "cee4d02c56af349054642c6744bf9c471c1ad941", + "workplace_search_telemetry": "10e278fe9ae1396bfc36ae574bc387d7e696d43f", } `); expect(Object.keys(hashMap).length).toEqual(SAVED_OBJECT_TYPES_COUNT); diff --git a/src/core/server/integration_tests/saved_objects/migrations/fixtures/zdt_base.fixtures.ts b/src/core/server/integration_tests/saved_objects/migrations/fixtures/zdt_base.fixtures.ts index 019e2755290c3..193b41083d215 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/fixtures/zdt_base.fixtures.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/fixtures/zdt_base.fixtures.ts @@ -53,7 +53,6 @@ export const getFooType = () => { someField: { type: 'text' }, }, }, - switchToModelVersionAt: '8.7.0', modelVersions: { '1': dummyModelVersion, '2': dummyModelVersion, @@ -69,7 +68,6 @@ export const getBarType = () => { aKeyword: { type: 'keyword' }, }, }, - switchToModelVersionAt: '8.7.0', modelVersions: { '1': dummyModelVersion, }, @@ -85,7 +83,6 @@ export const getSampleAType = () => { boolean: { type: 'boolean' }, }, }, - switchToModelVersionAt: '8.7.0', modelVersions: { '1': dummyModelVersion, }, @@ -101,7 +98,6 @@ export const getSampleBType = () => { text2: { type: 'text' }, }, }, - switchToModelVersionAt: '8.7.0', modelVersions: { '1': dummyModelVersion, }, @@ -117,7 +113,6 @@ export const getDeletedType = () => { text: { type: 'text' }, }, }, - switchToModelVersionAt: '8.7.0', modelVersions: { '1': dummyModelVersion, }, @@ -133,7 +128,6 @@ export const getExcludedType = () => { value: { type: 'integer' }, }, }, - switchToModelVersionAt: '8.7.0', modelVersions: { '1': dummyModelVersion, }, diff --git a/src/core/server/integration_tests/saved_objects/migrations/group4/v2_md5_to_mv.test.ts b/src/core/server/integration_tests/saved_objects/migrations/group4/v2_md5_to_mv.test.ts index a9bb6716073dd..cd0e84067dfa6 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/group4/v2_md5_to_mv.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/group4/v2_md5_to_mv.test.ts @@ -26,7 +26,6 @@ import '../jest_matchers'; const logFilePath = Path.join(__dirname, 'v2_md5_to_mv.test.log'); const SOME_TYPE = createType({ - switchToModelVersionAt: '8.10.0', name: 'some-type', modelVersions: { 1: { @@ -42,7 +41,6 @@ const SOME_TYPE = createType({ }); const ANOTHER_TYPE = createType({ - switchToModelVersionAt: '8.10.0', name: 'another-type', modelVersions: { '1': { @@ -57,7 +55,6 @@ const ANOTHER_TYPE = createType({ }, }); const ANOTHER_TYPE_UPDATED = createType({ - switchToModelVersionAt: '8.10.0', name: 'another-type', modelVersions: { '1': { diff --git a/src/core/server/integration_tests/saved_objects/migrations/group4/v2_with_mv_same_stack_version.test.ts b/src/core/server/integration_tests/saved_objects/migrations/group4/v2_with_mv_same_stack_version.test.ts index ad3079e2b9627..82384e1728f0f 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/group4/v2_with_mv_same_stack_version.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/group4/v2_with_mv_same_stack_version.test.ts @@ -39,7 +39,6 @@ describe('V2 algorithm - using model versions - upgrade without stack version in name: 'test_mv', namespaceType: 'single', migrations: {}, - switchToModelVersionAt: '8.8.0', modelVersions: { 1: { changes: [], diff --git a/src/core/server/integration_tests/saved_objects/migrations/group4/v2_with_mv_stack_version_bump.test.ts b/src/core/server/integration_tests/saved_objects/migrations/group4/v2_with_mv_stack_version_bump.test.ts index 60353fd1d12b4..402f9efe81caf 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/group4/v2_with_mv_stack_version_bump.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/group4/v2_with_mv_stack_version_bump.test.ts @@ -54,7 +54,6 @@ describe('V2 algorithm - using model versions - stack version bump scenario', () if (!beforeUpgrade) { Object.assign>(type, { - switchToModelVersionAt: '8.8.0', modelVersions: { 1: { changes: [ @@ -91,7 +90,6 @@ describe('V2 algorithm - using model versions - stack version bump scenario', () name: 'test_mv', namespaceType: 'single', migrations: {}, - switchToModelVersionAt: '8.8.0', modelVersions: { 1: { changes: [], diff --git a/src/core/server/integration_tests/saved_objects/migrations/kibana_migrator_test_kit.fixtures.ts b/src/core/server/integration_tests/saved_objects/migrations/kibana_migrator_test_kit.fixtures.ts index 5b5e6db966ab9..ce5b3b1120608 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/kibana_migrator_test_kit.fixtures.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/kibana_migrator_test_kit.fixtures.ts @@ -39,7 +39,6 @@ const defaultType: SavedObjectsType = { changes: [], }, }, - switchToModelVersionAt: '8.10.0', migrations: {}, }; diff --git a/src/core/server/integration_tests/saved_objects/migrations/zdt_1/basic_downgrade.test.ts b/src/core/server/integration_tests/saved_objects/migrations/zdt_1/basic_downgrade.test.ts index 9523f6723fecb..11566e0f5ebf0 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/zdt_1/basic_downgrade.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/zdt_1/basic_downgrade.test.ts @@ -39,7 +39,6 @@ describe('ZDT upgrades - basic downgrade', () => { keyword: { type: 'keyword' }, }, }, - switchToModelVersionAt: '8.0.0', modelVersions: { 1: { changes: [], @@ -56,7 +55,6 @@ describe('ZDT upgrades - basic downgrade', () => { newField1: { type: 'text' }, }, }, - switchToModelVersionAt: '8.0.0', modelVersions: { 1: { changes: [], diff --git a/src/core/server/integration_tests/saved_objects/migrations/zdt_2/outdated_doc_query.test.ts b/src/core/server/integration_tests/saved_objects/migrations/zdt_2/outdated_doc_query.test.ts index 59b35638de94f..430d61cd97d20 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/zdt_2/outdated_doc_query.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/zdt_2/outdated_doc_query.test.ts @@ -52,7 +52,6 @@ describe('getOutdatedDocumentsQuery', () => { return createType({ name: 'test-type', - switchToModelVersionAt: '8.0.0', modelVersions, mappings: { dynamic: false, diff --git a/src/core/server/integration_tests/saved_objects/migrations/zdt_2/sor_higher_version_docs.test.ts b/src/core/server/integration_tests/saved_objects/migrations/zdt_2/sor_higher_version_docs.test.ts index 4c4d208a6af05..8fcabdf22797e 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/zdt_2/sor_higher_version_docs.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/zdt_2/sor_higher_version_docs.test.ts @@ -26,7 +26,6 @@ describe('Higher version doc conversion', () => { const getTestType = () => { return createType({ name: 'test-type', - switchToModelVersionAt: '8.0.0', modelVersions: { 1: { changes: [], diff --git a/src/core/server/integration_tests/saved_objects/migrations/zdt_2/v2_to_zdt_partial_failure.test.ts b/src/core/server/integration_tests/saved_objects/migrations/zdt_2/v2_to_zdt_partial_failure.test.ts index 093b18eee9b56..ec7bd0202da84 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/zdt_2/v2_to_zdt_partial_failure.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/zdt_2/v2_to_zdt_partial_failure.test.ts @@ -47,7 +47,6 @@ describe('ZDT with v2 compat - recovering from partially migrated state', () => const typeFailingBetween = createType({ ...typeBefore, - switchToModelVersionAt: '8.0.0', modelVersions: { 1: { changes: [ @@ -72,7 +71,6 @@ describe('ZDT with v2 compat - recovering from partially migrated state', () => const typeAfter = createType({ ...typeBefore, - switchToModelVersionAt: '8.0.0', modelVersions: { 1: { changes: [ diff --git a/src/core/server/integration_tests/saved_objects/migrations/zdt_v2_compat/switch_to_model_version.test.ts b/src/core/server/integration_tests/saved_objects/migrations/zdt_v2_compat/switch_to_model_version.test.ts index 4aff713b19d78..e313182b693f3 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/zdt_v2_compat/switch_to_model_version.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/zdt_v2_compat/switch_to_model_version.test.ts @@ -68,7 +68,6 @@ describe('ZDT with v2 compat - type switching from migration to model version', }; }, }, - switchToModelVersionAt: '8.0.0', modelVersions: { 1: { changes: [ diff --git a/src/core/server/integration_tests/saved_objects/service/lib/bulk_update.test.ts b/src/core/server/integration_tests/saved_objects/service/lib/bulk_update.test.ts index 986a06b57f92d..e961f11c7021a 100644 --- a/src/core/server/integration_tests/saved_objects/service/lib/bulk_update.test.ts +++ b/src/core/server/integration_tests/saved_objects/service/lib/bulk_update.test.ts @@ -73,7 +73,6 @@ describe('SOR - bulk_update API', () => { management: { importableAndExportable: true, }, - switchToModelVersionAt: '8.10.0', modelVersions: versionMap, }; }; @@ -117,7 +116,6 @@ describe('SOR - bulk_update API', () => { management: { importableAndExportable: true, }, - switchToModelVersionAt: '8.10.0', modelVersions: versionOtherMap, }; }; @@ -134,7 +132,6 @@ describe('SOR - bulk_update API', () => { management: { importableAndExportable: true, }, - switchToModelVersionAt: '8.10.0', modelVersions: {}, }; }; diff --git a/src/core/server/integration_tests/saved_objects/service/lib/update.test.ts b/src/core/server/integration_tests/saved_objects/service/lib/update.test.ts index bf83b2cfd07ea..95d34b1403d85 100644 --- a/src/core/server/integration_tests/saved_objects/service/lib/update.test.ts +++ b/src/core/server/integration_tests/saved_objects/service/lib/update.test.ts @@ -69,7 +69,6 @@ describe('SOR - update API', () => { management: { importableAndExportable: true, }, - switchToModelVersionAt: '8.10.0', modelVersions: versionMap, }; }; @@ -86,7 +85,6 @@ describe('SOR - update API', () => { management: { importableAndExportable: true, }, - switchToModelVersionAt: '8.10.0', modelVersions: {}, }; }; diff --git a/src/core/test-helpers/model-versions/src/model_version_tester.ts b/src/core/test-helpers/model-versions/src/model_version_tester.ts index 31553a0f4edc3..7c30aa355b5e0 100644 --- a/src/core/test-helpers/model-versions/src/model_version_tester.ts +++ b/src/core/test-helpers/model-versions/src/model_version_tester.ts @@ -15,7 +15,6 @@ import type { SavedObjectsType, SavedObject } from '@kbn/core-saved-objects-serv import { modelVersionToVirtualVersion, SavedObjectTypeRegistry, - globalSwitchToModelVersionAt, } from '@kbn/core-saved-objects-base-server-internal'; import { DocumentMigrator } from '@kbn/core-saved-objects-migration-server-internal'; @@ -81,10 +80,7 @@ export const createModelVersionTestMigrator = ({ type: SavedObjectsType; }): ModelVersionTestMigrator => { const typeRegistry = new SavedObjectTypeRegistry(); - typeRegistry.registerType({ - switchToModelVersionAt: globalSwitchToModelVersionAt, - ...type, - }); + typeRegistry.registerType(type); const logger = loggerMock.create(); diff --git a/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts index 0cf1905ca0cf4..518c51fef2f8b 100644 --- a/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts @@ -24,7 +24,6 @@ export const createCaseSavedObjectType = ( logger: Logger ): SavedObjectsType => ({ name: CASE_SAVED_OBJECT, - switchToModelVersionAt: '8.10.0', indexPattern: ALERTING_CASES_SAVED_OBJECT_INDEX, hidden: true, namespaceType: 'multiple-isolated', diff --git a/x-pack/solutions/observability/plugins/slo/server/saved_objects/slo.ts b/x-pack/solutions/observability/plugins/slo/server/saved_objects/slo.ts index 1b594db90ae79..dd41f9031de26 100644 --- a/x-pack/solutions/observability/plugins/slo/server/saved_objects/slo.ts +++ b/x-pack/solutions/observability/plugins/slo/server/saved_objects/slo.ts @@ -36,7 +36,6 @@ export const slo: SavedObjectsType = { name: SO_SLO_TYPE, hidden: false, namespaceType: 'multiple-isolated', - switchToModelVersionAt: '8.10.0', modelVersions: { 1: { changes: [ diff --git a/x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin/server/index.ts b/x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin/server/index.ts index 6944123790157..231fbd1daae1a 100644 --- a/x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin/server/index.ts +++ b/x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin/server/index.ts @@ -305,7 +305,6 @@ function defineModelVersionWithMigration(core: CoreSetup, deps: Pl hidden: false, management: { importableAndExportable: true }, namespaceType: 'multiple-isolated', - switchToModelVersionAt: '8.10.0', mappings: { properties: { nonEncryptedAttribute: { From dce9486a53488b4f4ce3a4a03eee6af7e00707d3 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Sat, 26 Apr 2025 18:10:43 +0000 Subject: [PATCH 2/3] [CI] Auto-commit changed files from 'node scripts/jest_integration -u src/core/server/integration_tests/ci_checks' --- .../check_registered_types.test.ts | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts b/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts index d5d039d0e8aab..4198a36df9828 100644 --- a/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts +++ b/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts @@ -62,7 +62,7 @@ describe('checking migration metadata changes on all registered SO types', () => "action": "696d997e420024a8cf973da94d905c8756e1177c", "action_task_params": "cd91a48515202852ebf1fed0d999cd96f6b2823e", "ad_hoc_run_params": "690b8991f48c73a04e6a8cf41fd4967a42f8e552", - "alert": "1dcfa1391ca9e31e9b71e4e1785fb1f5da3f9c96", + "alert": "0e4da24f0f8e74451d6c5f3000b6bc07cb7fdb4e", "api_key_pending_invalidation": "cef0693ec88475a0e1f43614cfa6ca43c24d0338", "apm-custom-dashboards": "9b08d5d5222131c6981a70144b1d61648757a613", "apm-indices": "b844821e9675768b1cb78f6d91ff336ed09d4739", @@ -98,7 +98,7 @@ describe('checking migration metadata changes on all registered SO types', () => "entity-definition": "02ea6a34291d939262c45f4f81da01249ba13753", "entity-discovery-api-key": "094f1eae0e069e5f8bf2523db1a14072a8e29271", "entity-engine-status": "49fb6dc6d70a935572faf4593800477beeccd120", - "epm-packages": "1e236a1656734cc16f45946a48bfed2134799f7d", + "epm-packages": "416718453dd9cb2ec818f0653546ca1c767594a1", "epm-packages-assets": "00c8b5e5bf059627ffc9fbde920e1ac75926c5f6", "event-annotation-group": "c67d5863d7cac02d800c543724ef29b66d12e77e", "event_loop_delays_daily": "ef49e7f15649b551b458c7ea170f3ed17f89abd0", @@ -108,10 +108,10 @@ describe('checking migration metadata changes on all registered SO types', () => "file": "487a562dd895407307980cc4404ca08e87e8999d", "file-upload-usage-collection-telemetry": "c6fcb9a7efcf19b2bb66ca6e005bfee8961f6073", "fileShare": "f07d346acbb724eacf139a0fb781c38dc5280115", - "fleet-agent-policies": "a977f4de060fc15e49148e4c26680d1dee5c5205", - "fleet-fleet-server-host": "795c0e79438a260bd860419454bcc432476d4396", + "fleet-agent-policies": "8d19b0109e77d62b01d1907ecf5073f37629e532", + "fleet-fleet-server-host": "26401c66092c483c267133482a9972eefe7a3612", "fleet-message-signing-keys": "0c6da6a680807e568540b2aa263ae52331ba66db", - "fleet-package-policies": "be03d7cf73c3757a1bf65cbf77a5a4ff809ae682", + "fleet-package-policies": "286258ee55e64d28e9ec3f3f32b4da3cbbbb8e70", "fleet-preconfiguration-deletion-record": "3afad160748b430427086985a3445fd8697566d5", "fleet-proxy": "94d0a902a0fd22578d7d3a20873b95d902e25245", "fleet-setup-lock": "ce9a2dcfb2e6f7260d129636a26c9ca98b13e464", @@ -124,10 +124,10 @@ describe('checking migration metadata changes on all registered SO types', () => "infra-custom-dashboards": "20231f5c1a13633c8c85f4e1257fa0c6156f6714", "infrastructure-monitoring-log-view": "8040108f02ef27419cff79077384379709d44bbc", "infrastructure-ui-source": "2311f7d0abe2a713aa71e30ee24f78828d4acfc1", - "ingest-agent-policies": "11945ce3f87ad242d6fc89509c4318dae74008cc", - "ingest-download-sources": "e6b6c76a67a1882c861177ee9e8ff2c607b7eeea", - "ingest-outputs": "f92200366d6b9f142a81f094154e17987910c535", - "ingest-package-policies": "c12bdd0a3d35255265d501e3ab0e266579b5fbbf", + "ingest-agent-policies": "b6959508f60831b51b30b1050f6a4eda70aeaa4e", + "ingest-download-sources": "039697012877d61e4cc070c3c51f8fcc7887b5f6", + "ingest-outputs": "99168a82363bbe4f1a5ce6da633711ec77ab49d8", + "ingest-package-policies": "151b4f3b99d98a4df2738e71ab058487761ea280", "ingest_manager_settings": "164096e0a8957ad8e7a298372c27035e73bf3bb6", "inventory-view": "e125c6e6e49729055421e7b3a0544f24330d8dc6", "kql-telemetry": "92d6357aa3ce28727492f86a54783f802dc38893", @@ -149,7 +149,6 @@ describe('checking migration metadata changes on all registered SO types', () => "osquery-pack-asset": "42d5503cd17e1a08e7d822843934f3c92972e246", "osquery-saved-query": "a8ef11610473e3d1b51a8fdacb2799d8a610818e", "policy-settings-protection-updates-note": "c05c4c33a5e5bd1fa153991f300d040ac5d6f38d", - "privilege-monitoring-status": "4daec76df427409bcd64250f5c23f5ab86c8bac3", "product-doc-install-status": "ee7817c45bf1c41830290c8ef535e726c86f7c19", "query": "1966ccce8e9853018111fb8a1dee500228731d9e", "risk-engine-configuration": "533a0a3f2dbef1c95129146ec4d5714de305be1a", @@ -158,7 +157,6 @@ describe('checking migration metadata changes on all registered SO types', () => "search": "33a40cd7fc42cbeabe8e4237fc8377727ae375f7", "search-session": "fae0dfc63274d6a3b90ca583802c48cab8760637", "search-telemetry": "1bbaf2db531b97fa04399440fa52d46e86d54dd8", - "search_playground": "3eba7e7c4563f03f76aea02f5dd3a7a739bf51a3", "security-ai-prompt": "1fc1c56cc078ed2c5506bb5a4e09f6876d02c97c", "security-rule": "151108f4906744a137ddc89f5988310c5b9ba8b6", "security-solution-signals-migration": "0be3bed0f2ff4fe460493751b8be610a785c5c98", @@ -176,7 +174,7 @@ describe('checking migration metadata changes on all registered SO types', () => "synthetics-private-location": "27aaa44f792f70b734905e44e3e9b56bbeac7b86", "synthetics-privates-locations": "36036b881524108c7327fe14bd224c6e4d972cb5", "tag": "87f21f07df9cc37001b15a26e413c18f50d1fbfe", - "task": "f07a047b32e52f6c2bf569764536f4378af47e3f", + "task": "edda2e68d3a4a255d659006c0968bbcf8e846637", "telemetry": "3b3b89cf411a2a2e60487cef6ccdbc5df691aeb9", "threshold-explorer-view": "5e2388a6835cec3c68c98b450cd267d66cce925f", "ui-metric": "410a8ad28e0f44b161c960ff0ce950c712b17c52", From 6fd6fbd2d775a04fbc1dcb0b6f771ae39d7a7ea4 Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Mon, 28 Apr 2025 14:42:58 -0700 Subject: [PATCH 3/3] Delete packages/kbn-repo-packages directory --- packages/kbn-repo-packages/package-map.json | 2754 ------------------- 1 file changed, 2754 deletions(-) delete mode 100644 packages/kbn-repo-packages/package-map.json diff --git a/packages/kbn-repo-packages/package-map.json b/packages/kbn-repo-packages/package-map.json deleted file mode 100644 index ac0c7370fd767..0000000000000 --- a/packages/kbn-repo-packages/package-map.json +++ /dev/null @@ -1,2754 +0,0 @@ -[ - [ - "@kbn/aad-fixtures-plugin", - "x-pack/test/alerting_api_integration/common/plugins/aad" - ], - [ - "@kbn/ace", - "packages/kbn-ace" - ], - [ - "@kbn/actions-plugin", - "x-pack/plugins/actions" - ], - [ - "@kbn/actions-simulators-plugin", - "x-pack/test/alerting_api_integration/common/plugins/actions_simulators" - ], - [ - "@kbn/advanced-settings-plugin", - "src/plugins/advanced_settings" - ], - [ - "@kbn/aiops-components", - "x-pack/packages/ml/aiops_components" - ], - [ - "@kbn/aiops-plugin", - "x-pack/plugins/aiops" - ], - [ - "@kbn/aiops-utils", - "x-pack/packages/ml/aiops_utils" - ], - [ - "@kbn/alerting-api-integration-helpers", - "x-pack/test/alerting_api_integration/packages/helpers" - ], - [ - "@kbn/alerting-api-integration-test-plugin", - "x-pack/test/alerting_api_integration/common/plugins/alerts" - ], - [ - "@kbn/alerting-example-plugin", - "x-pack/examples/alerting_example" - ], - [ - "@kbn/alerting-fixture-plugin", - "x-pack/test/functional_with_es_ssl/plugins/alerts" - ], - [ - "@kbn/alerting-plugin", - "x-pack/plugins/alerting" - ], - [ - "@kbn/alerts", - "packages/kbn-alerts" - ], - [ - "@kbn/alerts-as-data-utils", - "packages/kbn-alerts-as-data-utils" - ], - [ - "@kbn/alerts-restricted-fixtures-plugin", - "x-pack/test/alerting_api_integration/common/plugins/alerts_restricted" - ], - [ - "@kbn/alerts-ui-shared", - "packages/kbn-alerts-ui-shared" - ], - [ - "@kbn/ambient-common-types", - "packages/kbn-ambient-common-types" - ], - [ - "@kbn/ambient-ftr-types", - "packages/kbn-ambient-ftr-types" - ], - [ - "@kbn/ambient-storybook-types", - "packages/kbn-ambient-storybook-types" - ], - [ - "@kbn/ambient-ui-types", - "packages/kbn-ambient-ui-types" - ], - [ - "@kbn/analytics", - "packages/kbn-analytics" - ], - [ - "@kbn/analytics-client", - "packages/analytics/client" - ], - [ - "@kbn/analytics-ftr-helpers-plugin", - "test/analytics/plugins/analytics_ftr_helpers" - ], - [ - "@kbn/analytics-plugin-a-plugin", - "test/analytics/plugins/analytics_plugin_a" - ], - [ - "@kbn/analytics-shippers-elastic-v3-browser", - "packages/analytics/shippers/elastic_v3/browser" - ], - [ - "@kbn/analytics-shippers-elastic-v3-common", - "packages/analytics/shippers/elastic_v3/common" - ], - [ - "@kbn/analytics-shippers-elastic-v3-server", - "packages/analytics/shippers/elastic_v3/server" - ], - [ - "@kbn/analytics-shippers-fullstory", - "packages/analytics/shippers/fullstory" - ], - [ - "@kbn/analytics-shippers-gainsight", - "packages/analytics/shippers/gainsight" - ], - [ - "@kbn/apm-config-loader", - "packages/kbn-apm-config-loader" - ], - [ - "@kbn/apm-plugin", - "x-pack/plugins/apm" - ], - [ - "@kbn/apm-synthtrace", - "packages/kbn-apm-synthtrace" - ], - [ - "@kbn/apm-synthtrace-client", - "packages/kbn-apm-synthtrace-client" - ], - [ - "@kbn/apm-utils", - "packages/kbn-apm-utils" - ], - [ - "@kbn/app-link-test-plugin", - "test/plugin_functional/plugins/app_link_test" - ], - [ - "@kbn/application-usage-test-plugin", - "x-pack/test/usage_collection/plugins/application_usage_test" - ], - [ - "@kbn/audit-log-plugin", - "x-pack/test/security_api_integration/plugins/audit_log" - ], - [ - "@kbn/axe-config", - "packages/kbn-axe-config" - ], - [ - "@kbn/babel-preset", - "packages/kbn-babel-preset" - ], - [ - "@kbn/babel-register", - "packages/kbn-babel-register" - ], - [ - "@kbn/babel-transform", - "packages/kbn-babel-transform" - ], - [ - "@kbn/banners-plugin", - "x-pack/plugins/banners" - ], - [ - "@kbn/bazel-runner", - "packages/kbn-bazel-runner" - ], - [ - "@kbn/bfetch-explorer-plugin", - "examples/bfetch_explorer" - ], - [ - "@kbn/bfetch-plugin", - "src/plugins/bfetch" - ], - [ - "@kbn/canvas-plugin", - "x-pack/plugins/canvas" - ], - [ - "@kbn/cases-api-integration-test-plugin", - "x-pack/test/cases_api_integration/common/plugins/cases" - ], - [ - "@kbn/cases-components", - "packages/kbn-cases-components" - ], - [ - "@kbn/cases-plugin", - "x-pack/plugins/cases" - ], - [ - "@kbn/cell-actions", - "packages/kbn-cell-actions" - ], - [ - "@kbn/chart-expressions-common", - "src/plugins/chart_expressions/common" - ], - [ - "@kbn/chart-icons", - "packages/kbn-chart-icons" - ], - [ - "@kbn/charts-plugin", - "src/plugins/charts" - ], - [ - "@kbn/ci-stats-core", - "packages/kbn-ci-stats-core" - ], - [ - "@kbn/ci-stats-performance-metrics", - "packages/kbn-ci-stats-performance-metrics" - ], - [ - "@kbn/ci-stats-reporter", - "packages/kbn-ci-stats-reporter" - ], - [ - "@kbn/ci-stats-shipper-cli", - "packages/kbn-ci-stats-shipper-cli" - ], - [ - "@kbn/cli-dev-mode", - "packages/kbn-cli-dev-mode" - ], - [ - "@kbn/cloud-chat-plugin", - "x-pack/plugins/cloud_integrations/cloud_chat" - ], - [ - "@kbn/cloud-data-migration-plugin", - "x-pack/plugins/cloud_integrations/cloud_data_migration" - ], - [ - "@kbn/cloud-defend-plugin", - "x-pack/plugins/cloud_defend" - ], - [ - "@kbn/cloud-experiments-plugin", - "x-pack/plugins/cloud_integrations/cloud_experiments" - ], - [ - "@kbn/cloud-full-story-plugin", - "x-pack/plugins/cloud_integrations/cloud_full_story" - ], - [ - "@kbn/cloud-gainsight-plugin", - "x-pack/plugins/cloud_integrations/cloud_gain_sight" - ], - [ - "@kbn/cloud-integration-saml-provider-plugin", - "x-pack/test/cloud_integration/plugins/saml_provider" - ], - [ - "@kbn/cloud-links-plugin", - "x-pack/plugins/cloud_integrations/cloud_links" - ], - [ - "@kbn/cloud-plugin", - "x-pack/plugins/cloud" - ], - [ - "@kbn/cloud-security-posture-plugin", - "x-pack/plugins/cloud_security_posture" - ], - [ - "@kbn/code-editor", - "packages/shared-ux/code_editor/impl" - ], - [ - "@kbn/code-editor-mocks", - "packages/shared-ux/code_editor/mocks" - ], - [ - "@kbn/code-editor-types", - "packages/shared-ux/code_editor/types" - ], - [ - "@kbn/coloring", - "packages/kbn-coloring" - ], - [ - "@kbn/config", - "packages/kbn-config" - ], - [ - "@kbn/config-mocks", - "packages/kbn-config-mocks" - ], - [ - "@kbn/config-schema", - "packages/kbn-config-schema" - ], - [ - "@kbn/console-plugin", - "src/plugins/console" - ], - [ - "@kbn/content-management-content-editor", - "packages/content-management/content_editor" - ], - [ - "@kbn/content-management-examples-plugin", - "examples/content_management_examples" - ], - [ - "@kbn/content-management-plugin", - "src/plugins/content_management" - ], - [ - "@kbn/content-management-table-list", - "packages/content-management/table_list" - ], - [ - "@kbn/controls-example-plugin", - "examples/controls_example" - ], - [ - "@kbn/controls-plugin", - "src/plugins/controls" - ], - [ - "@kbn/core", - "src/core" - ], - [ - "@kbn/core-analytics-browser", - "packages/core/analytics/core-analytics-browser" - ], - [ - "@kbn/core-analytics-browser-internal", - "packages/core/analytics/core-analytics-browser-internal" - ], - [ - "@kbn/core-analytics-browser-mocks", - "packages/core/analytics/core-analytics-browser-mocks" - ], - [ - "@kbn/core-analytics-server", - "packages/core/analytics/core-analytics-server" - ], - [ - "@kbn/core-analytics-server-internal", - "packages/core/analytics/core-analytics-server-internal" - ], - [ - "@kbn/core-analytics-server-mocks", - "packages/core/analytics/core-analytics-server-mocks" - ], - [ - "@kbn/core-app-status-plugin", - "test/plugin_functional/plugins/core_app_status" - ], - [ - "@kbn/core-application-browser", - "packages/core/application/core-application-browser" - ], - [ - "@kbn/core-application-browser-internal", - "packages/core/application/core-application-browser-internal" - ], - [ - "@kbn/core-application-browser-mocks", - "packages/core/application/core-application-browser-mocks" - ], - [ - "@kbn/core-application-common", - "packages/core/application/core-application-common" - ], - [ - "@kbn/core-apps-browser-internal", - "packages/core/apps/core-apps-browser-internal" - ], - [ - "@kbn/core-apps-browser-mocks", - "packages/core/apps/core-apps-browser-mocks" - ], - [ - "@kbn/core-apps-server-internal", - "packages/core/apps/core-apps-server-internal" - ], - [ - "@kbn/core-base-browser-internal", - "packages/core/base/core-base-browser-internal" - ], - [ - "@kbn/core-base-browser-mocks", - "packages/core/base/core-base-browser-mocks" - ], - [ - "@kbn/core-base-common", - "packages/core/base/core-base-common" - ], - [ - "@kbn/core-base-common-internal", - "packages/core/base/core-base-common-internal" - ], - [ - "@kbn/core-base-server-internal", - "packages/core/base/core-base-server-internal" - ], - [ - "@kbn/core-base-server-mocks", - "packages/core/base/core-base-server-mocks" - ], - [ - "@kbn/core-capabilities-browser-internal", - "packages/core/capabilities/core-capabilities-browser-internal" - ], - [ - "@kbn/core-capabilities-browser-mocks", - "packages/core/capabilities/core-capabilities-browser-mocks" - ], - [ - "@kbn/core-capabilities-common", - "packages/core/capabilities/core-capabilities-common" - ], - [ - "@kbn/core-capabilities-server", - "packages/core/capabilities/core-capabilities-server" - ], - [ - "@kbn/core-capabilities-server-internal", - "packages/core/capabilities/core-capabilities-server-internal" - ], - [ - "@kbn/core-capabilities-server-mocks", - "packages/core/capabilities/core-capabilities-server-mocks" - ], - [ - "@kbn/core-chrome-browser", - "packages/core/chrome/core-chrome-browser" - ], - [ - "@kbn/core-chrome-browser-internal", - "packages/core/chrome/core-chrome-browser-internal" - ], - [ - "@kbn/core-chrome-browser-mocks", - "packages/core/chrome/core-chrome-browser-mocks" - ], - [ - "@kbn/core-config-server-internal", - "packages/core/config/core-config-server-internal" - ], - [ - "@kbn/core-custom-branding-browser", - "packages/core/custom-branding/core-custom-branding-browser" - ], - [ - "@kbn/core-custom-branding-browser-internal", - "packages/core/custom-branding/core-custom-branding-browser-internal" - ], - [ - "@kbn/core-custom-branding-browser-mocks", - "packages/core/custom-branding/core-custom-branding-browser-mocks" - ], - [ - "@kbn/core-custom-branding-common", - "packages/core/custom-branding/core-custom-branding-common" - ], - [ - "@kbn/core-custom-branding-server", - "packages/core/custom-branding/core-custom-branding-server" - ], - [ - "@kbn/core-custom-branding-server-internal", - "packages/core/custom-branding/core-custom-branding-server-internal" - ], - [ - "@kbn/core-custom-branding-server-mocks", - "packages/core/custom-branding/core-custom-branding-server-mocks" - ], - [ - "@kbn/core-deprecations-browser", - "packages/core/deprecations/core-deprecations-browser" - ], - [ - "@kbn/core-deprecations-browser-internal", - "packages/core/deprecations/core-deprecations-browser-internal" - ], - [ - "@kbn/core-deprecations-browser-mocks", - "packages/core/deprecations/core-deprecations-browser-mocks" - ], - [ - "@kbn/core-deprecations-common", - "packages/core/deprecations/core-deprecations-common" - ], - [ - "@kbn/core-deprecations-server", - "packages/core/deprecations/core-deprecations-server" - ], - [ - "@kbn/core-deprecations-server-internal", - "packages/core/deprecations/core-deprecations-server-internal" - ], - [ - "@kbn/core-deprecations-server-mocks", - "packages/core/deprecations/core-deprecations-server-mocks" - ], - [ - "@kbn/core-doc-links-browser", - "packages/core/doc-links/core-doc-links-browser" - ], - [ - "@kbn/core-doc-links-browser-internal", - "packages/core/doc-links/core-doc-links-browser-internal" - ], - [ - "@kbn/core-doc-links-browser-mocks", - "packages/core/doc-links/core-doc-links-browser-mocks" - ], - [ - "@kbn/core-doc-links-server", - "packages/core/doc-links/core-doc-links-server" - ], - [ - "@kbn/core-doc-links-server-internal", - "packages/core/doc-links/core-doc-links-server-internal" - ], - [ - "@kbn/core-doc-links-server-mocks", - "packages/core/doc-links/core-doc-links-server-mocks" - ], - [ - "@kbn/core-elasticsearch-client-server-internal", - "packages/core/elasticsearch/core-elasticsearch-client-server-internal" - ], - [ - "@kbn/core-elasticsearch-client-server-mocks", - "packages/core/elasticsearch/core-elasticsearch-client-server-mocks" - ], - [ - "@kbn/core-elasticsearch-server", - "packages/core/elasticsearch/core-elasticsearch-server" - ], - [ - "@kbn/core-elasticsearch-server-internal", - "packages/core/elasticsearch/core-elasticsearch-server-internal" - ], - [ - "@kbn/core-elasticsearch-server-mocks", - "packages/core/elasticsearch/core-elasticsearch-server-mocks" - ], - [ - "@kbn/core-environment-server-internal", - "packages/core/environment/core-environment-server-internal" - ], - [ - "@kbn/core-environment-server-mocks", - "packages/core/environment/core-environment-server-mocks" - ], - [ - "@kbn/core-execution-context-browser", - "packages/core/execution-context/core-execution-context-browser" - ], - [ - "@kbn/core-execution-context-browser-internal", - "packages/core/execution-context/core-execution-context-browser-internal" - ], - [ - "@kbn/core-execution-context-browser-mocks", - "packages/core/execution-context/core-execution-context-browser-mocks" - ], - [ - "@kbn/core-execution-context-common", - "packages/core/execution-context/core-execution-context-common" - ], - [ - "@kbn/core-execution-context-server", - "packages/core/execution-context/core-execution-context-server" - ], - [ - "@kbn/core-execution-context-server-internal", - "packages/core/execution-context/core-execution-context-server-internal" - ], - [ - "@kbn/core-execution-context-server-mocks", - "packages/core/execution-context/core-execution-context-server-mocks" - ], - [ - "@kbn/core-fatal-errors-browser", - "packages/core/fatal-errors/core-fatal-errors-browser" - ], - [ - "@kbn/core-fatal-errors-browser-internal", - "packages/core/fatal-errors/core-fatal-errors-browser-internal" - ], - [ - "@kbn/core-fatal-errors-browser-mocks", - "packages/core/fatal-errors/core-fatal-errors-browser-mocks" - ], - [ - "@kbn/core-history-block-plugin", - "test/plugin_functional/plugins/core_history_block" - ], - [ - "@kbn/core-http-browser", - "packages/core/http/core-http-browser" - ], - [ - "@kbn/core-http-browser-internal", - "packages/core/http/core-http-browser-internal" - ], - [ - "@kbn/core-http-browser-mocks", - "packages/core/http/core-http-browser-mocks" - ], - [ - "@kbn/core-http-common", - "packages/core/http/core-http-common" - ], - [ - "@kbn/core-http-context-server-internal", - "packages/core/http/core-http-context-server-internal" - ], - [ - "@kbn/core-http-context-server-mocks", - "packages/core/http/core-http-context-server-mocks" - ], - [ - "@kbn/core-http-plugin", - "test/plugin_functional/plugins/core_http" - ], - [ - "@kbn/core-http-request-handler-context-server", - "packages/core/http/core-http-request-handler-context-server" - ], - [ - "@kbn/core-http-request-handler-context-server-internal", - "packages/core/http/core-http-request-handler-context-server-internal" - ], - [ - "@kbn/core-http-resources-server", - "packages/core/http/core-http-resources-server" - ], - [ - "@kbn/core-http-resources-server-internal", - "packages/core/http/core-http-resources-server-internal" - ], - [ - "@kbn/core-http-resources-server-mocks", - "packages/core/http/core-http-resources-server-mocks" - ], - [ - "@kbn/core-http-router-server-internal", - "packages/core/http/core-http-router-server-internal" - ], - [ - "@kbn/core-http-router-server-mocks", - "packages/core/http/core-http-router-server-mocks" - ], - [ - "@kbn/core-http-server", - "packages/core/http/core-http-server" - ], - [ - "@kbn/core-http-server-internal", - "packages/core/http/core-http-server-internal" - ], - [ - "@kbn/core-http-server-mocks", - "packages/core/http/core-http-server-mocks" - ], - [ - "@kbn/core-i18n-browser", - "packages/core/i18n/core-i18n-browser" - ], - [ - "@kbn/core-i18n-browser-internal", - "packages/core/i18n/core-i18n-browser-internal" - ], - [ - "@kbn/core-i18n-browser-mocks", - "packages/core/i18n/core-i18n-browser-mocks" - ], - [ - "@kbn/core-i18n-server", - "packages/core/i18n/core-i18n-server" - ], - [ - "@kbn/core-i18n-server-internal", - "packages/core/i18n/core-i18n-server-internal" - ], - [ - "@kbn/core-i18n-server-mocks", - "packages/core/i18n/core-i18n-server-mocks" - ], - [ - "@kbn/core-injected-metadata-browser-internal", - "packages/core/injected-metadata/core-injected-metadata-browser-internal" - ], - [ - "@kbn/core-injected-metadata-browser-mocks", - "packages/core/injected-metadata/core-injected-metadata-browser-mocks" - ], - [ - "@kbn/core-injected-metadata-common-internal", - "packages/core/injected-metadata/core-injected-metadata-common-internal" - ], - [ - "@kbn/core-integrations-browser-internal", - "packages/core/integrations/core-integrations-browser-internal" - ], - [ - "@kbn/core-integrations-browser-mocks", - "packages/core/integrations/core-integrations-browser-mocks" - ], - [ - "@kbn/core-lifecycle-browser", - "packages/core/lifecycle/core-lifecycle-browser" - ], - [ - "@kbn/core-lifecycle-browser-internal", - "packages/core/lifecycle/core-lifecycle-browser-internal" - ], - [ - "@kbn/core-lifecycle-browser-mocks", - "packages/core/lifecycle/core-lifecycle-browser-mocks" - ], - [ - "@kbn/core-lifecycle-server", - "packages/core/lifecycle/core-lifecycle-server" - ], - [ - "@kbn/core-lifecycle-server-internal", - "packages/core/lifecycle/core-lifecycle-server-internal" - ], - [ - "@kbn/core-lifecycle-server-mocks", - "packages/core/lifecycle/core-lifecycle-server-mocks" - ], - [ - "@kbn/core-logging-browser-internal", - "packages/core/logging/core-logging-browser-internal" - ], - [ - "@kbn/core-logging-browser-mocks", - "packages/core/logging/core-logging-browser-mocks" - ], - [ - "@kbn/core-logging-common-internal", - "packages/core/logging/core-logging-common-internal" - ], - [ - "@kbn/core-logging-server", - "packages/core/logging/core-logging-server" - ], - [ - "@kbn/core-logging-server-internal", - "packages/core/logging/core-logging-server-internal" - ], - [ - "@kbn/core-logging-server-mocks", - "packages/core/logging/core-logging-server-mocks" - ], - [ - "@kbn/core-metrics-collectors-server-internal", - "packages/core/metrics/core-metrics-collectors-server-internal" - ], - [ - "@kbn/core-metrics-collectors-server-mocks", - "packages/core/metrics/core-metrics-collectors-server-mocks" - ], - [ - "@kbn/core-metrics-server", - "packages/core/metrics/core-metrics-server" - ], - [ - "@kbn/core-metrics-server-internal", - "packages/core/metrics/core-metrics-server-internal" - ], - [ - "@kbn/core-metrics-server-mocks", - "packages/core/metrics/core-metrics-server-mocks" - ], - [ - "@kbn/core-mount-utils-browser", - "packages/core/mount-utils/core-mount-utils-browser" - ], - [ - "@kbn/core-mount-utils-browser-internal", - "packages/core/mount-utils/core-mount-utils-browser-internal" - ], - [ - "@kbn/core-node-server", - "packages/core/node/core-node-server" - ], - [ - "@kbn/core-node-server-internal", - "packages/core/node/core-node-server-internal" - ], - [ - "@kbn/core-node-server-mocks", - "packages/core/node/core-node-server-mocks" - ], - [ - "@kbn/core-notifications-browser", - "packages/core/notifications/core-notifications-browser" - ], - [ - "@kbn/core-notifications-browser-internal", - "packages/core/notifications/core-notifications-browser-internal" - ], - [ - "@kbn/core-notifications-browser-mocks", - "packages/core/notifications/core-notifications-browser-mocks" - ], - [ - "@kbn/core-overlays-browser", - "packages/core/overlays/core-overlays-browser" - ], - [ - "@kbn/core-overlays-browser-internal", - "packages/core/overlays/core-overlays-browser-internal" - ], - [ - "@kbn/core-overlays-browser-mocks", - "packages/core/overlays/core-overlays-browser-mocks" - ], - [ - "@kbn/core-plugin-a-plugin", - "test/plugin_functional/plugins/core_plugin_a" - ], - [ - "@kbn/core-plugin-appleave-plugin", - "test/plugin_functional/plugins/core_plugin_appleave" - ], - [ - "@kbn/core-plugin-b-plugin", - "test/plugin_functional/plugins/core_plugin_b" - ], - [ - "@kbn/core-plugin-chromeless-plugin", - "test/plugin_functional/plugins/core_plugin_chromeless" - ], - [ - "@kbn/core-plugin-deep-links-plugin", - "test/plugin_functional/plugins/core_plugin_deep_links" - ], - [ - "@kbn/core-plugin-deprecations-plugin", - "test/plugin_functional/plugins/core_plugin_deprecations" - ], - [ - "@kbn/core-plugin-execution-context-plugin", - "test/plugin_functional/plugins/core_plugin_execution_context" - ], - [ - "@kbn/core-plugin-helpmenu-plugin", - "test/plugin_functional/plugins/core_plugin_helpmenu" - ], - [ - "@kbn/core-plugin-initializer-context-plugin", - "test/node_roles_functional/plugins/core_plugin_initializer_context" - ], - [ - "@kbn/core-plugin-route-timeouts-plugin", - "test/plugin_functional/plugins/core_plugin_route_timeouts" - ], - [ - "@kbn/core-plugin-static-assets-plugin", - "test/plugin_functional/plugins/core_plugin_static_assets" - ], - [ - "@kbn/core-plugins-base-server-internal", - "packages/core/plugins/core-plugins-base-server-internal" - ], - [ - "@kbn/core-plugins-browser", - "packages/core/plugins/core-plugins-browser" - ], - [ - "@kbn/core-plugins-browser-internal", - "packages/core/plugins/core-plugins-browser-internal" - ], - [ - "@kbn/core-plugins-browser-mocks", - "packages/core/plugins/core-plugins-browser-mocks" - ], - [ - "@kbn/core-plugins-server", - "packages/core/plugins/core-plugins-server" - ], - [ - "@kbn/core-plugins-server-internal", - "packages/core/plugins/core-plugins-server-internal" - ], - [ - "@kbn/core-plugins-server-mocks", - "packages/core/plugins/core-plugins-server-mocks" - ], - [ - "@kbn/core-preboot-server", - "packages/core/preboot/core-preboot-server" - ], - [ - "@kbn/core-preboot-server-internal", - "packages/core/preboot/core-preboot-server-internal" - ], - [ - "@kbn/core-preboot-server-mocks", - "packages/core/preboot/core-preboot-server-mocks" - ], - [ - "@kbn/core-provider-plugin", - "test/plugin_functional/plugins/core_provider_plugin" - ], - [ - "@kbn/core-rendering-browser-internal", - "packages/core/rendering/core-rendering-browser-internal" - ], - [ - "@kbn/core-rendering-browser-mocks", - "packages/core/rendering/core-rendering-browser-mocks" - ], - [ - "@kbn/core-rendering-server-internal", - "packages/core/rendering/core-rendering-server-internal" - ], - [ - "@kbn/core-rendering-server-mocks", - "packages/core/rendering/core-rendering-server-mocks" - ], - [ - "@kbn/core-root-browser-internal", - "packages/core/root/core-root-browser-internal" - ], - [ - "@kbn/core-root-server-internal", - "packages/core/root/core-root-server-internal" - ], - [ - "@kbn/core-saved-objects-api-browser", - "packages/core/saved-objects/core-saved-objects-api-browser" - ], - [ - "@kbn/core-saved-objects-api-server", - "packages/core/saved-objects/core-saved-objects-api-server" - ], - [ - "@kbn/core-saved-objects-api-server-internal", - "packages/core/saved-objects/core-saved-objects-api-server-internal" - ], - [ - "@kbn/core-saved-objects-api-server-mocks", - "packages/core/saved-objects/core-saved-objects-api-server-mocks" - ], - [ - "@kbn/core-saved-objects-base-server-internal", - "packages/core/saved-objects/core-saved-objects-base-server-internal" - ], - [ - "@kbn/core-saved-objects-base-server-mocks", - "packages/core/saved-objects/core-saved-objects-base-server-mocks" - ], - [ - "@kbn/core-saved-objects-browser", - "packages/core/saved-objects/core-saved-objects-browser" - ], - [ - "@kbn/core-saved-objects-browser-internal", - "packages/core/saved-objects/core-saved-objects-browser-internal" - ], - [ - "@kbn/core-saved-objects-browser-mocks", - "packages/core/saved-objects/core-saved-objects-browser-mocks" - ], - [ - "@kbn/core-saved-objects-common", - "packages/core/saved-objects/core-saved-objects-common" - ], - [ - "@kbn/core-saved-objects-import-export-server-internal", - "packages/core/saved-objects/core-saved-objects-import-export-server-internal" - ], - [ - "@kbn/core-saved-objects-import-export-server-mocks", - "packages/core/saved-objects/core-saved-objects-import-export-server-mocks" - ], - [ - "@kbn/core-saved-objects-migration-server-internal", - "packages/core/saved-objects/core-saved-objects-migration-server-internal" - ], - [ - "@kbn/core-saved-objects-migration-server-mocks", - "packages/core/saved-objects/core-saved-objects-migration-server-mocks" - ], - [ - "@kbn/core-saved-objects-server", - "packages/core/saved-objects/core-saved-objects-server" - ], - [ - "@kbn/core-saved-objects-server-internal", - "packages/core/saved-objects/core-saved-objects-server-internal" - ], - [ - "@kbn/core-saved-objects-server-mocks", - "packages/core/saved-objects/core-saved-objects-server-mocks" - ], - [ - "@kbn/core-saved-objects-utils-server", - "packages/core/saved-objects/core-saved-objects-utils-server" - ], - [ - "@kbn/core-status-common", - "packages/core/status/core-status-common" - ], - [ - "@kbn/core-status-common-internal", - "packages/core/status/core-status-common-internal" - ], - [ - "@kbn/core-status-server", - "packages/core/status/core-status-server" - ], - [ - "@kbn/core-status-server-internal", - "packages/core/status/core-status-server-internal" - ], - [ - "@kbn/core-status-server-mocks", - "packages/core/status/core-status-server-mocks" - ], - [ - "@kbn/core-test-helpers-deprecations-getters", - "packages/core/test-helpers/core-test-helpers-deprecations-getters" - ], - [ - "@kbn/core-test-helpers-http-setup-browser", - "packages/core/test-helpers/core-test-helpers-http-setup-browser" - ], - [ - "@kbn/core-test-helpers-kbn-server", - "packages/core/test-helpers/core-test-helpers-kbn-server" - ], - [ - "@kbn/core-test-helpers-so-type-serializer", - "packages/core/test-helpers/core-test-helpers-so-type-serializer" - ], - [ - "@kbn/core-test-helpers-test-utils", - "packages/core/test-helpers/core-test-helpers-test-utils" - ], - [ - "@kbn/core-theme-browser", - "packages/core/theme/core-theme-browser" - ], - [ - "@kbn/core-theme-browser-internal", - "packages/core/theme/core-theme-browser-internal" - ], - [ - "@kbn/core-theme-browser-mocks", - "packages/core/theme/core-theme-browser-mocks" - ], - [ - "@kbn/core-ui-settings-browser", - "packages/core/ui-settings/core-ui-settings-browser" - ], - [ - "@kbn/core-ui-settings-browser-internal", - "packages/core/ui-settings/core-ui-settings-browser-internal" - ], - [ - "@kbn/core-ui-settings-browser-mocks", - "packages/core/ui-settings/core-ui-settings-browser-mocks" - ], - [ - "@kbn/core-ui-settings-common", - "packages/core/ui-settings/core-ui-settings-common" - ], - [ - "@kbn/core-ui-settings-server", - "packages/core/ui-settings/core-ui-settings-server" - ], - [ - "@kbn/core-ui-settings-server-internal", - "packages/core/ui-settings/core-ui-settings-server-internal" - ], - [ - "@kbn/core-ui-settings-server-mocks", - "packages/core/ui-settings/core-ui-settings-server-mocks" - ], - [ - "@kbn/core-usage-data-base-server-internal", - "packages/core/usage-data/core-usage-data-base-server-internal" - ], - [ - "@kbn/core-usage-data-server", - "packages/core/usage-data/core-usage-data-server" - ], - [ - "@kbn/core-usage-data-server-internal", - "packages/core/usage-data/core-usage-data-server-internal" - ], - [ - "@kbn/core-usage-data-server-mocks", - "packages/core/usage-data/core-usage-data-server-mocks" - ], - [ - "@kbn/core-version-http-server", - "packages/core/versioning/core-version-http-server" - ], - [ - "@kbn/cross-cluster-replication-plugin", - "x-pack/plugins/cross_cluster_replication" - ], - [ - "@kbn/crypto", - "packages/kbn-crypto" - ], - [ - "@kbn/crypto-browser", - "packages/kbn-crypto-browser" - ], - [ - "@kbn/custom-branding-plugin", - "x-pack/plugins/custom_branding" - ], - [ - "@kbn/custom-integrations-plugin", - "src/plugins/custom_integrations" - ], - [ - "@kbn/cypress-config", - "packages/kbn-cypress-config" - ], - [ - "@kbn/dashboard-enhanced-plugin", - "x-pack/plugins/dashboard_enhanced" - ], - [ - "@kbn/dashboard-plugin", - "src/plugins/dashboard" - ], - [ - "@kbn/data-plugin", - "src/plugins/data" - ], - [ - "@kbn/data-search-plugin", - "test/plugin_functional/plugins/data_search" - ], - [ - "@kbn/data-view-editor-plugin", - "src/plugins/data_view_editor" - ], - [ - "@kbn/data-view-field-editor-example-plugin", - "examples/data_view_field_editor_example" - ], - [ - "@kbn/data-view-field-editor-plugin", - "src/plugins/data_view_field_editor" - ], - [ - "@kbn/data-view-management-plugin", - "src/plugins/data_view_management" - ], - [ - "@kbn/data-views-plugin", - "src/plugins/data_views" - ], - [ - "@kbn/data-visualizer-plugin", - "x-pack/plugins/data_visualizer" - ], - [ - "@kbn/datemath", - "packages/kbn-datemath" - ], - [ - "@kbn/dev-cli-errors", - "packages/kbn-dev-cli-errors" - ], - [ - "@kbn/dev-cli-runner", - "packages/kbn-dev-cli-runner" - ], - [ - "@kbn/dev-proc-runner", - "packages/kbn-dev-proc-runner" - ], - [ - "@kbn/dev-tools-plugin", - "src/plugins/dev_tools" - ], - [ - "@kbn/dev-utils", - "packages/kbn-dev-utils" - ], - [ - "@kbn/developer-examples-plugin", - "examples/developer_examples" - ], - [ - "@kbn/discover-enhanced-plugin", - "x-pack/plugins/discover_enhanced" - ], - [ - "@kbn/discover-plugin", - "src/plugins/discover" - ], - [ - "@kbn/doc-links", - "packages/kbn-doc-links" - ], - [ - "@kbn/docs-utils", - "packages/kbn-docs-utils" - ], - [ - "@kbn/ebt-tools", - "packages/kbn-ebt-tools" - ], - [ - "@kbn/ecs", - "packages/kbn-ecs" - ], - [ - "@kbn/ecs-data-quality-dashboard", - "x-pack/packages/kbn-ecs-data-quality-dashboard" - ], - [ - "@kbn/ecs-data-quality-dashboard-plugin", - "x-pack/plugins/ecs_data_quality_dashboard" - ], - [ - "@kbn/elasticsearch-client-plugin", - "test/plugin_functional/plugins/elasticsearch_client_plugin" - ], - [ - "@kbn/elasticsearch-client-xpack-plugin", - "x-pack/test/plugin_api_integration/plugins/elasticsearch_client" - ], - [ - "@kbn/embeddable-enhanced-plugin", - "x-pack/plugins/embeddable_enhanced" - ], - [ - "@kbn/embeddable-examples-plugin", - "examples/embeddable_examples" - ], - [ - "@kbn/embeddable-explorer-plugin", - "examples/embeddable_explorer" - ], - [ - "@kbn/embeddable-plugin", - "src/plugins/embeddable" - ], - [ - "@kbn/embedded-lens-example-plugin", - "x-pack/examples/embedded_lens_example" - ], - [ - "@kbn/encrypted-saved-objects-plugin", - "x-pack/plugins/encrypted_saved_objects" - ], - [ - "@kbn/enterprise-search-plugin", - "x-pack/plugins/enterprise_search" - ], - [ - "@kbn/es", - "packages/kbn-es" - ], - [ - "@kbn/es-archiver", - "packages/kbn-es-archiver" - ], - [ - "@kbn/es-errors", - "packages/kbn-es-errors" - ], - [ - "@kbn/es-query", - "packages/kbn-es-query" - ], - [ - "@kbn/es-types", - "packages/kbn-es-types" - ], - [ - "@kbn/es-ui-shared-plugin", - "src/plugins/es_ui_shared" - ], - [ - "@kbn/eslint-config", - "packages/kbn-eslint-config" - ], - [ - "@kbn/eslint-plugin-disable", - "packages/kbn-eslint-plugin-disable" - ], - [ - "@kbn/eslint-plugin-eslint", - "packages/kbn-eslint-plugin-eslint" - ], - [ - "@kbn/eslint-plugin-imports", - "packages/kbn-eslint-plugin-imports" - ], - [ - "@kbn/eso-plugin", - "x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin" - ], - [ - "@kbn/event-annotation-plugin", - "src/plugins/event_annotation" - ], - [ - "@kbn/event-log-fixture-plugin", - "x-pack/test/plugin_api_integration/plugins/event_log" - ], - [ - "@kbn/event-log-plugin", - "x-pack/plugins/event_log" - ], - [ - "@kbn/expandable-flyout", - "packages/kbn-expandable-flyout" - ], - [ - "@kbn/expect", - "packages/kbn-expect" - ], - [ - "@kbn/exploratory-view-example-plugin", - "x-pack/examples/exploratory_view_example" - ], - [ - "@kbn/expression-error-plugin", - "src/plugins/expression_error" - ], - [ - "@kbn/expression-gauge-plugin", - "src/plugins/chart_expressions/expression_gauge" - ], - [ - "@kbn/expression-heatmap-plugin", - "src/plugins/chart_expressions/expression_heatmap" - ], - [ - "@kbn/expression-image-plugin", - "src/plugins/expression_image" - ], - [ - "@kbn/expression-legacy-metric-vis-plugin", - "src/plugins/chart_expressions/expression_legacy_metric" - ], - [ - "@kbn/expression-metric-plugin", - "src/plugins/expression_metric" - ], - [ - "@kbn/expression-metric-vis-plugin", - "src/plugins/chart_expressions/expression_metric" - ], - [ - "@kbn/expression-partition-vis-plugin", - "src/plugins/chart_expressions/expression_partition_vis" - ], - [ - "@kbn/expression-repeat-image-plugin", - "src/plugins/expression_repeat_image" - ], - [ - "@kbn/expression-reveal-image-plugin", - "src/plugins/expression_reveal_image" - ], - [ - "@kbn/expression-shape-plugin", - "src/plugins/expression_shape" - ], - [ - "@kbn/expression-tagcloud-plugin", - "src/plugins/chart_expressions/expression_tagcloud" - ], - [ - "@kbn/expression-xy-plugin", - "src/plugins/chart_expressions/expression_xy" - ], - [ - "@kbn/expressions-explorer-plugin", - "examples/expressions_explorer" - ], - [ - "@kbn/expressions-plugin", - "src/plugins/expressions" - ], - [ - "@kbn/failed-test-reporter-cli", - "packages/kbn-failed-test-reporter-cli" - ], - [ - "@kbn/feature-usage-test-plugin", - "x-pack/test/plugin_api_integration/plugins/feature_usage_test" - ], - [ - "@kbn/features-plugin", - "x-pack/plugins/features" - ], - [ - "@kbn/fec-alerts-test-plugin", - "x-pack/test/functional_execution_context/plugins/alerts" - ], - [ - "@kbn/field-formats-example-plugin", - "examples/field_formats_example" - ], - [ - "@kbn/field-formats-plugin", - "src/plugins/field_formats" - ], - [ - "@kbn/field-types", - "packages/kbn-field-types" - ], - [ - "@kbn/file-upload-plugin", - "x-pack/plugins/file_upload" - ], - [ - "@kbn/files-example-plugin", - "examples/files_example" - ], - [ - "@kbn/files-management-plugin", - "src/plugins/files_management" - ], - [ - "@kbn/files-plugin", - "src/plugins/files" - ], - [ - "@kbn/find-used-node-modules", - "packages/kbn-find-used-node-modules" - ], - [ - "@kbn/fleet-plugin", - "x-pack/plugins/fleet" - ], - [ - "@kbn/flot-charts", - "packages/kbn-flot-charts" - ], - [ - "@kbn/foo-plugin", - "x-pack/test/ui_capabilities/common/plugins/foo_plugin" - ], - [ - "@kbn/ftr-apis-plugin", - "src/plugins/ftr_apis" - ], - [ - "@kbn/ftr-common-functional-services", - "packages/kbn-ftr-common-functional-services" - ], - [ - "@kbn/ftr-screenshot-filename", - "packages/kbn-ftr-screenshot-filename" - ], - [ - "@kbn/functional-with-es-ssl-cases-test-plugin", - "x-pack/test/functional_with_es_ssl/plugins/cases" - ], - [ - "@kbn/generate", - "packages/kbn-generate" - ], - [ - "@kbn/get-repo-files", - "packages/kbn-get-repo-files" - ], - [ - "@kbn/global-search-bar-plugin", - "x-pack/plugins/global_search_bar" - ], - [ - "@kbn/global-search-plugin", - "x-pack/plugins/global_search" - ], - [ - "@kbn/global-search-providers-plugin", - "x-pack/plugins/global_search_providers" - ], - [ - "@kbn/global-search-test-plugin", - "x-pack/test/plugin_functional/plugins/global_search_test" - ], - [ - "@kbn/graph-plugin", - "x-pack/plugins/graph" - ], - [ - "@kbn/grokdebugger-plugin", - "x-pack/plugins/grokdebugger" - ], - [ - "@kbn/guided-onboarding", - "packages/kbn-guided-onboarding" - ], - [ - "@kbn/guided-onboarding-example-plugin", - "examples/guided_onboarding_example" - ], - [ - "@kbn/guided-onboarding-plugin", - "src/plugins/guided_onboarding" - ], - [ - "@kbn/handlebars", - "packages/kbn-handlebars" - ], - [ - "@kbn/hapi-mocks", - "packages/kbn-hapi-mocks" - ], - [ - "@kbn/health-gateway-server", - "packages/kbn-health-gateway-server" - ], - [ - "@kbn/hello-world-plugin", - "examples/hello_world" - ], - [ - "@kbn/home-plugin", - "src/plugins/home" - ], - [ - "@kbn/home-sample-data-card", - "packages/home/sample_data_card" - ], - [ - "@kbn/home-sample-data-tab", - "packages/home/sample_data_tab" - ], - [ - "@kbn/home-sample-data-types", - "packages/home/sample_data_types" - ], - [ - "@kbn/i18n", - "packages/kbn-i18n" - ], - [ - "@kbn/i18n-react", - "packages/kbn-i18n-react" - ], - [ - "@kbn/iframe-embedded-plugin", - "x-pack/test/functional_embedded/plugins/iframe_embedded" - ], - [ - "@kbn/image-embeddable-plugin", - "src/plugins/image_embeddable" - ], - [ - "@kbn/import-locator", - "packages/kbn-import-locator" - ], - [ - "@kbn/import-resolver", - "packages/kbn-import-resolver" - ], - [ - "@kbn/index-lifecycle-management-plugin", - "x-pack/plugins/index_lifecycle_management" - ], - [ - "@kbn/index-management-plugin", - "x-pack/plugins/index_management" - ], - [ - "@kbn/index-patterns-test-plugin", - "test/plugin_functional/plugins/index_patterns" - ], - [ - "@kbn/infra-plugin", - "x-pack/plugins/infra" - ], - [ - "@kbn/ingest-pipelines-plugin", - "x-pack/plugins/ingest_pipelines" - ], - [ - "@kbn/input-control-vis-plugin", - "src/plugins/input_control_vis" - ], - [ - "@kbn/inspector-plugin", - "src/plugins/inspector" - ], - [ - "@kbn/interactive-setup-plugin", - "src/plugins/interactive_setup" - ], - [ - "@kbn/interactive-setup-test-endpoints-plugin", - "test/interactive_setup_api_integration/plugins/test_endpoints" - ], - [ - "@kbn/interpreter", - "packages/kbn-interpreter" - ], - [ - "@kbn/io-ts-utils", - "packages/kbn-io-ts-utils" - ], - [ - "@kbn/jest-serializers", - "packages/kbn-jest-serializers" - ], - [ - "@kbn/journeys", - "packages/kbn-journeys" - ], - [ - "@kbn/json-ast", - "packages/kbn-json-ast" - ], - [ - "@kbn/kbn-health-gateway-status-plugin", - "test/health_gateway/plugins/status" - ], - [ - "@kbn/kbn-sample-panel-action-plugin", - "test/plugin_functional/plugins/kbn_sample_panel_action" - ], - [ - "@kbn/kbn-top-nav-plugin", - "test/plugin_functional/plugins/kbn_top_nav" - ], - [ - "@kbn/kbn-tp-custom-visualizations-plugin", - "test/plugin_functional/plugins/kbn_tp_custom_visualizations" - ], - [ - "@kbn/kbn-tp-run-pipeline-plugin", - "test/interpreter_functional/plugins/kbn_tp_run_pipeline" - ], - [ - "@kbn/kibana-cors-test-plugin", - "x-pack/test/functional_cors/plugins/kibana_cors_test" - ], - [ - "@kbn/kibana-manifest-schema", - "packages/kbn-kibana-manifest-schema" - ], - [ - "@kbn/kibana-overview-plugin", - "src/plugins/kibana_overview" - ], - [ - "@kbn/kibana-react-plugin", - "src/plugins/kibana_react" - ], - [ - "@kbn/kibana-usage-collection-plugin", - "src/plugins/kibana_usage_collection" - ], - [ - "@kbn/kibana-utils-plugin", - "src/plugins/kibana_utils" - ], - [ - "@kbn/kubernetes-security-plugin", - "x-pack/plugins/kubernetes_security" - ], - [ - "@kbn/language-documentation-popover", - "packages/kbn-language-documentation-popover" - ], - [ - "@kbn/lens-plugin", - "x-pack/plugins/lens" - ], - [ - "@kbn/license-api-guard-plugin", - "x-pack/plugins/license_api_guard" - ], - [ - "@kbn/license-management-plugin", - "x-pack/plugins/license_management" - ], - [ - "@kbn/licensing-plugin", - "x-pack/plugins/licensing" - ], - [ - "@kbn/lint-packages-cli", - "packages/kbn-lint-packages-cli" - ], - [ - "@kbn/lint-ts-projects-cli", - "packages/kbn-lint-ts-projects-cli" - ], - [ - "@kbn/lists-plugin", - "x-pack/plugins/lists" - ], - [ - "@kbn/locator-examples-plugin", - "examples/locator_examples" - ], - [ - "@kbn/locator-explorer-plugin", - "examples/locator_explorer" - ], - [ - "@kbn/logging", - "packages/kbn-logging" - ], - [ - "@kbn/logging-mocks", - "packages/kbn-logging-mocks" - ], - [ - "@kbn/logstash-plugin", - "x-pack/plugins/logstash" - ], - [ - "@kbn/managed-vscode-config", - "packages/kbn-managed-vscode-config" - ], - [ - "@kbn/managed-vscode-config-cli", - "packages/kbn-managed-vscode-config-cli" - ], - [ - "@kbn/management-plugin", - "src/plugins/management" - ], - [ - "@kbn/management-test-plugin", - "test/plugin_functional/plugins/management_test_plugin" - ], - [ - "@kbn/mapbox-gl", - "packages/kbn-mapbox-gl" - ], - [ - "@kbn/maps-custom-raster-source-plugin", - "x-pack/examples/third_party_maps_source_example" - ], - [ - "@kbn/maps-ems-plugin", - "src/plugins/maps_ems" - ], - [ - "@kbn/maps-plugin", - "x-pack/plugins/maps" - ], - [ - "@kbn/ml-agg-utils", - "x-pack/packages/ml/agg_utils" - ], - [ - "@kbn/ml-date-picker", - "x-pack/packages/ml/date_picker" - ], - [ - "@kbn/ml-is-defined", - "x-pack/packages/ml/is_defined" - ], - [ - "@kbn/ml-is-populated-object", - "x-pack/packages/ml/is_populated_object" - ], - [ - "@kbn/ml-local-storage", - "x-pack/packages/ml/local_storage" - ], - [ - "@kbn/ml-nested-property", - "x-pack/packages/ml/nested_property" - ], - [ - "@kbn/ml-plugin", - "x-pack/plugins/ml" - ], - [ - "@kbn/ml-query-utils", - "x-pack/packages/ml/query_utils" - ], - [ - "@kbn/ml-string-hash", - "x-pack/packages/ml/string_hash" - ], - [ - "@kbn/ml-url-state", - "x-pack/packages/ml/url_state" - ], - [ - "@kbn/monaco", - "packages/kbn-monaco" - ], - [ - "@kbn/monitoring-collection-plugin", - "x-pack/plugins/monitoring_collection" - ], - [ - "@kbn/monitoring-plugin", - "x-pack/plugins/monitoring" - ], - [ - "@kbn/navigation-plugin", - "src/plugins/navigation" - ], - [ - "@kbn/newsfeed-plugin", - "src/plugins/newsfeed" - ], - [ - "@kbn/newsfeed-test-plugin", - "test/common/plugins/newsfeed" - ], - [ - "@kbn/notifications-plugin", - "x-pack/plugins/notifications" - ], - [ - "@kbn/observability-fixtures-plugin", - "x-pack/test/cases_api_integration/common/plugins/observability" - ], - [ - "@kbn/observability-plugin", - "x-pack/plugins/observability" - ], - [ - "@kbn/oidc-provider-plugin", - "x-pack/test/security_api_integration/plugins/oidc_provider" - ], - [ - "@kbn/open-telemetry-instrumented-plugin", - "test/common/plugins/otel_metrics" - ], - [ - "@kbn/optimizer", - "packages/kbn-optimizer" - ], - [ - "@kbn/optimizer-webpack-helpers", - "packages/kbn-optimizer-webpack-helpers" - ], - [ - "@kbn/osquery-io-ts-types", - "packages/kbn-osquery-io-ts-types" - ], - [ - "@kbn/osquery-plugin", - "x-pack/plugins/osquery" - ], - [ - "@kbn/paertial-results-example-plugin", - "examples/partial_results_example" - ], - [ - "@kbn/painless-lab-plugin", - "x-pack/plugins/painless_lab" - ], - [ - "@kbn/peggy", - "packages/kbn-peggy" - ], - [ - "@kbn/peggy-loader", - "packages/kbn-peggy-loader" - ], - [ - "@kbn/performance-testing-dataset-extractor", - "packages/kbn-performance-testing-dataset-extractor" - ], - [ - "@kbn/picomatcher", - "packages/kbn-picomatcher" - ], - [ - "@kbn/plugin-generator", - "packages/kbn-plugin-generator" - ], - [ - "@kbn/plugin-helpers", - "packages/kbn-plugin-helpers" - ], - [ - "@kbn/portable-dashboards-example", - "examples/portable_dashboards_example" - ], - [ - "@kbn/preboot-example-plugin", - "examples/preboot_example" - ], - [ - "@kbn/presentation-util-plugin", - "src/plugins/presentation_util" - ], - [ - "@kbn/profiling-plugin", - "x-pack/plugins/profiling" - ], - [ - "@kbn/react-field", - "packages/kbn-react-field" - ], - [ - "@kbn/remote-clusters-plugin", - "x-pack/plugins/remote_clusters" - ], - [ - "@kbn/rendering-plugin", - "test/plugin_functional/plugins/rendering_plugin" - ], - [ - "@kbn/repo-file-maps", - "packages/kbn-repo-file-maps" - ], - [ - "@kbn/repo-info", - "packages/kbn-repo-info" - ], - [ - "@kbn/repo-linter", - "packages/kbn-repo-linter" - ], - [ - "@kbn/repo-packages", - "packages/kbn-repo-packages" - ], - [ - "@kbn/repo-path", - "packages/kbn-repo-path" - ], - [ - "@kbn/repo-source-classifier", - "packages/kbn-repo-source-classifier" - ], - [ - "@kbn/repo-source-classifier-cli", - "packages/kbn-repo-source-classifier-cli" - ], - [ - "@kbn/reporting-example-plugin", - "x-pack/examples/reporting_example" - ], - [ - "@kbn/reporting-plugin", - "x-pack/plugins/reporting" - ], - [ - "@kbn/resolver-test-plugin", - "x-pack/test/plugin_functional/plugins/resolver_test" - ], - [ - "@kbn/response-stream-plugin", - "examples/response_stream" - ], - [ - "@kbn/rison", - "packages/kbn-rison" - ], - [ - "@kbn/rollup-plugin", - "x-pack/plugins/rollup" - ], - [ - "@kbn/routing-example-plugin", - "examples/routing_example" - ], - [ - "@kbn/rule-data-utils", - "packages/kbn-rule-data-utils" - ], - [ - "@kbn/rule-registry-plugin", - "x-pack/plugins/rule_registry" - ], - [ - "@kbn/runtime-fields-plugin", - "x-pack/plugins/runtime_fields" - ], - [ - "@kbn/safer-lodash-set", - "packages/kbn-safer-lodash-set" - ], - [ - "@kbn/saml-provider-plugin", - "x-pack/test/security_api_integration/plugins/saml_provider" - ], - [ - "@kbn/sample-task-plugin", - "x-pack/test/plugin_api_integration/plugins/sample_task_plugin" - ], - [ - "@kbn/saved-object-export-transforms-plugin", - "test/plugin_functional/plugins/saved_object_export_transforms" - ], - [ - "@kbn/saved-object-import-warnings-plugin", - "test/plugin_functional/plugins/saved_object_import_warnings" - ], - [ - "@kbn/saved-object-test-plugin", - "x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin" - ], - [ - "@kbn/saved-objects-finder-plugin", - "src/plugins/saved_objects_finder" - ], - [ - "@kbn/saved-objects-hidden-from-http-apis-type-plugin", - "test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type" - ], - [ - "@kbn/saved-objects-hidden-type-plugin", - "test/plugin_functional/plugins/saved_objects_hidden_type" - ], - [ - "@kbn/saved-objects-management-plugin", - "src/plugins/saved_objects_management" - ], - [ - "@kbn/saved-objects-plugin", - "src/plugins/saved_objects" - ], - [ - "@kbn/saved-objects-tagging-oss-plugin", - "src/plugins/saved_objects_tagging_oss" - ], - [ - "@kbn/saved-objects-tagging-plugin", - "x-pack/plugins/saved_objects_tagging" - ], - [ - "@kbn/saved-search-plugin", - "src/plugins/saved_search" - ], - [ - "@kbn/screenshot-mode-example-plugin", - "examples/screenshot_mode_example" - ], - [ - "@kbn/screenshot-mode-plugin", - "src/plugins/screenshot_mode" - ], - [ - "@kbn/screenshotting-example-plugin", - "x-pack/examples/screenshotting_example" - ], - [ - "@kbn/screenshotting-plugin", - "x-pack/plugins/screenshotting" - ], - [ - "@kbn/search-examples-plugin", - "examples/search_examples" - ], - [ - "@kbn/searchprofiler-plugin", - "x-pack/plugins/searchprofiler" - ], - [ - "@kbn/security-api-integration-helpers", - "x-pack/test/security_api_integration/packages/helpers" - ], - [ - "@kbn/security-plugin", - "x-pack/plugins/security" - ], - [ - "@kbn/security-solution-fixtures-plugin", - "x-pack/test/cases_api_integration/common/plugins/security_solution" - ], - [ - "@kbn/security-solution-plugin", - "x-pack/plugins/security_solution" - ], - [ - "@kbn/security-test-endpoints-plugin", - "x-pack/test/security_functional/plugins/test_endpoints" - ], - [ - "@kbn/securitysolution-autocomplete", - "packages/kbn-securitysolution-autocomplete" - ], - [ - "@kbn/securitysolution-ecs", - "packages/kbn-securitysolution-ecs" - ], - [ - "@kbn/securitysolution-es-utils", - "packages/kbn-securitysolution-es-utils" - ], - [ - "@kbn/securitysolution-exception-list-components", - "packages/kbn-securitysolution-exception-list-components" - ], - [ - "@kbn/securitysolution-grouping", - "packages/kbn-securitysolution-grouping" - ], - [ - "@kbn/securitysolution-hook-utils", - "packages/kbn-securitysolution-hook-utils" - ], - [ - "@kbn/securitysolution-io-ts-alerting-types", - "packages/kbn-securitysolution-io-ts-alerting-types" - ], - [ - "@kbn/securitysolution-io-ts-list-types", - "packages/kbn-securitysolution-io-ts-list-types" - ], - [ - "@kbn/securitysolution-io-ts-types", - "packages/kbn-securitysolution-io-ts-types" - ], - [ - "@kbn/securitysolution-io-ts-utils", - "packages/kbn-securitysolution-io-ts-utils" - ], - [ - "@kbn/securitysolution-list-api", - "packages/kbn-securitysolution-list-api" - ], - [ - "@kbn/securitysolution-list-constants", - "packages/kbn-securitysolution-list-constants" - ], - [ - "@kbn/securitysolution-list-hooks", - "packages/kbn-securitysolution-list-hooks" - ], - [ - "@kbn/securitysolution-list-utils", - "packages/kbn-securitysolution-list-utils" - ], - [ - "@kbn/securitysolution-rules", - "packages/kbn-securitysolution-rules" - ], - [ - "@kbn/securitysolution-t-grid", - "packages/kbn-securitysolution-t-grid" - ], - [ - "@kbn/securitysolution-utils", - "packages/kbn-securitysolution-utils" - ], - [ - "@kbn/server-http-tools", - "packages/kbn-server-http-tools" - ], - [ - "@kbn/server-route-repository", - "packages/kbn-server-route-repository" - ], - [ - "@kbn/session-notifications-plugin", - "test/plugin_functional/plugins/session_notifications" - ], - [ - "@kbn/session-view-plugin", - "x-pack/plugins/session_view" - ], - [ - "@kbn/set-map", - "packages/kbn-set-map" - ], - [ - "@kbn/share-examples-plugin", - "examples/share_examples" - ], - [ - "@kbn/share-plugin", - "src/plugins/share" - ], - [ - "@kbn/shared-svg", - "packages/kbn-shared-svg" - ], - [ - "@kbn/shared-ux-avatar-solution", - "packages/shared-ux/avatar/solution" - ], - [ - "@kbn/shared-ux-avatar-user-profile-components", - "packages/shared-ux/avatar/user_profile/impl" - ], - [ - "@kbn/shared-ux-button-exit-full-screen", - "packages/shared-ux/button/exit_full_screen/impl" - ], - [ - "@kbn/shared-ux-button-exit-full-screen-mocks", - "packages/shared-ux/button/exit_full_screen/mocks" - ], - [ - "@kbn/shared-ux-button-exit-full-screen-types", - "packages/shared-ux/button/exit_full_screen/types" - ], - [ - "@kbn/shared-ux-button-toolbar", - "packages/shared-ux/button_toolbar" - ], - [ - "@kbn/shared-ux-card-no-data", - "packages/shared-ux/card/no_data/impl" - ], - [ - "@kbn/shared-ux-card-no-data-mocks", - "packages/shared-ux/card/no_data/mocks" - ], - [ - "@kbn/shared-ux-card-no-data-types", - "packages/shared-ux/card/no_data/types" - ], - [ - "@kbn/shared-ux-file-context", - "packages/shared-ux/file/context" - ], - [ - "@kbn/shared-ux-file-image", - "packages/shared-ux/file/image/impl" - ], - [ - "@kbn/shared-ux-file-image-mocks", - "packages/shared-ux/file/image/mocks" - ], - [ - "@kbn/shared-ux-file-mocks", - "packages/shared-ux/file/mocks" - ], - [ - "@kbn/shared-ux-file-picker", - "packages/shared-ux/file/file_picker/impl" - ], - [ - "@kbn/shared-ux-file-types", - "packages/shared-ux/file/types" - ], - [ - "@kbn/shared-ux-file-upload", - "packages/shared-ux/file/file_upload/impl" - ], - [ - "@kbn/shared-ux-file-util", - "packages/shared-ux/file/util" - ], - [ - "@kbn/shared-ux-link-redirect-app", - "packages/shared-ux/link/redirect_app/impl" - ], - [ - "@kbn/shared-ux-link-redirect-app-mocks", - "packages/shared-ux/link/redirect_app/mocks" - ], - [ - "@kbn/shared-ux-link-redirect-app-types", - "packages/shared-ux/link/redirect_app/types" - ], - [ - "@kbn/shared-ux-markdown", - "packages/shared-ux/markdown/impl" - ], - [ - "@kbn/shared-ux-markdown-mocks", - "packages/shared-ux/markdown/mocks" - ], - [ - "@kbn/shared-ux-markdown-types", - "packages/shared-ux/markdown/types" - ], - [ - "@kbn/shared-ux-page-analytics-no-data", - "packages/shared-ux/page/analytics_no_data/impl" - ], - [ - "@kbn/shared-ux-page-analytics-no-data-mocks", - "packages/shared-ux/page/analytics_no_data/mocks" - ], - [ - "@kbn/shared-ux-page-analytics-no-data-types", - "packages/shared-ux/page/analytics_no_data/types" - ], - [ - "@kbn/shared-ux-page-kibana-no-data", - "packages/shared-ux/page/kibana_no_data/impl" - ], - [ - "@kbn/shared-ux-page-kibana-no-data-mocks", - "packages/shared-ux/page/kibana_no_data/mocks" - ], - [ - "@kbn/shared-ux-page-kibana-no-data-types", - "packages/shared-ux/page/kibana_no_data/types" - ], - [ - "@kbn/shared-ux-page-kibana-template", - "packages/shared-ux/page/kibana_template/impl" - ], - [ - "@kbn/shared-ux-page-kibana-template-mocks", - "packages/shared-ux/page/kibana_template/mocks" - ], - [ - "@kbn/shared-ux-page-kibana-template-types", - "packages/shared-ux/page/kibana_template/types" - ], - [ - "@kbn/shared-ux-page-no-data", - "packages/shared-ux/page/no_data/impl" - ], - [ - "@kbn/shared-ux-page-no-data-config", - "packages/shared-ux/page/no_data_config/impl" - ], - [ - "@kbn/shared-ux-page-no-data-config-mocks", - "packages/shared-ux/page/no_data_config/mocks" - ], - [ - "@kbn/shared-ux-page-no-data-config-types", - "packages/shared-ux/page/no_data_config/types" - ], - [ - "@kbn/shared-ux-page-no-data-mocks", - "packages/shared-ux/page/no_data/mocks" - ], - [ - "@kbn/shared-ux-page-no-data-types", - "packages/shared-ux/page/no_data/types" - ], - [ - "@kbn/shared-ux-page-solution-nav", - "packages/shared-ux/page/solution_nav" - ], - [ - "@kbn/shared-ux-prompt-no-data-views", - "packages/shared-ux/prompt/no_data_views/impl" - ], - [ - "@kbn/shared-ux-prompt-no-data-views-mocks", - "packages/shared-ux/prompt/no_data_views/mocks" - ], - [ - "@kbn/shared-ux-prompt-no-data-views-types", - "packages/shared-ux/prompt/no_data_views/types" - ], - [ - "@kbn/shared-ux-prompt-not-found", - "packages/shared-ux/prompt/not_found" - ], - [ - "@kbn/shared-ux-router", - "packages/shared-ux/router/impl" - ], - [ - "@kbn/shared-ux-router-mocks", - "packages/shared-ux/router/mocks" - ], - [ - "@kbn/shared-ux-router-types", - "packages/shared-ux/router/types" - ], - [ - "@kbn/shared-ux-storybook-config", - "packages/shared-ux/storybook/config" - ], - [ - "@kbn/shared-ux-storybook-mock", - "packages/shared-ux/storybook/mock" - ], - [ - "@kbn/shared-ux-utility", - "packages/kbn-shared-ux-utility" - ], - [ - "@kbn/slo-schema", - "packages/kbn-slo-schema" - ], - [ - "@kbn/snapshot-restore-plugin", - "x-pack/plugins/snapshot_restore" - ], - [ - "@kbn/some-dev-log", - "packages/kbn-some-dev-log" - ], - [ - "@kbn/sort-package-json", - "packages/kbn-sort-package-json" - ], - [ - "@kbn/spaces-plugin", - "x-pack/plugins/spaces" - ], - [ - "@kbn/spaces-test-plugin", - "x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin" - ], - [ - "@kbn/spec-to-console", - "packages/kbn-spec-to-console" - ], - [ - "@kbn/stack-alerts-plugin", - "x-pack/plugins/stack_alerts" - ], - [ - "@kbn/stack-connectors-plugin", - "x-pack/plugins/stack_connectors" - ], - [ - "@kbn/stack-management-usage-test-plugin", - "x-pack/test/usage_collection/plugins/stack_management_usage_test" - ], - [ - "@kbn/state-containers-examples-plugin", - "examples/state_containers_examples" - ], - [ - "@kbn/status-plugin-a-plugin", - "test/server_integration/plugins/status_plugin_a" - ], - [ - "@kbn/status-plugin-b-plugin", - "test/server_integration/plugins/status_plugin_b" - ], - [ - "@kbn/std", - "packages/kbn-std" - ], - [ - "@kbn/stdio-dev-helpers", - "packages/kbn-stdio-dev-helpers" - ], - [ - "@kbn/storybook", - "packages/kbn-storybook" - ], - [ - "@kbn/synthetics-plugin", - "x-pack/plugins/synthetics" - ], - [ - "@kbn/task-manager-fixture-plugin", - "x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture" - ], - [ - "@kbn/task-manager-performance-plugin", - "x-pack/test/plugin_api_perf/plugins/task_manager_performance" - ], - [ - "@kbn/task-manager-plugin", - "x-pack/plugins/task_manager" - ], - [ - "@kbn/telemetry-collection-manager-plugin", - "src/plugins/telemetry_collection_manager" - ], - [ - "@kbn/telemetry-collection-xpack-plugin", - "x-pack/plugins/telemetry_collection_xpack" - ], - [ - "@kbn/telemetry-management-section-plugin", - "src/plugins/telemetry_management_section" - ], - [ - "@kbn/telemetry-plugin", - "src/plugins/telemetry" - ], - [ - "@kbn/telemetry-test-plugin", - "test/plugin_functional/plugins/telemetry" - ], - [ - "@kbn/telemetry-tools", - "packages/kbn-telemetry-tools" - ], - [ - "@kbn/test", - "packages/kbn-test" - ], - [ - "@kbn/test-feature-usage-plugin", - "x-pack/test/licensing_plugin/plugins/test_feature_usage" - ], - [ - "@kbn/test-jest-helpers", - "packages/kbn-test-jest-helpers" - ], - [ - "@kbn/test-subj-selector", - "packages/kbn-test-subj-selector" - ], - [ - "@kbn/testing-embedded-lens-plugin", - "x-pack/examples/testing_embedded_lens" - ], - [ - "@kbn/third-party-lens-navigation-prompt-plugin", - "x-pack/examples/third_party_lens_navigation_prompt" - ], - [ - "@kbn/third-party-vis-lens-example-plugin", - "x-pack/examples/third_party_vis_lens_example" - ], - [ - "@kbn/threat-intelligence-plugin", - "x-pack/plugins/threat_intelligence" - ], - [ - "@kbn/timelines-plugin", - "x-pack/plugins/timelines" - ], - [ - "@kbn/timelion-grammar", - "packages/kbn-timelion-grammar" - ], - [ - "@kbn/tinymath", - "packages/kbn-tinymath" - ], - [ - "@kbn/tooling-log", - "packages/kbn-tooling-log" - ], - [ - "@kbn/transform-plugin", - "x-pack/plugins/transform" - ], - [ - "@kbn/translations-plugin", - "x-pack/plugins/translations" - ], - [ - "@kbn/triggers-actions-ui-example-plugin", - "x-pack/examples/triggers_actions_ui_example" - ], - [ - "@kbn/triggers-actions-ui-plugin", - "x-pack/plugins/triggers_actions_ui" - ], - [ - "@kbn/ts-projects", - "packages/kbn-ts-projects" - ], - [ - "@kbn/ts-type-check-cli", - "packages/kbn-ts-type-check-cli" - ], - [ - "@kbn/typed-react-router-config", - "packages/kbn-typed-react-router-config" - ], - [ - "@kbn/ui-actions-browser", - "packages/kbn-ui-actions-browser" - ], - [ - "@kbn/ui-actions-enhanced-examples-plugin", - "x-pack/examples/ui_actions_enhanced_examples" - ], - [ - "@kbn/ui-actions-enhanced-plugin", - "src/plugins/ui_actions_enhanced" - ], - [ - "@kbn/ui-actions-examples-plugin", - "examples/ui_action_examples" - ], - [ - "@kbn/ui-actions-explorer-plugin", - "examples/ui_actions_explorer" - ], - [ - "@kbn/ui-actions-plugin", - "src/plugins/ui_actions" - ], - [ - "@kbn/ui-framework", - "packages/kbn-ui-framework" - ], - [ - "@kbn/ui-settings-plugin", - "test/plugin_functional/plugins/ui_settings_plugin" - ], - [ - "@kbn/ui-shared-deps-npm", - "packages/kbn-ui-shared-deps-npm" - ], - [ - "@kbn/ui-shared-deps-src", - "packages/kbn-ui-shared-deps-src" - ], - [ - "@kbn/ui-theme", - "packages/kbn-ui-theme" - ], - [ - "@kbn/unified-field-list-plugin", - "src/plugins/unified_field_list" - ], - [ - "@kbn/unified-histogram-plugin", - "src/plugins/unified_histogram" - ], - [ - "@kbn/unified-search-plugin", - "src/plugins/unified_search" - ], - [ - "@kbn/upgrade-assistant-plugin", - "x-pack/plugins/upgrade_assistant" - ], - [ - "@kbn/url-drilldown-plugin", - "x-pack/plugins/drilldowns/url_drilldown" - ], - [ - "@kbn/url-forwarding-plugin", - "src/plugins/url_forwarding" - ], - [ - "@kbn/usage-collection-plugin", - "src/plugins/usage_collection" - ], - [ - "@kbn/usage-collection-test-plugin", - "test/plugin_functional/plugins/usage_collection" - ], - [ - "@kbn/user-profile-components", - "packages/kbn-user-profile-components" - ], - [ - "@kbn/user-profile-examples-plugin", - "examples/user_profile_examples" - ], - [ - "@kbn/user-profiles-consumer-plugin", - "x-pack/test/security_api_integration/plugins/user_profiles_consumer" - ], - [ - "@kbn/utility-types", - "packages/kbn-utility-types" - ], - [ - "@kbn/utility-types-jest", - "packages/kbn-utility-types-jest" - ], - [ - "@kbn/utils", - "packages/kbn-utils" - ], - [ - "@kbn/ux-plugin", - "x-pack/plugins/ux" - ], - [ - "@kbn/validate-next-docs-cli", - "packages/kbn-validate-next-docs-cli" - ], - [ - "@kbn/vis-default-editor-plugin", - "src/plugins/vis_default_editor" - ], - [ - "@kbn/vis-type-gauge-plugin", - "src/plugins/vis_types/gauge" - ], - [ - "@kbn/vis-type-heatmap-plugin", - "src/plugins/vis_types/heatmap" - ], - [ - "@kbn/vis-type-markdown-plugin", - "src/plugins/vis_type_markdown" - ], - [ - "@kbn/vis-type-metric-plugin", - "src/plugins/vis_types/metric" - ], - [ - "@kbn/vis-type-pie-plugin", - "src/plugins/vis_types/pie" - ], - [ - "@kbn/vis-type-table-plugin", - "src/plugins/vis_types/table" - ], - [ - "@kbn/vis-type-tagcloud-plugin", - "src/plugins/vis_types/tagcloud" - ], - [ - "@kbn/vis-type-timelion-plugin", - "src/plugins/vis_types/timelion" - ], - [ - "@kbn/vis-type-timeseries-plugin", - "src/plugins/vis_types/timeseries" - ], - [ - "@kbn/vis-type-vega-plugin", - "src/plugins/vis_types/vega" - ], - [ - "@kbn/vis-type-vislib-plugin", - "src/plugins/vis_types/vislib" - ], - [ - "@kbn/vis-type-xy-plugin", - "src/plugins/vis_types/xy" - ], - [ - "@kbn/visualizations-plugin", - "src/plugins/visualizations" - ], - [ - "@kbn/watcher-plugin", - "x-pack/plugins/watcher" - ], - [ - "@kbn/web-worker-stub", - "packages/kbn-web-worker-stub" - ], - [ - "@kbn/whereis-pkg-cli", - "packages/kbn-whereis-pkg-cli" - ], - [ - "@kbn/yarn-lock-validator", - "packages/kbn-yarn-lock-validator" - ] -] \ No newline at end of file